From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8ILtNUzAeGLCHgEAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 09:18:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ECkPNUzAeGLEQwEAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 09:18:36 +0200 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 BA1439EFA for ; Mon, 9 May 2022 09:18:35 +0200 (CEST) Received: from localhost ([::1]:45954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnxf3-0001FO-Vn for larch@yhetil.org; Mon, 09 May 2022 03:18:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnUev-0007To-38 for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:20:25 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]:31951) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnUet-0002JM-0C for emacs-orgmode@gnu.org; Sat, 07 May 2022 20:20:24 -0400 Date: Sun, 08 May 2022 00:20:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1651969219; bh=mk4L+gB1Qn5SKRpCraPajJQYnHhldYmaH2cDZsxQ8P4=; h=Date:To:From:Reply-To:Subject:Message-ID:Feedback-ID:From:To:Cc: Date:Subject:Reply-To:Feedback-ID:Message-ID; b=BtzPNbc2haMp7nrRGxh6WqjOouaOLecXwBmnJn97kXVTV2uqOS15Gsu95ykNeF/xm iOQUnmgTm3OeV61lZLYrefMxNdhI+d+ZurqMqvOZ+0UYoRYcRymzjCHchOxtsdIwPH CXrge8/tUB0dGdkC6bwjUOJWT537Dcym15G5g9Yc+g/7FW87Qgt29JUY4BysJLY8ib 47vk4q1wLVVKQERhjoZOAKxhoC1mCjdbE5SeQbSpN26/h7L3NRkXIRYpHpnKqeA38G wigOEM8qEK2wrnUVQNQpxJUyBApXGmg/tidlrTz+qfFX9reGBllrPh+KX+3eOpErkq C7si2lfiQNGCQ== To: "emacs-orgmode@gnu.org" From: laslydone Subject: `org-id-update-id-locations' should also scan the files listed in `org-id-locations-file' Message-ID: <0-xkTjbx3qfanVEwL03zsh6eiX76fceQkyuqVHALmhAnHUpcyGdxmEWhPf_oQK1S5zDkSmjVgmmpSHYVTUAEn4xfPD198tuPVqOPodEpSdc=@protonmail.com> Feedback-ID: 16579904:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.24; envelope-from=laslydone@protonmail.com; helo=mail-4324.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 09 May 2022 03:17:04 -0400 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: laslydone Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652080715; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=mk4L+gB1Qn5SKRpCraPajJQYnHhldYmaH2cDZsxQ8P4=; b=qC66x8a9+6althd2c8u36MsZCYuhhcw0QkMIvgZeHxYKUFx+CvQKSVZhpbInrqMRnhPmlF UBXAo6v45dXvmIutdP0FrbPRzi9SkwXO9YwI/yUhdFDZHCujdqAFMFSS9dFbu7iCOqb5Wv 4iDoIE0M/Z7BURMJG7d4x1YBNq0LT/IL0cF+bTL3RgpMRGhCtQExrI/kNJMUp6ycoQ6TvI TzHDGkSNL7wnFZbhGmmZ4CltEa0UwHL1AnX14J1a2usPl3KECZ4DNsFdsGxRk+PAKr2eHz aQy8776o8gDlpmy55F2lxxWfTc1iSxMZC1t8wlrYEIxuKMyvBRKL7Qwtxcr0fA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652080715; a=rsa-sha256; cv=none; b=b9AH2klszRydjv2MOl3+3Db1AcGVJIUUDwLxqvMNrs65NsudiLAHbryKnorWiyQsSsmu4u 9sqxQuzIHkmId53I76jkutLu1CSkoNqNY3BbldQcxFPQYLpAm8fRL7HJY8bcJTkdRU9m9r +UOMjcUJmVAWfqzzzb5R1jn2fLhKyiKAcJcayNdL+4xdOtWL4p6HzsZbzh9CunJZULCMNh N9zaLmmPvJ/EDWoMBo2G1KiY1bdbFWu+nc8noiL4wlQ89tFqVIuNfYE6RUNqPHziBEcGmA xFChHy5RATPzdKYFqXV5WR22RDDhj+ssFz8FQWu1HV64UmEaQu646uW5u5xaRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=BtzPNbc2; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.00 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=BtzPNbc2; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: BA1439EFA X-Spam-Score: -3.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: TMxryZNU60xb Since you can add to `org-id-locations-file' without having to put the files in `org-id-locations' I think it would make more sense to also scan `org-id-locations-file'. Currently you can empty `org-id-locations-file' (".org-id-locations"): 1. $ emacs -Q 2. C-x C-f ztest.org 3. C-RET heading 4. M-x org-id-get-create 5. C-x C-s 6. C-x C-c 7. $ emacs -Q 8. C-x C-f ztest.org 9. M-x org-id-update-id-locations 10. C-x C-c