emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Daniel Dehennin <daniel.dehennin@baby-gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Babel add comma in front of my '*'
Date: Sat, 18 Feb 2012 08:23:21 -0700	[thread overview]
Message-ID: <87zkcgrw7d.fsf@gmx.com> (raw)
In-Reply-To: 874nusw34t.fsf@hati.baby-gnu.org

Daniel Dehennin <daniel.dehennin@baby-gnu.org> writes:

> Hello,
>
> I tryed to babelize an iptables-save file and file to restore it.
>
> Babel put a comma in front of my '*', in the following, the '*mangle'
> became ',*mangle':
>
> #+begin_src text
> # Generated by iptables-save v1.4.4 on Wed Feb 15 10:16:05 2012
> ,*mangle
> :PREROUTING ACCEPT [0:0]
> :INPUT ACCEPT [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [0:0]
> :POSTROUTING ACCEPT [0:0]
> COMMIT
> #+end_src
>
> Regards.

Yes,

Org-mode does the above to protect the rest of the file from the
possible Org-mode syntax in the code block.  However if you then use
this text (e.g., through tangling or reference from another code block)
the comma will be automatically removed, so it shouldn't cause you any
problems.

Best,

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

  reply	other threads:[~2012-02-18 15:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 15:02 Babel add comma in front of my '*' Daniel Dehennin
2012-02-18 15:23 ` Eric Schulte [this message]
2012-02-18 16:25   ` Daniel Dehennin
2012-02-18 17:39     ` Eric Schulte

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkcgrw7d.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=daniel.dehennin@baby-gnu.org \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).