From: Colin Baxter <m43cap@yandex.com>
To: emacs-orgmode@gnu.org
Subject: Stale IDs
Date: Wed, 28 Oct 2020 08:06:37 +0000 [thread overview]
Message-ID: <87zh46g4fm.fsf@yandex.com> (raw)
Hello,
I an mot sure if this is a bug or "feature".
1. emacs -Q <RET> (using emacs-28.0.50, org-version 9.3)
2. C-x C-f test.org <RET> (new file)
3. Enter * Test <RET> (A new heading is created with name Test)
4. M-x org-id-get-create <RET>
5. M-x org-id-update-id-locations <RET>
Echo buffer: "1 files scanned, 1 files contains IDs and in total 1 IDs found."
The id is created in ~/.emacs.d/.org-id-locations as expected.
5. Visit test.org again and delete the properties, including the ID.
6. Save the file
7. M-x org-id-update-id-locations <RET>
Echo buffer: "1 files scanned, 0 files contains IDs and in total 0 IDs found."
However, the file ~/.emacs.d/.org-id-locations still contains the ID and
does not read nil as I would have expected. The ID is only removed when
emacs is closed and then the file ~/.emacs.d/.org-id-locations reads
nil.
Best wishes,
Colin Baxter.
next reply other threads:[~2020-10-28 8:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-28 8:06 Colin Baxter [this message]
2020-10-30 5:55 ` Stale IDs Colin Baxter
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zh46g4fm.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=emacs-orgmode@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).