[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-c C-c to close the buffer in *Org Src ...* buffers
From: |
Marcin Borkowski |
Subject: |
Re: C-c C-c to close the buffer in *Org Src ...* buffers |
Date: |
Sat, 01 Feb 2020 10:31:37 +0100 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
On 2020-01-31, at 12:14, Fraga, Eric <address@hidden> 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