emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [bug] Asterisks in source and example blocks interpreted as head


From: Eric Schulte
Subject: Re: [O] [bug] Asterisks in source and example blocks interpreted as headings
Date: Fri, 19 Aug 2011 06:19:43 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Using org-edit-special bound to C-c ' to edit the contents of source or
example blocks will inserted the leading ","s automatically when they
are required.

Best -- Eric

Daniel Bausch <address@hidden> writes:

> Hi,
>
> AFAIK that is exactly the case, for which the "," rule is for.
> Just put a "," in front of the offending line and everything will be fine.
> On export the "," is removed.
>
> best regards,
> Daniel
>
> Am Dienstag 16 August 2011, 20:27:01 schrieb Jason Dunsmore:
>> Hello,
>> 
>> I noticed that lines with leading asterisks inside of source and example
>> blocks are interpreted as headings:
>> 
>> --8<---------------cut here---------------start------------->8---
>> * Heading 1
>> 
>> #+begin_example
>> foo
>> * bar
>> blah
>> #+end_example
>> 
>> * Heading 2
>> --8<---------------cut here---------------end--------------->8---
>> 
>> If you put the point on "Heading 1" and hit TAB, you'll see the
>> following:
>> 
>> --8<---------------cut here---------------start------------->8---
>> * Heading 1...
>> * bar
>> blah
>> #+end_example
>> 
>> * Heading 2
>> --8<---------------cut here---------------end--------------->8---
>> 
>> I'm using GNU Emacs 23.2.1 and Org-mode version 7.7
>> (release_7.7.97.g9d5c5)
>> 
>> Regards,
>> Jason
>
>
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

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