From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Save-buffer within a code block Date: Wed, 19 Sep 2012 12:56:10 +0200 Message-ID: <87vcfacmd1.fsf@bzg.ath.cx> References: <5048B3C9.9060204@hafro.is> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEHxc-0008F4-Vb for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEHwx-0007rb-Sh for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:56:52 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:64107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEHwx-0007rO-Ia for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 06:56:11 -0400 Received: by wibhn17 with SMTP id hn17so787754wib.12 for ; Wed, 19 Sep 2012 03:56:10 -0700 (PDT) In-Reply-To: <5048B3C9.9060204@hafro.is> (Julian Burgos's message of "Thu, 06 Sep 2012 14:31:37 +0000") 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: Julian Burgos Cc: Org Mode Hi Julian, Julian Burgos writes: > I noticed that now, when editing code in ESS mode (after switching from > org-mode using C-') I cannot use save-buffer to save any changes into my > org mode file. Instead, when doing save-buffer I get prompted for a new > file name and the only the code block gets saved. If I want to save > everything (changes into the entire org mode file), I need to switch from > ESS to org mode, and then do save-buffer. > > Is this a bug or a new feature? This is not a new feature :) I assume you don't have this problem when editing code in other modes. Did you update ess in the meantime? This looks like something that has been added to the save-buffer function from ess-mode -- unless Eric can find the problem in Org. Best, -- Bastien