From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: Re: Org-edit-special and C-x C-s strange behavior Date: Wed, 11 Jan 2012 21:56:11 +0100 Message-ID: <878vlem00k.fsf@med.uni-goettingen.de> References: <87pqeqb76j.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl5Dr-0002wp-8w for emacs-orgmode@gnu.org; Wed, 11 Jan 2012 15:56:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl5Dp-000522-S2 for emacs-orgmode@gnu.org; Wed, 11 Jan 2012 15:56:39 -0500 Received: from lo.gmane.org ([80.91.229.12]:53144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl5Dp-00051r-JP for emacs-orgmode@gnu.org; Wed, 11 Jan 2012 15:56:37 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rl5Dl-00043F-J9 for emacs-orgmode@gnu.org; Wed, 11 Jan 2012 21:56:33 +0100 Received: from vpn-2187.gwdg.de ([134.76.2.187]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 21:56:33 +0100 Received: from andreas.leha by vpn-2187.gwdg.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 21:56:33 +0100 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.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric S Fraga writes: > Leo Alekseyev writes: > >> I often edit my org-babel code blocks via org-edit-special (C-'), in >> part because I find the tabbing behavior within the code blocks to be >> somewhat flaky. Inevitably, when editing the code block I will press >> C-x C-s (muscle memory). This causes all sorts of annoying >> consequences: the buffer with the code block gets buried, window > > [...] > > What version of org are you using? I ask because I used to experience > the annoyance you describe a while back; more recently (since at least a > few months ago), hitting C-x C-s no longer has any negative impact: it > saves the file, or at least appears to. > > You still have to C-c ' to get back to the full buffer, mind you, but > that's better, IMO, than changing the behaviour of such a fundamental > key binding as C-x C-s. I am not sure, I understand this. I do also experience the same behaviour as the OP since some time (weeks, I guess). Hitting C-x C-s in the org-edit-special buffer still saves the org file, but the org-edit-special buffer gets buried. Cheers, Andreas