emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FR] Do not resolve relative "file" paths


From: Ihor Radchenko
Subject: Re: [FR] Do not resolve relative "file" paths
Date: Mon, 27 Mar 2023 14:43:53 +0000

Ruijie Yu via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> 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 ../2 because it seems that the
> referenced file does not need to exist.
>
> I expect the links to be literally [[file:../4]] and [[file:../2]]
> respectively.  This is helpful for me to reference other files
> relatively (e.g., in a repository).

You can customize `org-link-file-path-type'.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]