From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Date: Thu, 01 Jul 2010 04:33:49 -0400 Message-ID: <87pqz78utu.fsf@gollum.intra.norang.ca> References: <878w5w2w5y.fsf@thinkpad.tsdh.de> <87fx04qp9x.fsf@mundaneum.com> <871vbouu7f.fsf@gmail.com> <87iq50griq.wl%n.goaziou@gmail.com> <8739w4tdo9.fsf@gmail.com> <87hbkkgnzb.wl%n.goaziou@gmail.com> <87vd90rv9k.fsf@gmail.com> <87hbkjyfo8.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=39615 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUFDe-0003aj-Nr for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 04:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUFDa-0008Ev-06 for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 04:34:02 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63833) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUFDZ-0008Ep-Ub for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 04:33:57 -0400 In-Reply-To: (Carsten Dominik's message of "Thu\, 1 Jul 2010 09\:48\:08 +0200") 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: Carsten Dominik Cc: Tassilo Horn , emacs-orgmode@gnu.org Carsten Dominik writes: > Hi everyone, > > It seems that the patch in this thread has introduce the following > problem: > Consider this test file. > >> * Test >> >> # test >> \begin{equation} >> \e=mc^2 >> \end{equation} >> >> but a^2 should still be treated nicely >> > > > When exported, the # test line is exported as > > \# test > > I have not checked if this really was the patch which did > that, but I suspect it. Could someone please check? > > Thanks. Fun with git :) ,---- | 0e636dc2ed8dc4c2a4663551d975ee2a6719c967 is the first bad commit | commit 0e636dc2ed8dc4c2a4663551d975ee2a6719c967 | Author: Eric Schulte | Date: Sun Jun 27 19:35:34 2010 -0700 | | org-exp: check for protection before removing comments | | * lisp/org-exp.el (org-export-handle-comments): check for protection | before removing comments | | :040000 040000 141f3fd1e9870e39b8dd863668d0d65dfc3677f3 9c5ff59abd1941ef3ba7969156a4ad6ad19fb0eb M lisp | bisect run success `---- This commit was determined automatically with git bisect and the following script/setup. ,----[ /tmp/test.org ] | * Test | | # test | \begin{equation} | \e=mc^2 | \end{equation} | | but a^2 should still be treated nicely `---- ,----[ /tmp/bisect.sh ] | #/bin/sh | emacs -batch -q -l /home/bernt/minimal.emacs -l /tmp/export-quit.el | if grep '^\\# test' /tmp/test.tex | then | exit 1 | else | exit 0 | fi `---- ,----[ /home/bernt/minimal.emacs ] | (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp")) | (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode)) | (setq org-agenda-files '("/tmp/test.org")) | (require 'org-install) | | (global-set-key "\C-cl" 'org-store-link) | (global-set-key "\C-ca" 'org-agenda) | (global-set-key "\C-cb" 'org-iswitchb) | `---- ,----[ /tmp/export-quit.el ] | (find-file "/tmp/test.org") | (call-interactively 'org-export-as-latex) | (save-buffers-kill-emacs) `---- $ git bisect start master 188105 $ git bisect run /tmp/bisect.sh -Bernt