emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Bastien <bzg@gnu.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: C-c C-c to close the buffer in *Org Src ...* buffers
Date: Fri, 31 Jan 2020 11:14:25 +0000	[thread overview]
Message-ID: <87lfpnnai7.fsf@ucl.ac.uk> (raw)
In-Reply-To: <87mua399b8.fsf@gnu.org> (Bastien's message of "Fri, 31 Jan 2020 12:03:55 +0100")

On Friday, 31 Jan 2020 at 12:03, Bastien wrote:
> Hi all,
>
> I'd like to make <C-c C-c> an equivalent to <C-c '> in Org Src buffers
> so that hitting <C-c C-c> will close the buffer, which seems natural.

It does seem natural and generally support this idea.

However, it could potentially cause me a minor annoyance: I often (in
manuals and other forms of dissemination) use org src blocks (i.e. src
blocks with org code) and I would expect C-c C-c to do whatever it would
normally do in an org file (e.g. add tag) while editing that
block.  Would the normal C-c C-c behaviour take precedence?

If not, this is a very minor issue so I'm sure I would adjust!

-- 
Eric S Fraga via Emacs 28.0.50, Org release_9.3.1-94-g0ac6a9

  reply	other threads:[~2020-01-31 11:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 11:03 C-c C-c to close the buffer in *Org Src ...* buffers Bastien
2020-01-31 11:14 ` Fraga, Eric [this message]
2020-02-01  9:31   ` Marcin Borkowski
2020-01-31 11:20 ` Neil Jerram
2020-01-31 15:00 ` William Denton
2020-01-31 18:04 ` Berry, Charles via General discussions about Org-mode.
2020-01-31 20:01   ` Matthew Lundin
2020-02-01  8:48   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfpnnai7.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).