Org-mode mailing list
 help / color / mirror / 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

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://orgmode.org/list/0 list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ https://orgmode.org/list \
		emacs-orgmode@gnu.org
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git