On 05/01/2018 08:32, Nicolas Goaziou wrote:
Hello,

"Nicolas Bercher (Aʟᴏɴɢ-Tʀᴀᴄᴋ)" <nberc...@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 via email to