From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6IRYDQYR7WIHWQEAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 14:45:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IGAsDQYR7WIGWQAAauVa8A (envelope-from ) for ; Fri, 05 Aug 2022 14:45:58 +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 D7D209E38 for ; Fri, 5 Aug 2022 14:45:57 +0200 (CEST) Received: from localhost ([::1]:57602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJwiD-0007TI-0j for larch@yhetil.org; Fri, 05 Aug 2022 08:45:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJwhO-0007T2-JL for emacs-orgmode@gnu.org; Fri, 05 Aug 2022 08:45:06 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:43560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJwhM-0002qV-Vc for emacs-orgmode@gnu.org; Fri, 05 Aug 2022 08:45:06 -0400 Received: by mail-pf1-x429.google.com with SMTP id u133so2147262pfc.10 for ; Fri, 05 Aug 2022 05:45:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=xwhf/iScUR075+H71kbQuzemneEGGpvfTgMp2423Yrc=; b=C+tLpLFptK9hN+uuhLD7o1EP0wsnZTcow7CDNBNV32iYSBOdf8A6Qz6qvkn2EZtM3Q TwZi/PVyGAJ/F7mNp7RZLJeEk7JJi8aJoxaUMW1B6wXe9rRsgv1H+hQDygEIJIQYEicQ AGY2nzNxXgL+CNJR8XvBwvzthpo3eTbkNVF80T+bbjoV1CeRoyTpmrAeR4m/Q8py4gLh SSsCrIKeJJm24/Fzkuc0IZ49wvv1NRtufx+zDIg8jMjZkQ7sZVwV8snIRxR/eDf3O81E lWDrYdtFOF9qjc4CtrCFacal93+vLl01POQwno9OTbd4i85KMJ2EkTCJjDPleXxCFNH4 2rtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=xwhf/iScUR075+H71kbQuzemneEGGpvfTgMp2423Yrc=; b=K8ZWUDqEtspZ1iuxsGkTSqXz9pmym2c0hRKxIwFm/8SXg+SnF45pQTAEhDftYu11wa Cxdu6d47jELbA7yjpHUM1HHRfFCifGgaJ++EOSMVD2ntb7jrpuHgVRS7E+IoQjDm5L++ 6HxGD73d6WaSaQW+/94rcXdJMYJbp8dFEsMMwmtOsQc1egSNcnGjO56vLtdCwl8o6EAm sfSe2jLJGFLgpgh7605zx5BgFZLp+5+pSU7X98KwFE0MHOT3+zpg5UtQHy+1oeFCQGXe 7TjrKCEbAHF2iRVy9Ir46ftpZ2LZYnbXXZjv6ojdihwVLp+hQV6Ppo9hSILQpIE47h+N qPEw== X-Gm-Message-State: ACgBeo2VAjXNhL0FIeU7CTRb7yi+JiCsr08gNgZK0BKWQBSqnNsoem5M 9ilFqRHmh1yKaEzQnHfIByC8o+TfY1shGg== X-Google-Smtp-Source: AA6agR6Nqjihwx9TDwBEg2V+A5lVf/IsRu7iNm54cwZTC3VaOA08v2I4m5uZzymDPJSguM84W64vJQ== X-Received: by 2002:a05:6a00:230d:b0:52b:1819:3a0 with SMTP id h13-20020a056a00230d00b0052b181903a0mr6965261pfh.53.1659703503702; Fri, 05 Aug 2022 05:45:03 -0700 (PDT) Received: from localhost ([2409:8a70:2b5:4040:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id p17-20020a170902e75100b0016dc78d0153sm2890823plf.296.2022.08.05.05.45.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 05:45:03 -0700 (PDT) From: Ihor Radchenko To: Jack Kamm Cc: emacs-orgmode@gnu.org Subject: Re: Bug? org-id-find not finding some IDs In-Reply-To: <87r11vmf1o.fsf@gmail.com> References: <87r11zifjy.fsf@gmail.com> <87v8r8hhk2.fsf@localhost> <87r11vmf1o.fsf@gmail.com> Date: Fri, 05 Aug 2022 20:46:08 +0800 Message-ID: <87r11un9in.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=yantar92@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1659703557; 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=xwhf/iScUR075+H71kbQuzemneEGGpvfTgMp2423Yrc=; b=poGfUKsDWhF9bgwBpq46V/FJQUv0CGtXcl0NmsYEo0Q0wEnVWyXLaK/ypq3/wMB9Diu1Sx t0LRrARO922lUQCrZbrxGa3DEmKWxsC+vfNuqfVwVsueSG1zZQlyr/raFweCUKeoy8h/kf qm8TfUvdxhyvMZDNXW1uwaVKwaU/ShyJ8B5C/STVcgqBaGarjOB36j7kkoJj298puLF/8a G0oaA2KTp8psb4QlY9+kY6d8UFoSmZKVXIpCtzQOwOlGgvp5gZg9czIeK211/Tvk2WdWDR PVHqTga8yxZKl17oglySBoRP+W+vLf2fj10U2WMFFcYWqWphAfDKa1d8G1+MBg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659703557; a=rsa-sha256; cv=none; b=rnh9hl/o31/90cxMp5838iSFepYKU05I0wUpTxsM7n4fSv9a9Yr74P6gHX0Zmumc79u5Uc F7qC8N7xObgoGAnVUDn86mgwKdHT+7tMDZDir5aeUOJE+LIbMFomCRCR90I6CH2uxfBXTh F049mmbcP3XqGa/qXRu2PkQVN0TEBfI5grHLrG1HoRNhyjnU0ufWKjHIwFKKjoELSQJ7Zm vuGTAj8NudJ7HyWyJxfpo/ZFcDTQEV1ACQDn3Qv3lRuHnx00LWVwuS6G927y436Bks1oXq qO+Dnh4MSW6tGlkJJomqiaso040B64IWYNVtim1WcyDoMN8Dys7G0kCig0Ztjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C+tLpLFp; dmarc=pass (policy=none) header.from=gmail.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.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=C+tLpLFp; dmarc=pass (policy=none) header.from=gmail.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: D7D209E38 X-Spam-Score: -3.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: oeJxMyRfAiZq Jack Kamm writes: > Ihor Radchenko writes: > >> This is indeed inconsistent. The current behaviour is to scan only files >> where it is known that IDs are present. >> >> Can you try the attached patch? > > Thanks, Ihor. I tried your patch and it solved my issue -- both the > minimal example I sent, as well as the related issue I was experiencing > with org-caldav. Applied onto main via 8f5bf1725. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8f5bf172556564df89fb16ce8ecec68c5b7f0221 Best, Ihor > Jack -- Ihor Radchenko, Org mode maintainer, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92