From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Tmljb2xhcyBCZXJjaGVyIChByp/htI/JtMmiLVTKgOG0gOG0hOG0iyk=?= Subject: Re: [IT] Broken support for links to text files (both internal & external) Date: Mon, 8 Jan 2018 18:56:47 +0100 Message-ID: <1cad6675-4cd6-d8fd-6b1c-0c94a9aa2890@along-track.com> References: <4abbb185-4323-8c62-c4f7-4a9a3b7a6b88@along-track.com> <87o9m8g3r8.fsf@nicolasgoaziou.fr> <87k1wwij8r.fsf@gmail.com> <1fa8ac46-6dd4-483c-6646-7a4635aa31b6@along-track.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYbfO-0002DB-GM for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 12:57:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYbfI-0006Tb-OI for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 12:56:58 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:56546) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYbfI-0006QL-FE for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 12:56:52 -0500 In-Reply-To: <1fa8ac46-6dd4-483c-6646-7a4635aa31b6@along-track.com> Content-Language: en-GB 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: Nicolas Goaziou , emacs-orgmode@gnu.org This patch to my ~/.emacs PARTIALLY, but permanently, solved my issue: diff --git a/conf/home/.emacs b/conf/home/.emacs index 6bc96469e..cef1c08a7 100755 --- a/conf/home/.emacs +++ b/conf/home/.emacs @@ -27,6 +27,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(org-link-search-must-match-exact-headline nil) '(inhibit-startup-screen t) '(safe-local-variable-values Now, I can use again my internal links to inline random text in my files HOWEVER, in the case of links pointing to headlines, the matching to has to be EXACT (but it was not necessary in earlier version since 2011 at least) otherwise I get the message below: "No match for fuzzy expression: " Do you know if I can revert some option to make the sample below to work again? -----8<----- [[*random text][link to the past]] * TODO random text in a headline title -----8<----- As of today, only this link with EXACT matching would work: [[*random text in a headline title][link to the past]] Thanks a lot, Nicolas On 05/01/2018 17:15, Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ) wrote: > On 05/01/2018 13:27, Eric S Fraga wrote: >> On Friday,  5 Jan 2018 at 13:10, Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ) wrote: >> >> [...] >> >>> Is it possible that this setting is set by Debian packagers? >>> I ask this because I reproduced this bug with and without my >>>   ~/.emacs[.d/] files. >> >> It's the default for org (at least now, as far as I can tell). >> >>> But I ashamedly don't know how to set it permanently in my  ~/.emacs! >>> Would you please help me on this? >> >> Easy: describe the variable >> >>    C-h v org-link-search-must-match-exact-headline RET >> >> and then click on the "customize" link near the end of the >> description.  Make sure to "Apply and set" the change you make. >> > > I've done this but only changed the indentation of the > custom-set-variables block and added nothing new. > > And if I start from an empty ~/.emacs I got this ew block, but again, it > does not mention org-link-search-must-match-exact-headline variable: > > (custom-set-variables >  ;; custom-set-variables was added by Custom. >  ;; If you edit it by hand, you could mess it up, so be careful. >  ;; Your init file should contain only one such instance. >  ;; If there is more than one, they won't work right. >  ) > (custom-set-faces >  ;; custom-set-faces was added by Custom. >  ;; If you edit it by hand, you could mess it up, so be careful. >  ;; Your init file should contain only one such instance. >  ;; If there is more than one, they won't work right. >  ) > > What should I add *by hand* in ~/.emacs? > I'm sorry, it is just a matter of very basic elisp syntax (but I never > took the time to dig into elisp yet!). > > Thank you, > Nicolas -- Nicolas Bercher Aʟᴏɴɢ-Tʀᴀᴄᴋ Mob: +33 651 792 011 Tel: +33 952 550 210 Fax: +33 957 550 210 http://www.along-track.com/