From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 QP49Ac8y+WKvWgAAbAwnHQ (envelope-from ) for ; Sun, 14 Aug 2022 19:37:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iOtTAc8y+WLaEgAA9RJhRA (envelope-from ) for ; Sun, 14 Aug 2022 19:37:19 +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 7DB6424F47 for ; Sun, 14 Aug 2022 19:37:18 +0200 (CEST) Received: from localhost ([::1]:56440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNHY5-0001Da-4F for larch@yhetil.org; Sun, 14 Aug 2022 13:37:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNHWe-0001A9-LI for emacs-orgmode@gnu.org; Sun, 14 Aug 2022 13:35:54 -0400 Received: from mail-108-mta84.mxroute.com ([136.175.108.84]:40355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNHWc-0004p4-K1 for emacs-orgmode@gnu.org; Sun, 14 Aug 2022 13:35:48 -0400 Received: from mail-111-mta2.mxroute.com ([136.175.111.2] mail-111-mta2.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta84.mxroute.com (ZoneMTA) with ESMTPSA id 1829d6cf7c50000261.002 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Sun, 14 Aug 2022 17:35:40 +0000 X-Zone-Loop: 821cfbcc8852f6904b50548ad9cac5e42d8c07da8cb7 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=TC3MNod89plJ+blJ0KI3jxfQ5RQMzMHCC41JinnEKmM=; b=fZJt2QZgze4KQcHC+rBLFnLCZ2 g8TYs3pL+fGWDAS2OR5WzaJi85W9+cR6RtttfRgR9eBdE54+6YYz3tDcyVdF6iKLEFnoL+uaPqwUQ vmdbg0t0yw7GtnSfJIJ8z5z7tB6f0THSzLl1F0pObYlYPkL2i52yhqVuZ7Lm3gBtzBvtbYpT1AajV 2YRsk4k0QRxshVzornMIa9h0186KFYbkYnpYUt/wD50fjidGVb+yswW546YJg8AjxvavgWYIqgDZj OLajC+knJuMzWJj3lbMIr0qJGVQP5MCPfsyT+nMlQKBHFtUqHoX8vdd5MGGUOaPJYQNZ0lCBP5roS Rg0hQREQ==; 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: <87r11un9in.fsf@localhost> References: <87r11zifjy.fsf@gmail.com> <87v8r8hhk2.fsf@localhost> <87r11vmf1o.fsf@gmail.com> <87r11un9in.fsf@localhost> Date: Sun, 14 Aug 2022 10:35:38 -0700 Message-ID: <87mtc6ohhx.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.84; envelope-from=jackkamm@tatersworld.org; helo=mail-108-mta84.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=1660498638; 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=TC3MNod89plJ+blJ0KI3jxfQ5RQMzMHCC41JinnEKmM=; b=KTR+6+DhRYRfCQBid5u7dP7efZ51Cy+IIcKHvHLFPXOSbYzy7xEG+MkYpQ5pVGWOHyxIcc 71aiHoI+Pw+z9tjO2k8Hhq5IZJxuNlbOG7061JcSUz/37hiE7g6PfP2s/SVkOpEfuilAdU k9t+sTbSg38kqdnsBUDnhybJqcOdYIJz5UIZvWkKjAbSIhWyPsBQ5GzEmcvF4XS9PNKAIk Kzb+SyUHV9cKr7ja5pws2CQ40DJbK9Cy4I86d5NlG2oXChRDqadHDUhEHUWcLTeoepP4q+ ENMMVqwSpCTamoc1a9dPNyHomjiE3DiOnOjvkzBFPiiV0UATAzEzVOwspZV27A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660498638; a=rsa-sha256; cv=none; b=dZ6XyWYnBcuvMwjJyUzzw7rH1jA6UBQPSXCXgY8Wtz+GItgZPWW/lH8iCpiEMPYztp/Vg7 +7RVUuKBgx+anPluPkl/wSFvwMe9/+snvEO04uoYngDY1LKScwyc48o8Voz29yGJ3lZ2/T t5rVkX0PJhnSM9VHtGTrTEJHeaKuO5QWrQ40SjdVPUhcC/x2VkoOjlxPXSslUe04bABZd+ F/33T3618b3PZF3vllSp0KEBUNWG5hRgKl3G0CJPoYo21hGdr5p7LGVVUwc9rJKpeGypaE hL1cLS/EzPJZSVlcRHb93LKDessz7blXIjtAyxIuc7p4Wa4uY6nK/KMlTzobKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tatersworld.org header.s=x header.b=fZJt2QZg; 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: 1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tatersworld.org header.s=x header.b=fZJt2QZg; 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: 7DB6424F47 X-Spam-Score: 1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9jYMXim3pYVN Ihor Radchenko writes: > Applied onto main via 8f5bf1725. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f5bf172556564df89fb16ce8ecec68c5b7f0221 My sincere apologies, but after a bit of testing, I found that my requested change had some unforeseen consequences, and I don't think it's a good idea anymore. So, I'd like to request reverting it. Doing some research, I found the behavior of org-id-update-id-locations, to not search all the open Org files, was made in this 2019 commit: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9865e6bd8be65229be4eac4f459f62e47fab2be7 The commit message suggests this change in behavior was intentional. Only, the docstring of org-id-extra-files wasn't updated to reflect the new behavior, which was the cause of confusion on my end. In terms of unforeseen consequences of the new commit: I found it caused some problems for org-caldav. When making changes, org-caldav copies entries into a backup file at ~/.emacs.d/org-caldav-backup.org. With the new commit, it is sometimes finding entries in this backup file instead of the correct file. To fix the original problem I was experiencing with org-caldav, I think it may be better to modify org-caldav, instead of upstream Org-mode. To that end, I submitted this PR to org-caldav: https://github.com/dengste/org-caldav/pull/250