From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WEQMKsImmV8AQAAA0tVLHw (envelope-from ) for ; Wed, 28 Oct 2020 08:07:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2MjFJcImmV+AYAAAbx9fmQ (envelope-from ) for ; Wed, 28 Oct 2020 08:07:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0CC539404C7 for ; Wed, 28 Oct 2020 08:07:29 +0000 (UTC) Received: from localhost ([::1]:50442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXgUS-0003GV-Sg for larch@yhetil.org; Wed, 28 Oct 2020 04:07:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgTp-0003G6-9w for emacs-orgmode@gnu.org; Wed, 28 Oct 2020 04:06:49 -0400 Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:46126 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXgTn-0005rN-I4 for emacs-orgmode@gnu.org; Wed, 28 Oct 2020 04:06:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kXgTj-0001Ys-MH for emacs-orgmode@gnu.org; Wed, 28 Oct 2020 09:06:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Colin Baxter Subject: Stale IDs Date: Wed, 28 Oct 2020 08:06:37 +0000 Message-ID: <87zh46g4fm.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:gmbFOx2RReqybqkybW10E91rsoQ= X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/28 04:06:44 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=yandex.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -0.41 X-TUID: 29smCDzBsHFa Hello, I an mot sure if this is a bug or "feature". 1. emacs -Q (using emacs-28.0.50, org-version 9.3) 2. C-x C-f test.org (new file) 3. Enter * Test (A new heading is created with name Test) 4. M-x org-id-get-create 5. M-x org-id-update-id-locations 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 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.