emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Stale IDs
@ 2020-10-28  8:06 Colin Baxter
  2020-10-30  5:55 ` Colin Baxter
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Baxter @ 2020-10-28  8:06 UTC (permalink / raw)
  To: emacs-orgmode

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Stale IDs
  2020-10-28  8:06 Stale IDs Colin Baxter
@ 2020-10-30  5:55 ` Colin Baxter
  0 siblings, 0 replies; 2+ messages in thread
From: Colin Baxter @ 2020-10-30  5:55 UTC (permalink / raw)
  To: emacs-orgmode


I've convinced myself finally that this is a feature.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-30  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28  8:06 Stale IDs Colin Baxter
2020-10-30  5:55 ` Colin Baxter

Code repositories for project(s) associated with this 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).