From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug] org 9 hangs on link search Date: Thu, 15 Dec 2016 16:20:04 +0100 Message-ID: <87pokt5ie3.fsf@nicolasgoaziou.fr> References: <8760mugkpw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHXpF-0005ru-6T for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 10:20:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHXpB-0003Y9-7I for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 10:20:05 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:35700) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHXpB-0003XO-1B for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 10:20:01 -0500 In-Reply-To: (Samuel Wales's message of "Mon, 12 Dec 2016 20:07:43 -0700") 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" To: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales writes: > file links don't hang now, thanks. > > however, if the header to be searched consists of only a link, it > fails to find the link. perhaps it needs regexp-quote. > > ***** [[file:/home/a/b.org::*add%20another%20link%20bug][add another > link bug]] I'm not sure to understand. Is the example above self-contained, i.e., is the link supposed to match the same headline? If so, it cannot work since you are not looking for the exact title. You may want to use a custom-id. Regards, -- Nicolas Goaziou