From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Saving within a source code block... a bug? Date: Mon, 22 Apr 2013 10:55:35 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJ5f-0004hX-0F for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 11:55:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUJ5d-0004gL-IC for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 11:55:38 -0400 Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:38733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUJ5d-0004gB-9X for emacs-orgmode@gnu.org; Mon, 22 Apr 2013 11:55:37 -0400 Received: by mail-la0-f44.google.com with SMTP id ed20so2600761lab.3 for ; Mon, 22 Apr 2013 08:55:36 -0700 (PDT) In-Reply-To: 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 M. Burgos" Cc: emacs-orgmode On Mon, Apr 22, 2013 at 10:39 AM, Julian M. Burgos wrote: > > Hello fellow "org-moders": > > I just switch to org-mode 8.0.1 and noticed a regression to a > missbehaviour (a bug?) that happened at some point in a previous version = and > was later fixed. This is the issue: I am working in an org-mode file > with R code blocks, and I do C-c' to edit one of them. I do some > changes, and press C-s to save the changes. At this point, I get a > request to choose a file to save the changes into (this should not > happen, the changes should just be saved into my org file). Then I > choose a file name, press RET, and the filename is not created, but > instead the changes are saved into my org mode file. Then, if I do more > changes and do C-s save again, now org-mode behaves the way it should: I > do not get asked for a filename and the changes are saved in my org mode > file. Do you have any special settings regarding key bindings? I've not used this, but tried to reproduce with a simple example in a file I was already working on. Here was my block: #+begin_src R :session r :results output :exports results a <- 1 + 2 a #+end_src - Edit with =3DC-c '=3D (single quote, not backtick like I first tried as I edit tables this way!) - Code is highlighted in original buffer in yellow; new buffer opens with contents - Add line =3Db <- 3 + 4=3D - C-x C-s to save, minibuffer reports that it's saving/wrote my file - The additional line above appears in file - =3DC-c '=3D to close minibuffer I can't reproduce. C-s, for me, is bound to isearch-forward. Org-mode version 8.0 (release_8.0-2-g77476c) Thought I'd see if this was release dependent, so I pulled and did =3Dmake clean && make && make doc=3D just now and I get the same [successful] behavior. Org-mode version 8.0.1 (release_8.0.1-14-g2e6769) Best regards, John > Hopefully this is clear. Let me know if you have questions. > Thanks!! > > Julian > > -- > Julian Mariano Burgos, PhD > Hafranns=C3=B3knastofnunin/Marine Research Institute > Sk=C3=BAlagata 4, 121 Reykjav=C3=ADk, Iceland > S=C3=ADmi/Telephone : +354-5752037 > Br=C3=A9fs=C3=ADmi/Telefax: +354-5752001 > Netfang/Email: julian@hafro.is >