"Berry, Charles" via "General discussions about Org-mode." 
<emacs-orgmode@gnu.org> writes:

>> On Jan 31, 2020, at 3:03 AM, Bastien <b...@gnu.org> 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.
>> 
>> WDYT?
>
> Many modes used in org src buffers have C-c C-c in their maps. python,
> latex, c++, shell, R, ...
>
> I often use C-c C-c in R src edit buffers to eval functions and code
> blocks, so this will be an inconvenience for me (and I suspect for
> others).

Agreed. C-c C-c in python-mode is bound to python-shell-send-buffer,
which evaluates the buffer in a running instance of python. I think
<C-c '> has fewer conflicts with existing bindings. 

Matt



Reply via email to