From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Org-edit-special and C-x C-s strange behavior Date: Thu, 12 Jan 2012 09:03:08 +0000 Message-ID: <87zkdtuwc3.fsf@ucl.ac.uk> References: <87pqeqb76j.fsf@ucl.ac.uk> <878vlem00k.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGZ8-0000VU-Ie for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 04:03:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlGZ2-0006Dd-2e for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 04:03:22 -0500 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:54393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGZ1-0006DT-TQ for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 04:03:16 -0500 In-Reply-To: (Leo Alekseyev's message of "Wed, 11 Jan 2012 19:40:42 -0600") 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: Leo Alekseyev Cc: emacs-orgmode@gnu.org Leo Alekseyev writes: >> Eric S Fraga writes: >>> >>> What version of org are you using? =C2=A0I ask because I used to experi= ence > >>> 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. > > It appears that this bug is Emacs-version dependent: it functions as > you describe with 23.2, but the buffer gets buried (with an error > message "basic-save-buffer: Wrong type argument: stringp, nil") in > 24.0.92. Org mode is the current git HEAD. I tried to step through > basic-save-buffer in edebug, but I couldn't catch the error (I'm not > very experienced with edebug). Can someone test this on Emacs 24 and > confirm what I'm seeing? I am using 24.0.92 and I have no problems at all (just tried right now).=20=20 One difference, however, could be the window configurations we use. Specifically, I have (setq org-src-window-setup (quote current-window)) =20=20=20=20=20=20 in my configuration: the special editing window replaces the current window entirely. When I hit C-x C-s, the buffer is saved but nothing changes (nothing is buried, etc.). Maybe you have the default configuration which is to reorganize-frame and maybe that is where the problem is? --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.92.1 : using Org-mode version 7.8.03 (release_7.8.03.106.gc835)