emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: "Fraga, Eric" <e.fraga@ucl.ac.uk>
Cc: Bastien <bzg@gnu.org>, "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: C-c C-c to close the buffer in *Org Src ...* buffers
Date: Sat, 01 Feb 2020 10:31:37 +0100	[thread overview]
Message-ID: <871rrezm9y.fsf@mbork.pl> (raw)
In-Reply-To: <87lfpnnai7.fsf@ucl.ac.uk>


On 2020-01-31, at 12:14, Fraga, Eric <e.fraga@ucl.ac.uk> wrote:

> 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!

A similar issue was the reason I stopped using C-c C-c to add tags in
favor of C-c C-q: I wanted to add tags while capturing notes.

What I'm saying is that maybe C-c C-c tries to be too clever, and it may
be better not to rely on it too much.

Just my 2 cents,

-- 
Marcin Borkowski
http://mbork.pl

  reply	other threads:[~2020-02-01  9:31 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
2020-02-01  9:31   ` Marcin Borkowski [this message]
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=871rrezm9y.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=bzg@gnu.org \
    --cc=e.fraga@ucl.ac.uk \
    --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).