From mboxrd@z Thu Jan 1 00:00:00 1970 From: "myles english" Subject: Re: Bug: source code editing using C-c ' (org-edit-special) eats characters Date: Tue, 23 Oct 2012 22:04:38 +0100 Message-ID: <87r4oogas9.fsf@ed.ac.uk> References: <20121023180317.GA21957@localhost>, , <7429.1351024314@alphaville.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQlWr-0003fC-SZ for emacs-orgmode@gnu.org; Tue, 23 Oct 2012 16:56:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQlWq-0000Yv-SE for emacs-orgmode@gnu.org; Tue, 23 Oct 2012 16:56:49 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:38230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQlWq-0000YO-LE for emacs-orgmode@gnu.org; Tue, 23 Oct 2012 16:56:48 -0400 Received: by mail-we0-f169.google.com with SMTP id u3so2710374wey.0 for ; Tue, 23 Oct 2012 13:56:47 -0700 (PDT) In-reply-to: <7429.1351024314@alphaville.americas.hpqcorp.net> 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: nicholas.dokos@hp.com, Hsiu-Khuern Tang Cc: orgmode Nick Dokos writes: > Hsiu-Khuern Tang wrote: > >> Hi, >> >> Sorry if this has been reported -- a brief search didn't turn up anything. >> >> Start with this 3-line org file: >> >> -------------------------------------------------- >> #+begin_example >> >> #+end_example >> -------------------------------------------------- >> >> Do these steps: >> - go to the 2nd line >> - type C-c ' to edit the source example >> - type some text in the new buffer, such as "test" >> - type C-c ' to exit >> >> What I get is this: >> -------------------------------------------------- >> #+begin_example test#+end_example >> -------------------------------------------------- >> >> Anyone else able to reproduce this? >> > > Yes, although I cannot reproduce Myles's results with Org-mode version > 7.9.2 (release_7.9.2-459-g6f7e92 @ /home/nick/elisp/org-mode/lisp). Sorry I gave the wrong version. - 7.8.11 can't reproduce it - 7.9.2 can reproduce it (release_7.9.2-463-g468d86 @ /home/myles/.emacs.d/plugins/org-mode/lisp/) Myles > > > It depends on what you type exactly: typing "test" with no extra > newlines produces the result above for me. If I add newlines, I get > "funny-looking" results with the #+END_EXAMPLE indented some. > > Since it does not know a language, the buffer is in fundamental mode > and you get (modulo funny indentation perhaps) whatever you type. > > Nick