From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew MacLean Subject: Re: re-search-forward hang in org-link-search Date: Thu, 13 Aug 2015 12:36:14 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b41889b575797051d359d91 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPxMj-0000LK-5Q for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:36:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPxMg-0008UM-D9 for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:36:37 -0400 Received: from mail-ob0-x22f.google.com ([2607:f8b0:4003:c01::22f]:33089) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPxMg-0008UI-8l for emacs-orgmode@gnu.org; Thu, 13 Aug 2015 14:36:34 -0400 Received: by obbhe7 with SMTP id he7so43897356obb.0 for ; Thu, 13 Aug 2015 11:36:33 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org, pipcet@gmail.com --047d7b41889b575797051d359d91 Content-Type: text/plain; charset=UTF-8 On Thu, Aug 13, 2015 at 12:26 PM, Pip Cet 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. --047d7b41889b575797051d359d91 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Thu, Aug 13, 2015 at 12:26 PM, Pip Cet <pipcet@gmail.com> = wrote:
It's not an Emacs bug. Your regular expression w= hittles down to:

(defvar hang-re "^\\*+ *Mawile\\(?:[ ]+\\)+stuff\\(?:[ ]+\\)*$")<= br>
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<= br> it is in Org, not Emacs.

Ah... Well, this is th= e reason I posted it here first.

In that case, the bug is present as= late as a97f2c1830910d7a239dcbb98e200a6e4038acaa.
--047d7b41889b575797051d359d91--