From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 IPkILrb9AGM7fAEAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 17:28:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id aCbBLbb9AGM+bwAAauVa8A (envelope-from ) for ; Sat, 20 Aug 2022 17:28:54 +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 37E282D354 for ; Sat, 20 Aug 2022 17:28:54 +0200 (CEST) Received: from localhost ([::1]:44316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oPQP7-0000Tk-1i for larch@yhetil.org; Sat, 20 Aug 2022 11:28:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oPQOL-0000T4-O4 for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 11:28:05 -0400 Received: from mail-108-mta68.mxroute.com ([136.175.108.68]:33755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oPQOI-0004HZ-CO for emacs-orgmode@gnu.org; Sat, 20 Aug 2022 11:28:04 -0400 Received: from mail-111-mta2.mxroute.com ([136.175.111.2] mail-111-mta2.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta68.mxroute.com (ZoneMTA) with ESMTPSA id 182bbde392e0000261.002 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sat, 20 Aug 2022 15:27:59 +0000 X-Zone-Loop: 6b88f991d420b165e8bbb7db17a6ed1b039578d7d5d9 X-Originating-IP: [136.175.111.2] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tatersworld.org; s=x; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=amZCthnT5dOepDakqF69zokBk1W9Ir+jZPLjkW1wqZ8=; b=NEqmc5nqC4LExrFO7fWcYWPi5U RPx4PBYdplX0XRTyX/+/BrACW2wyd1OAFNoNJki4UJaIaFH9/Jun6PYHluiP+FQWIPfFkxvZsLxtR MtTkJ9ZuhpmtEJKT8mZoHr4pDLR3CF6qeqL/n0/KrxmSL6VuO5n0j13Fq7rb33zcdh0iL6kPVrXlY foX310vgDGgvmqDAfC2yqAE/i+i8HXBd0815/59xzr+RrpiOqLI/ejc1Asrg9Hxl9mEzGGb2VJFyF E6sol3OTLxNwv8IHPbIzGQHLVmxvk2YCoLlhPRIgFgsXsD7tDWkEBmXAG+Wt43rTicBTIoXn2Njy8 zGh7uJVg==; From: Jack Kamm To: Ihor Radchenko Cc: emacs-orgmode@gnu.org, gustav@whil.se Subject: Re: Bug? org-id-find not finding some IDs In-Reply-To: <87y1vozue3.fsf@localhost> References: <87r11zifjy.fsf@gmail.com> <87v8r8hhk2.fsf@localhost> <87r11vmf1o.fsf@gmail.com> <87r11un9in.fsf@localhost> <87mtc6ohhx.fsf@gmail.com> <87y1vozue3.fsf@localhost> Date: Sat, 20 Aug 2022 08:27:57 -0700 Message-ID: <87o7wf5402.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Id: jackkamm@tatersworld.org Received-SPF: pass client-ip=136.175.108.68; envelope-from=jackkamm@tatersworld.org; helo=mail-108-mta68.mxroute.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , 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=1661009334; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=amZCthnT5dOepDakqF69zokBk1W9Ir+jZPLjkW1wqZ8=; b=mAvpHosOmE+RMc6LVGmCZUP9cHxTF6ezYEBFedMVtQGGcKVdQsQkxAMQjl3YlBHzXI/3KB 1QHM2mdDu6ZmzXRNAhe68UvZVOYVShlSEpa3hgrQZdqD2hzXXdbZPYNfs/2SC3vqcBNqXW eY4tl/o0uvOqL+n6cybmPrPKaRjPrlJx4tF+482dvo0BjsQGzdj5OhJ7pNaMBrdHVYb54n 2l7ev0BnHG+eTWwT6QCexmaX2wlxYSCb924WH03w/FLM9sVk4Nb6Em4hZiY1yZ0a5KpiiO z0qNMtGnNVT8riLG6eOXR70NMuFsYuphzOAMw4XQkxI4izD7ZnVSGSE3/+7Hng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661009334; a=rsa-sha256; cv=none; b=m6uYTwimwMaOnwPWWcdev9b69FLe+cwZUtcoio1cgailVGldacEA04TOKFWgtKeg0xwxz3 0bspOiRgsf9i0GAnMEbfYsssm+4l3OZl/6T+JmUK52Rw4FZfoHt2CCagcGbCpXhPwzsCBT aIM96HQpsq1paTJwQbT7ilKbSIAwImd+ffURDN1yurk281Q7REXcADZCopv9SSy+SZEKNx Sl7lDuqvhPrdzbd7HlpeRewzWByAvsGKPKUHdGVCqXd9Kw79S/BxxQApPG9Q+yedVTP+4I GlG2dKuIAUrKw8jXgMPPWlcx4KUBElCteEROBlKv0oKLHRuo8tDQc1VIfQzXqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tatersworld.org header.s=x header.b=NEqmc5nq; dmarc=none; 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: 2.35 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tatersworld.org header.s=x header.b=NEqmc5nq; dmarc=none; 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: 37E282D354 X-Spam-Score: 2.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8L3I3OLgsf5J Ihor Radchenko writes: > I suggest to bind org-id-track-globally to nil file-locally in that > backup file. Thanks for the suggestion. I tried it out, and it initially seemed to work, but eventually the backup file ended up in org-id-files. It seems like there is more than one way that files may be added to org-id-files, and not all will respect a locally-set org-id-track-globally. However, I found another solution: we can use write-region to append the entry to org-caldav-backup.org, without opening it. Then this avoids the problem in normal usage of org-caldav: org-caldav-backup.org won't end up in org-id-files, since it won't be open in Emacs. I've updated my PR to org-caldav accordingly. > If necessary, we may add an extra customization like > org-id-exclude-files to explicitly exclude files from ID tracking. I think this would be nice, but it isn't necessary for the time being, since I found another solution for org-caldav, as described above.