emacs-orgmode
[Top][All Lists]
Advanced

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

Re: org-id-locations-load should probably abbreviate file names


From: Ihor Radchenko
Subject: Re: org-id-locations-load should probably abbreviate file names
Date: Sun, 15 Dec 2024 14:14:56 +0000

"Martin Edström" <meedstrom@runbox.eu> writes:

> This is not a bug that breaks normal use of org-id, but it may affect 
> downstream uses.
>
> An example is my package org-node, which checks file names known to org-id, 
> and combines that with other sources of information, to build a big file list.
>
> This list is automatically de-duplicated because I can normally assume the 
> names are abbreviated. However, reading the source, it seems that it will not 
> ensure this if `org-id-locations-file-relative` is t.  Then 
> `org-id-locations-load` merely uses `expand-file-name`.  So a path that used 
> to be ~/org/file.org becomes /home/me/org/file.org after loading back from 
> disk.
> ...

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=036e8dcf04

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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]