From: Ihor Radchenko <yantar92@posteo.net>
To: "Martin Edström" <meedstrom@runbox.eu>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-id-locations-load should probably abbreviate file names
Date: Sun, 15 Dec 2024 14:14:56 +0000 [thread overview]
Message-ID: <874j359gnz.fsf@localhost> (raw)
In-Reply-To: <E1stuQI-0006YG-64@rmmprod06.runbox>
"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>
prev parent reply other threads:[~2024-12-15 14:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-26 19:45 org-id-locations-load should probably abbreviate file names Martin Edström
2024-12-15 14:14 ` Ihor Radchenko [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874j359gnz.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=meedstrom@runbox.eu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.