From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Date: Thu, 1 Jul 2010 11:03:22 +0200 Message-ID: <84E3EDA2-50F6-44F2-86FC-A9A65B10C613@gmail.com> 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> <87pqz78utu.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58933 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUFgC-0000ze-Jx for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 05:03:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUFg6-0003P7-TL for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 05:03:32 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:60149) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OUFg6-0003Os-OU for emacs-orgmode@gnu.org; Thu, 01 Jul 2010 05:03:26 -0400 Received: by wwi14 with SMTP id 14so1411621wwi.30 for ; Thu, 01 Jul 2010 02:03:25 -0700 (PDT) In-Reply-To: <87pqz78utu.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: Tassilo Horn , emacs-orgmode@gnu.org On Jul 1, 2010, at 10:33 AM, Bernt Hansen wrote: > 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 :) Thank you my wizard. :) This bug is squashed. - Carsten > > ,---- > | 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 - Carsten