From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Weird Asymptote mode behaviour in org Date: Thu, 27 Aug 2015 07:55:07 +0300 Message-ID: <87pp2949g4.fsf@iki.fi> References: <871tet17uz.fsf@iki.fi> <871tes7lg9.fsf@members.fsf.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUpDc-0007a1-8H for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:55:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUpDZ-0001q1-1V for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:55:20 -0400 Received: from plane.gmane.org ([80.91.229.3]:33697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUpDY-0001pd-Qz for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 00:55:16 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZUpDW-00088J-Q1 for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 06:55:14 +0200 Received: from 89-27-26-138.bb.dnainternet.fi ([89.27.26.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Aug 2015 06:55:14 +0200 Received: from jarmo.hurri by 89-27-26-138.bb.dnainternet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Aug 2015 06:55:14 +0200 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: emacs-orgmode@gnu.org Nicolas Richard 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