emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)" <nbercher@along-track.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: [IT] Broken support for links to text files (both internal & external)
Date: Fri, 5 Jan 2018 13:10:51 +0100	[thread overview]
Message-ID: <a2e8c6ca-f416-2fb1-ead0-a7caef36df0c@along-track.com> (raw)
In-Reply-To: <87o9m8g3r8.fsf@nicolasgoaziou.fr>

On 05/01/2018 08:32, Nicolas Goaziou wrote:
> Hello,
> 
> "Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)" <nbercher@along-track.com> 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/

  reply	other threads:[~2018-01-05 12:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04 16:20 [IT] Broken support for links to text files (both internal & external) Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)
2018-01-05  6:42 ` Eric S Fraga
2018-01-05  7:32 ` Nicolas Goaziou
2018-01-05 12:10   ` Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ) [this message]
2018-01-05 12:27     ` Eric S Fraga
2018-01-05 16:15       ` Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)
2018-01-05 17:47         ` Eric S Fraga
2018-01-05 20:16         ` Tim Cross
2018-01-08 17:56         ` Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)
2018-01-09 19:36           ` Nicolas Goaziou
2018-01-10  3:44             ` Samuel Wales
2018-01-10  3:46               ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a2e8c6ca-f416-2fb1-ead0-a7caef36df0c@along-track.com \
    --to=nbercher@along-track.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).