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: Fri, 5 Jan 2018 13:10:51 +0100 Message-ID: References: <4abbb185-4323-8c62-c4f7-4a9a3b7a6b88@along-track.com> <87o9m8g3r8.fsf@nicolasgoaziou.fr> 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]:59082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eXQpv-0000RV-WF for emacs-orgmode@gnu.org; Fri, 05 Jan 2018 07:11:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eXQpr-0003XE-Vx for emacs-orgmode@gnu.org; Fri, 05 Jan 2018 07:10:59 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:59154) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eXQpr-0003WR-LX for emacs-orgmode@gnu.org; Fri, 05 Jan 2018 07:10:55 -0500 In-Reply-To: <87o9m8g3r8.fsf@nicolasgoaziou.fr> 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 Cc: emacs-orgmode@gnu.org On 05/01/2018 08:32, Nicolas Goaziou wrote: > Hello, > > "Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)" writes: > >> The regression makes several some kinds of org-mode links not to work >> anymore. >> >> Examples: >> >> This should be a [[%5B2018-01-03%20mer.%2016:29%5D][valid link]] to >> log's headline but Org can't find it >> anymore and asks for the creation of a new headline: >> >> "No match - create this as a new heading? (yes or no)" >> >> Also, the following links are broken: >> >> - [[the following links are broken][link to internal text in this >> file]] (but equivalent to the >> timestamped broken link reported above), reports: >> >> "No match - create this as a new heading? (yes or no)" >> >> - [[should point here][link to internal text from an external >> org-mode file]] (same issue >> than above) which _should point here_, but reports >> >> "No match for fuzzy expression: should point here" >> >> The following links still work well: >> - link to a [[*headline][*headline]] >> - link to a [[* headline][* headline with space]] >> - external [[http://www.example.com/][links to the www]] >> >> * [2018-01-03 mer. 16:29] A time stamped log headline >> * headline > > You probably have `org-link-search-must-match-exact-headline' set to > a non-nil value (default setting is non-nil). > > Note that such links do not export correctly. For this use case, it's > better to use targets. > > Regards, > Dear Nicolas, Thank you a lot for your help. 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. OK, I've tried and it does the trick: M-x set-variable RET org-link-search-must-match-exact-headline RET nil RET But I ashamedly don't know how to set it permanently in my  ~/.emacs! Would you please help me on this? 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/