From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: C-c C-c to close the buffer in *Org Src ...* buffers Date: Fri, 31 Jan 2020 14:01:40 -0600 Message-ID: <87k1579yzf.fsf@fastmail.fm> References: <87mua399b8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38321) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixcUA-0000IW-HZ for emacs-orgmode@gnu.org; Fri, 31 Jan 2020 15:01:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixcU9-0006rf-Hb for emacs-orgmode@gnu.org; Fri, 31 Jan 2020 15:01:50 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: "Berry, Charles" , Bastien Cc: "emacs-orgmode@gnu.org" "Berry, Charles" via "General discussions about Org-mode." writes: >> On Jan 31, 2020, at 3:03 AM, Bastien wrote: >> >> Hi all, >> >> I'd like to make an equivalent to in Org Src >> buffers so that hitting 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 has fewer conflicts with existing bindings. Matt