From: Hsiu-Khuern Tang <tangoh@gmail.com>
To: orgmode <emacs-orgmode@gnu.org>
Subject: Too liberal stripping of commas in export? commit 20044297 "strip protective commas from literal code blocks"
Date: Tue, 26 Jul 2011 17:36:57 -0700 [thread overview]
Message-ID: <CAPuMoLZQ17s1Jmq-FGwj3s8gwYzyPgUpGJ2tDRzXSoObgkNQWw@mail.gmail.com> (raw)
Hi,
Eric Schulte's commit 20044297 introduced a change whereby the code
block in this Org file
=====================
* test
#+begin_src r
a <- c(1
, 2
, 3)
#+end_src
=====================
is exported into this LaTeX fragment:
=====================
\begin{minted}[]{r}
a <- c(1
2
3)
\end{minted}
=====================
The leading commas are removed! I think these commas shouldn't be
treated as protective (and hence shouldn't be removed), since they are
not in the leftmost column inside the block. org-edit-special does
the right thing for me in this example.
Thanks,
Hsiu-Khuern.
reply other threads:[~2011-07-27 0:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAPuMoLZQ17s1Jmq-FGwj3s8gwYzyPgUpGJ2tDRzXSoObgkNQWw@mail.gmail.com \
--to=tangoh@gmail.com \
--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.