emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] re-search-forward hang in org-link-search


From: Matthew MacLean
Subject: Re: [O] re-search-forward hang in org-link-search
Date: Thu, 13 Aug 2015 12:36:14 -0600


On Thu, Aug 13, 2015 at 12:26 PM, Pip Cet <address@hidden> wrote:
It's not an Emacs bug. Your regular _expression_ whittles down to:

(defvar hang-re "^\\*+ *Mawile\\(?:[ ]+\\)+stuff\\(?:[ ]+\\)*$")

or even

(defvar hang-re "\\(?:[ ]+\\)+s")

That _expression_ matches the string of spaces separating the first
Mawhile headline from its tags in many many different ways, and is one
of the type of regular expressions warned about in the (Emacs Lisp
Reference) manual. We shouldn't be generating it, and it is a bug, but
it is in Org, not Emacs.

Ah... Well, this is the reason I posted it here first.

In that case, the bug is present as late as a97f2c1830910d7a239dcbb98e200a6e4038acaa.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]