From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <871rrezm9y.fsf@mbork.pl> References: <87mua399b8.fsf@gnu.org> <87lfpnnai7.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixp86-0001wq-M0 for emacs-orgmode@gnu.org; Sat, 01 Feb 2020 04:31:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixp84-0003z2-KJ for emacs-orgmode@gnu.org; Sat, 01 Feb 2020 04:31:53 -0500 In-reply-to: <87lfpnnai7.fsf@ucl.ac.uk> 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: "Fraga, Eric" Cc: Bastien , "emacs-orgmode@gnu.org" On 2020-01-31, at 12:14, Fraga, Eric wrote: > On Friday, 31 Jan 2020 at 12:03, 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. > > 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