might or might not help also that the default value appers to use
substitute-in-file-name behind the scenes.
On 3/27/23, Ruijie Yu via General discussions about Org-mode.
wrote:
>
> Ihor Radchenko writes:
>
>> [...]
>> You can customize `org-link-file-path-type'.
>
> Thank you, this is exactly w
Ihor Radchenko writes:
> [...]
> You can customize `org-link-file-path-type'.
Thank you, this is exactly what I needed. It is even able to convert my
previous absolute paths back to relative paths, which is great.
--
Best,
RY
[FR] Do not resolve relative "file" paths
Canceled.
Ruijie Yu via "General discussions about Org-mode."
writes:
> C-c C-l file:../4 RET RET
> [[file:/tmp/tmp.ztrbRDDtKy/4]]
> C-c C-l file:../2 RET RET
> [[file:/tmp/tmp.ztrbRDDtKy/2]]
> --8<---cut here---end--->8---
>
> Note that I showcased both ../4 and
Both Emacs and Org are on recent master commits.
Repro:
--8<---cut here---start->8---
$ cd $(mktemp -d)
$ mkdir 1
$ touch 2
$ emacs -L /org/lisp/ -Q 1/3.org
M-: emacs-repository-version RET
"db7e95531ac36ae842787b6c5f2859d0642c78cc"
M-x org-version RET