emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: source code editing using C-c ' (org-edit-special) eats cha


From: myles english
Subject: Re: [O] Bug: source code editing using C-c ' (org-edit-special) eats characters
Date: Tue, 23 Oct 2012 22:04:38 +0100
User-agent: mu4e 0.9.9.5-dev1; emacs 24.2.1

Nick Dokos writes:

> Hsiu-Khuern Tang <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]