emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Infinite loop using macros [9.0.3 (9.0.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
@ 2017-05-06 12:07 Bruno BEAUFILS
  2017-05-07 15:21 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno BEAUFILS @ 2017-05-06 12:07 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Bruno BEAUFILS

[-- Attachment #1: Type: text/plain, Size: 920 bytes --]


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

This simple file makes Emacs loops and freeze when trying to export it.

#+MACRO: test {{{test}}}
{{{test}}}

I can concieve that no simple solution could be find.
In pandoc a recursion limit will be implemented (see
https://github.com/jgm/pandoc/issues/3401).

At least, maybe a warning about such a behavior should be added to the manual.

Emacs  : GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.7)
 of 2017-01-22 on trouble, modified by Debian
Package: Org mode version 9.0.3 (9.0.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)

-- 
Bruno BEAUFILS

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Infinite loop using macros [9.0.3 (9.0.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)]
  2017-05-06 12:07 Bug: Infinite loop using macros [9.0.3 (9.0.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)] Bruno BEAUFILS
@ 2017-05-07 15:21 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-05-07 15:21 UTC (permalink / raw)
  To: Bruno BEAUFILS; +Cc: Bruno BEAUFILS, emacs-orgmode

Hello,

Bruno BEAUFILS <bruno@boulgour.com> writes:

> This simple file makes Emacs loops and freeze when trying to export it.
>
> #+MACRO: test {{{test}}}
> {{{test}}}

This was fixed some time ago. Exporting this document should raise an
error. You may want to update Org.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-07 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-06 12:07 Bug: Infinite loop using macros [9.0.3 (9.0.3-dist @ /usr/share/emacs24/site-lisp/org-mode/)] Bruno BEAUFILS
2017-05-07 15:21 ` 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).