From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Re: Org-edit-special and C-x C-s strange behavior Date: Thu, 12 Jan 2012 07:55:00 -0600 Message-ID: References: <87pqeqb76j.fsf@ucl.ac.uk> <878vlem00k.fsf@med.uni-goettingen.de> <87zkdtuwc3.fsf@ucl.ac.uk> <87vcohgrdc.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlL7V-0004iv-4M for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:55:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlL7N-00051f-VN for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:55:09 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:38598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlL7N-00051F-LO for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 08:55:01 -0500 Received: by pbcc4 with SMTP id c4so398290pbc.0 for ; Thu, 12 Jan 2012 05:55:00 -0800 (PST) In-Reply-To: <87vcohgrdc.fsf@med.uni-goettingen.de> 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 On Thu, Jan 12, 2012 at 4:14 AM, Andreas Leha wrote: > Eric S Fraga writes: > >> Leo Alekseyev writes: >> >>>> Eric S Fraga writes: >>>>> >>>>> What version of org are you using? =A0I ask because I used to experie= nce >>> >>>>> the annoyance you describe a while back; more recently (since at leas= t a >>>>> few months ago), hitting C-x C-s no longer has any negative impact: i= t >>>>> 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. =A0Org mode is the current git HEAD. =A0I tried to step throug= h >>> basic-save-buffer in edebug, but I couldn't catch the error (I'm not >>> very experienced with edebug). =A0Can 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). >> >> One difference, however, could be the window configurations we >> use. =A0Specifically, I have >> >> =A0 =A0 =A0 (setq org-src-window-setup (quote current-window)) Yes, this works. It's also a more sensible default. However, it doesn't change the fact that there's a bug, it just switches to a case where the bug isn't triggered :)