From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cAhoOB6+DmdcSwEA62LTzQ:P1 (envelope-from ) for ; Tue, 15 Oct 2024 19:10:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cAhoOB6+DmdcSwEA62LTzQ (envelope-from ) for ; Tue, 15 Oct 2024 21:10:22 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=n4Nqn9JB; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729019422; a=rsa-sha256; cv=none; b=gbIarcQsnzNzwbVMiMYUHpQv30Gv+hoN8upyJev4j78Fa/LQ3b6OO5eFjDbEte6FCKO0aY eeWuKVT7SJ3kn6HMfgyzoCfaVIkyRSM48u5p4BIJwAtdVd3gDgZd8vCoGSytkI80ZVptnp eFroAObo0h00ztnW/wF2eQRLBaoWS0ZOCzlq9iOViq5pAcca08joIPRtY9BbI6q0fKsdzL rziwJ8VDsJizskRUGi/5M1YbAGZ6E1Ci8prJ9QTeFitsufkBoiir93iRlhgkgB9xlt1k7Q ptfo6IugQCjWBlMiZ/itNG04A3HikfHWN4a8oZjQb8pt2yogPZOr4inQDTP+mw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=n4Nqn9JB; dmarc=pass (policy=none) header.from=posteo.net; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729019422; 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=Y6aN6n0By8ns2DRyXcQ/Cdr7JQaw1pPCpsE8YbkdJa0=; b=ZEiwuvZgHSUaXYOmNtbp7ofzCDBXnyKVPvv726h4StT3RkgtaHoPNxionaxb1KcpyrAG15 5e0W246G4PV+N0KnrI7jgoHe3iepC7y3BlGTW2NBwaqEO39jFNaK8EZ2r8D6Q7lUEO/QkQ F86+Z6XfWjRalRvfvbkuwsYYpbTWbbp0TjTIrxdxWKivblea31ZW0Hvofj8kH0e16DbPL6 VovxKFvP0fF3kCUar6kCrUqj4lfGYNQzkshbE1PKrHWvfdbS/BazxU/zjJNHdPr8iqtvB2 TH5/DOZd5nvc/PKxh+3bS2/mmX0WOD1YLAwJQjNlGAzUhLeEUVtlf4SPFAIHqA== 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 D2FBE674E1 for ; Tue, 15 Oct 2024 21:10:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0mdY-0007Sz-Bo; Tue, 15 Oct 2024 14:51:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0mdS-0007Qy-7X for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 14:51:11 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0mdQ-00074A-EK for emacs-orgmode@gnu.org; Tue, 15 Oct 2024 14:51:09 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 61AF0240027 for ; Tue, 15 Oct 2024 20:51:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729018264; bh=V47bpWU0z43OuVsUrovf41BSXUHpSbsnWiWDm7hAIxQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=n4Nqn9JBS753b7sysh/NaLAi6DE/aK+iL8BtoeQtj/ekRplI/KMBgES135ykDVQIN o8leTQLFS4vrNNWXXyrLdPtFu5d+h1j6jEZ4mST25xPEdogGZkfXaoYv7na5+YspG4 txC5owBnwuYITpHcTr32a9KFfyHICDvi1loLVC46VCzgQYmQIGsTc8l33Fbxn3CwrJ iMcgW+I1CvBllE6tS/TC1z6lepShSFbU8aLYAprHt6MFqA5sykZHN5+21+jX0aoaSC DOwuKUfx4VL8rp/XWI/JlRUjxjqQognXH/vRSLqNeAs8LlTwobEB9s1bRqT5GQ3mOy Zby5Dk/P60roA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XSjqC6SfNz6twV; Tue, 15 Oct 2024 20:51:03 +0200 (CEST) From: Ihor Radchenko To: Sacha Chua Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] org-refile: calculate file part of the outline path outside the loop for the headings In-Reply-To: <87jzeapg23.fsf@sachachua.com> References: <877caadht3.fsf@sachachua.com> <87y12qqz6m.fsf@localhost> <87jzeapg23.fsf@sachachua.com> Date: Tue, 15 Oct 2024 18:52:52 +0000 Message-ID: <87h69ddwqj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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.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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.22 X-Spam-Score: -1.22 X-Migadu-Queue-Id: D2FBE674E1 X-Migadu-Scanner: mx12.migadu.com X-TUID: yeTNcfsFx12l Sacha Chua writes: > Whoops, sorry, I forgot to run the tests. =) Now that I have done so, I > realized that I accidentally deleted the > (goto-char (point-min)) > (setq org-outline-path-cache nil) > before the loop. This patch should make that test run again. Once more > with feeling! Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=566c341155 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at