all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Too liberal stripping of commas in export? commit 20044297 "strip protective commas from literal code blocks"
@ 2011-07-27  0:36 Hsiu-Khuern Tang
  0 siblings, 0 replies; only message in thread
From: Hsiu-Khuern Tang @ 2011-07-27  0:36 UTC (permalink / raw
  To: orgmode

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-27  0:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-27  0:36 Too liberal stripping of commas in export? commit 20044297 "strip protective commas from literal code blocks" Hsiu-Khuern Tang

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.