emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Too liberal stripping of commas in export? commit 20044297 "strip pr


From: Hsiu-Khuern Tang
Subject: [O] 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

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 via email to

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