* [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter)
@ 2012-01-24 22:46 Nick Dokos
2012-01-25 12:20 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Nick Dokos @ 2012-01-24 22:46 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: nicholas.dokos, emacs-orgmode
I hit an infinite loop in org-e-latex.el:org-e-latex-link--inline-image:1326:
,----
| ...
| (while (string-match "\\(wrap\\|multicolumn\\|float\\|placement=\\S-+\\)"
| attr)
| (replace-match "" nil nil attr))
| ...
`----
When given a fourth STRING argument, replace-match returns the result
string as a new string, but does not modify attr. Presumably attr needs
to be set to that result.
Nick
GNU Emacs 24.0.92.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.4) of 2012-01-24
Org-mode version 7.8.03 (release_7.8.03.229.gb7df)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter)
2012-01-24 22:46 [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter) Nick Dokos
@ 2012-01-25 12:20 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2012-01-25 12:20 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
Hello,
Nick Dokos <nicholas.dokos@hp.com> writes:
> I hit an infinite loop in org-e-latex.el:org-e-latex-link--inline-image:1326:
Indeed. This should be fixed now.
Thanks for your report !
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-25 12:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-24 22:46 [BUG] infinite loop in org-e-latex-link--inline-image (new latex exporter) Nick Dokos
2012-01-25 12:20 ` Nicolas Goaziou
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).