From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QnVPBtLrkWBquwAAgWs5BA (envelope-from ) for ; Wed, 05 May 2021 02:50:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EIhSAdLrkWCbYgAAbx9fmQ (envelope-from ) for ; Wed, 05 May 2021 00:50:26 +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 4EF541E2B6 for ; Wed, 5 May 2021 02:50:25 +0200 (CEST) Received: from localhost ([::1]:49622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1le5k7-0007u2-50 for larch@yhetil.org; Tue, 04 May 2021 20:50:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1le5jE-0007t8-WF for emacs-orgmode@gnu.org; Tue, 04 May 2021 20:49:29 -0400 Received: from mail-lj1-x235.google.com ([2a00:1450:4864:20::235]:38908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1le5jC-0008CO-TV for emacs-orgmode@gnu.org; Tue, 04 May 2021 20:49:28 -0400 Received: by mail-lj1-x235.google.com with SMTP id v6so305371ljj.5 for ; Tue, 04 May 2021 17:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:cc:date:message-id :mime-version; bh=hqbQa+CseQJtbByoqahyZou7Yfu5Eijs3M3tEU+Qhbw=; b=YAA9CzhOySRoqZ+3ALGojnS5t8114daiXJ+rUMwitQON3monKoGUWfzSQ/6yg0K3J+ qcGbNeNhK9fW8IMPZwXhi2UuE9/j2cLDDpk4hupWJFu4b+5sWIJUdj5LOcpDp9lPwWeW X+SQBwKazTpoP5fuRcnuvIsFd71ZOxJ4/Qx20EgARIYmUdUIGBrZWJcT6f4YhOToC+U6 SzZtQfD3xAigeLFscBgTsswQLtPSBbsLWmw2egwcJebdRryJFIbKc02iK/jDGFLMdiKZ drmJDpLznhdCf1XAnQwcqwdozkolOTEJYBumnXI+ShFfg6i9EJO2/xxiNz48bDQbdZ/W 4htg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:cc:date :message-id:mime-version; bh=hqbQa+CseQJtbByoqahyZou7Yfu5Eijs3M3tEU+Qhbw=; b=DVTO33OsKbnxyu5sYCPwyLu41wpOqS/Ioj/Ok9sPVbybsEKX2AiTNJvWC2W+ph8YAh zi6zn4ZENpbp83WYM5WBEmK4O5SPCQYYG+Bv6U3pbOBUlHfB1bJMxU1EfO3nEPRESW0M b/TObgmEvByKPErKbqSU3fv68QVUF1NaJjnQcdQCiYTPUhzxpIfEWklD0kz+qZtHfNAe xysuEBRMEhnsrJ0Nx6ufhyHjhpCn8BWYbJysXE1PMO0MvjUhaQYSBF0vTNt8Vz9CT4vo O8EWEyod6CS3e6mhNsyfPaFh1KvdKOPH1A6NrRs3Y6/diPbIe4rhO39djqXh9/0u7fFc aB4g== X-Gm-Message-State: AOAM530kLKqndyryfMOJOyRi5l7GEGpqY/GjI9fRi7NLd+WPY2ab8FVL A2hVBMQV1VkyRQSS6/PBNvo= X-Google-Smtp-Source: ABdhPJxWmcqEx6kpza/L/ZFO4BR+tvKKSsQaOClyRICaqti7lX+OnqaPBu3GCpSWkFeESMN8i1WvFw== X-Received: by 2002:a2e:9b97:: with SMTP id z23mr10539036lji.359.1620175764429; Tue, 04 May 2021 17:49:24 -0700 (PDT) Received: from localhost ([158.255.2.9]) by smtp.gmail.com with ESMTPSA id d15sm393057lfa.137.2021.05.04.17.49.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 May 2021 17:49:23 -0700 (PDT) From: Ihor Radchenko To: Maxim Nikulin Subject: Re: [PATCH] Bug: fragile org refile cache In-Reply-To: References: <87v98598un.fsf@localhost> <87k0olxjpz.fsf@localhost> <877dklxecq.fsf@localhost> <875z01d3j3.fsf@localhost> Date: Wed, 05 May 2021 08:53:51 +0800 Message-ID: <871ramdmqo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::235; envelope-from=yantar92@gmail.com; helo=mail-lj1-x235.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 autolearn=ham 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620175825; 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=hqbQa+CseQJtbByoqahyZou7Yfu5Eijs3M3tEU+Qhbw=; b=SO+lSem5p2q8E95mZO4DvW6BP9bEJwwfALIt9R5ow21HsnT8umQAXkzBjweBE8arka+rud ZyL55HyPgQArrooPIbCghSokZp19CwytpkvQznZO6FGG8Q7M6lMe3fcOG7O5E1ssqiW5Dx iqFvjnWLc5HLJEE16PVyPXx92bSCFYPUNDRIzekCVqmxjRxdPyxmQLRuqln1n45lQeHHiY elQWDr63pCPgksbnhuwcmVVkKUyWPtTh/+qJhxF0nAXfaOfTErDxL+z/eLqVdmVCConAMw TqYICBhqabTSI2qi4acEdopjOiuLkWKX3VyKKZgH7LEyN6Uh/iyAcquyLIoajg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620175825; a=rsa-sha256; cv=none; b=Y7XpiItqrLX5gWEfurOWnRMxdlAOb1O/K+dABoe7m/FAPLOJhZNCeIRgMNT4tNK5HDy59k qaf9ggrfAr9W8qkNUTWwFCeFXh+brrNbFT7b1ine8JYDZjZa7hF35pQesANTdIeQyM1BTC 1OuLQXm4fmrdCJsHkFW4Ezw71/EpaipDMiuDuajvnlcUvhoNCMENHmAq/jmUiYc23RN9Zm dE2pWYqXJfvVNKBqhR9eLWqjmbgRO+6U0GWfqG0UU6DPr1asawe0dx2wh/GjKNuMFyxVeU SL5H3myQuOG+b7+qrmo6ihPZQWL+MKq/tNHXTgSqiA/h6ZFulCI9lyp3f7MU4g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YAA9CzhO; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -2.66 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=YAA9CzhO; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: 4EF541E2B6 X-Spam-Score: -2.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: q7h8YBX7QfCj Maxim Nikulin writes: > helm-org-ql.el that is a part of org-ql does not use cache when calling > org-get-outline-path. helm-org performs sequential scan similar to > org-refile-get-targets. Hmm. You are right. But they could. I myself ran into an issue with helm-org-ql exactly because formatting displayed headings was slow. If org-refile-use-cache is deprecated, there would be no option to use cache at all. Best, Ihor