emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Weird Asymptote mode behaviour in org


From: Jarmo Hurri
Subject: Re: [O] Weird Asymptote mode behaviour in org
Date: Thu, 27 Aug 2015 07:55:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Nicolas Richard <address@hidden> writes:

>> * description
>>   Move cursor into the code below. Press ~C-c '~ to edit the code in
>>   Asymptote mode. Do not change anything in the code, just press ~C-c
>>   '~ to return to org. You will notice that a comma has been inserted
>>   into the code.
>> * test case
>>
>>   #+BEGIN_SRC asymptote
>>     real s = 50
>>       * 21.1;
>>   #+END_SRC
>
> The comma is meant to escape the star (*), see footnote in (info
> "(org) Literal examples"). I'm not sure the comma is required (because
> your * isn't at the start of the line), but is shouldn't hurt
> (i.e. you can C-c ', you can C-c C-c, etc.)

Thanks! Seems I have skipped some parts of the manual. :)

I can live with this now that I know it. It is extremely confusing at
first, though, so future generations might prefer to live without that
feature if it is not really necessary. That is, if a comma is not needed
when the star (*) is not at the beginning of the line.

All the best,

Jarmo




reply via email to

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