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: Thu, 12 Jan 2012 11:14:07 +0100 Message-ID: <87vcohgrdc.fsf@med.uni-goettingen.de> References: <87pqeqb76j.fsf@ucl.ac.uk> <878vlem00k.fsf@med.uni-goettingen.de> <87zkdtuwc3.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:46819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHfv-00008v-Mx for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 05:14:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlHft-0000tU-0J for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 05:14:27 -0500 Received: from lo.gmane.org ([80.91.229.12]:40825) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHfs-0000tH-Nx for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 05:14:24 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RlHfr-0003tQ-HK for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 11:14:23 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2012 11:14:23 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 12 Jan 2012 11:14:23 +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: > >>> Eric S Fraga writes: >>>> >>>> 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. >> >> 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). > > One difference, however, could be the window configurations we > use. Specifically, I have > > (setq org-src-window-setup (quote current-window)) > > 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? Thanks for this Eric! I can confirm, that the problem does not occur with this setting here, too (emacs 24.0.92 as well).