From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hsiu-Khuern Tang 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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qls7Q-0003JF-21 for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 20:37:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qls7P-0002r1-7D for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 20:37:00 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:37516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qls7O-0002ql-HX for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 20:36:59 -0400 Received: by eyx24 with SMTP id 24so2040969eyx.19 for ; Tue, 26 Jul 2011 17:36:57 -0700 (PDT) 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: 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.