From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Date: Wed, 30 Jun 2010 23:05:49 +0200 Message-ID: <87iq50griq.wl%n.goaziou@gmail.com> References: <878w5w2w5y.fsf@thinkpad.tsdh.de> <87fx04qp9x.fsf@mundaneum.com> <871vbouu7f.fsf@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=59854 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OU4Tm-0000Ug-JX for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 17:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OU4Tl-0004y9-A5 for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 17:05:58 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41440) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OU4Tl-0004y2-4W for emacs-orgmode@gnu.org; Wed, 30 Jun 2010 17:05:57 -0400 Received: by wyb39 with SMTP id 39so1410648wyb.0 for ; Wed, 30 Jun 2010 14:05:56 -0700 (PDT) In-Reply-To: <871vbouu7f.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: =?UTF-8?B?U8OpYmFzdGllbg==?= Vauban , emacs-orgmode@gnu.org Hi Eric, I do not think this is the right fix. You are only allowing lines like : --- # a line of text --- to be treated as comments, when they are not! The first regex is the one matching comments definition (# on column 0 and '#+ ' everywhere). Handling of lines like #+ATTR_LaTeX should be processed outside of comments handling functions to not add confusion. Moreover, I mailed a fix earlier (see thread with Sebastian Rose: unwanted #+attr_backend and #+backend stuff) which already solves that problem, among others. Regards, -- Nicolas