emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Tassilo Horn <tassilo@member.fsf.org>, emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87pqz78utu.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <BBDEC0C1-5CA1-42B7-981B-694179EE324E@gmail.com> (Carsten Dominik's message of "Thu\, 1 Jul 2010 09\:48\:08 +0200")

Carsten Dominik <carsten.dominik@gmail.com> 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 <schulte.eric@gmail.com>
| 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

  reply	other threads:[~2010-07-01  8:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30 18:49 Bug: #+ATTR_LaTeX broken in LaTeX export [6.36trans (release_6.36.461.g798e)] Tassilo Horn
2010-06-30 19:44 ` Sébastien Vauban
2010-06-30 20:44   ` Eric Schulte
2010-06-30 20:58     ` Sébastien Vauban
2010-06-30 21:05     ` Nicolas Goaziou
2010-06-30 21:26       ` Eric Schulte
2010-06-30 22:22         ` Nicolas Goaziou
2010-06-30 22:49           ` Eric Schulte
2010-06-30 23:03             ` Eric Schulte
2010-07-01  4:44             ` Tassilo Horn
2010-07-01  7:48               ` Carsten Dominik
2010-07-01  8:33                 ` Bernt Hansen [this message]
2010-07-01  9:03                   ` Carsten Dominik
2010-07-01  7:25           ` Sébastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pqz78utu.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).