From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: doc patch: move footnote in external links Date: Sat, 20 Dec 2014 23:15:29 +0100 Message-ID: <87vbl6x91a.fsf@nicolasgoaziou.fr> References: <87egs4bwuu.fsf@nicolasgoaziou.fr> <87388jab2j.fsf@nicolasgoaziou.fr> <87y4q745w7.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2SIM-0004m4-Uk for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 17:14:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2SIE-0005KI-WA for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 17:14:42 -0500 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:46867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2SIE-0005JC-Px for emacs-orgmode@gnu.org; Sat, 20 Dec 2014 17:14:34 -0500 In-Reply-To: (Alan Schmitt's message of "Wed, 17 Dec 2014 17:33:32 +0100") 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: Alan Schmitt Cc: emacs-orgmode Alan Schmitt writes: > I'm fine with this. Here is the patch extended to take this into > account, which is mostly deleting all the code that deals with headline > match when `org-link-search-must-match-exact-headline' is nil. Thanks. Some comments follow. > -file:projects.org::*task title @r{heading search in Org file} > +file:projects.org::*task title @r{heading search in Org file}@footnote{ > +Headline searches always match the exact headline. If the headline is not ^^^ two spaces It looks good. However, there is a small discrepancy between `org-link-search' and `org-export-resolve-fuzzy-link' ("ox.el"). In the latter, matches against headlines ignore white spaces between words. I think it should be fixed either way (removing the feature in "ox.el" or adding it in "org.el") at some point. Also, would you mind adding a test in test-org/fuzzy-links ("test-org.el") and an entry in ORG-NEWS? Regards,