From: Jarmo Hurri <jarmo.hurri@iki.fi>
To: emacs-orgmode@gnu.org
Subject: Re: Weird Asymptote mode behaviour in org
Date: Thu, 27 Aug 2015 07:55:07 +0300 [thread overview]
Message-ID: <87pp2949g4.fsf@iki.fi> (raw)
In-Reply-To: 871tes7lg9.fsf@members.fsf.org
Nicolas Richard <youngfrog@members.fsf.org> 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
prev parent reply other threads:[~2015-08-27 4:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-24 7:08 Weird Asymptote mode behaviour in org Jarmo Hurri
2015-08-24 14:55 ` Nicolas Goaziou
2015-08-24 15:30 ` Nicolas Richard
2015-08-27 4:55 ` Jarmo Hurri [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pp2949g4.fsf@iki.fi \
--to=jarmo.hurri@iki.fi \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.