From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uPcYLc//ymHUZQAAgWs5BA (envelope-from ) for ; Tue, 28 Dec 2021 13:15:11 +0100 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 aPxcKs//ymHBXAEA9RJhRA (envelope-from ) for ; Tue, 28 Dec 2021 13:15:11 +0100 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 5139415F92 for ; Tue, 28 Dec 2021 13:15:11 +0100 (CET) Received: from localhost ([::1]:43232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2BNm-0000yi-FH for larch@yhetil.org; Tue, 28 Dec 2021 07:15:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2BKr-0000yB-PO for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 07:12:09 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:44037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2BKl-00069X-TA for emacs-orgmode@gnu.org; Tue, 28 Dec 2021 07:12:05 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 86E0D32002E2 for ; Tue, 28 Dec 2021 07:11:56 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 28 Dec 2021 07:11:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eml.cc; h= message-id:subject:from:to:in-reply-to:references:content-type :date:mime-version; s=fm2; bh=Li3qtd4/ktsIClQZx4qygy41YoFh12nEKC lYKLbfWrI=; b=Zb7/09ClZZwe9LLgDLKn1TVe93fzvNvmAmtNyBhWR1onBOXgqk kJUotEiEiS9TAH4WT4tCVXZjGTIqJvxUCoaa1IPtZsHAkfsvzDDUPR9FK/9mA70f +qpOd69bV2uHTO7gH2wYMav7+7Rki8i3b5iWW6UnlGfah69m1N9C8QF2cfN7ykvw XLhOLphLv/c65F1ktI7/AczIergZtmf7hLAP9K7GcM88HMAZjk3VUkSb5xK3H1CA //7RZRYHmtny3Ceo+GVxStAprUYu7oKhu+DeanHH3hr5oPApWsLGS2ybaobrPajS 6LzxyUH3FMiuheYPycSs6FkMRqVAjzClMPHw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Li3qtd 4/ktsIClQZx4qygy41YoFh12nEKClYKLbfWrI=; b=Xs45nZuI1N90se8hNf+oZj NnSZ/ZVrYv1I2DTBkwvZv+SJ4bTJshjpOozAiMtqtFVKRykXHW5NttnHgdpDdaCD HY4m2SXYF0zzi6FDBEmOeEvgkFxtyUv34lERc/jiCAxuh+RjNmj6bdHR+5S69R8U vpImwEHMMgV594XGBP5g/E4id+sAP0/Hh5w4U/+pUkgZViBoMxp6fQ8xeOJFMUn8 62l+zuYUQ+NHMCTx+uEQRKDr7LSPxnHVCLtWjxdKUV/VL1UhWZoNLaAetLek/1lx Bvxndq8dXDq4vpNar/km/7duR7DtKE8zBid2HXZiHHn7sV7ATqRZLWD1MHGH+emg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudduledgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfedtmdenucfjughrpefkuffhvfgjfhgtffggfgesmhdtreertder jeenucfhrhhomhepofhikhhhrghilhcuufhkohhriihhihhnshhkihhiuceomhhskhhorh iihhhinhhskhhihiesvghmlhdrtggtqeenucggtffrrghtthgvrhhnpeehteevledufeel ffeljedvgfekgffghfffteduffeghfeukeehtdeluddtudehleenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmshhkohhriihhihhnshhkihih segvmhhlrdgttg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Tue, 28 Dec 2021 07:11:55 -0500 (EST) Message-ID: Subject: Re: [PATCH] org-refile.el: show refile targets with doc. title From: Mikhail Skorzhinskii To: Org Mode In-Reply-To: <87h7avsbzy.fsf@localhost> References: <80f7d99b0cf16fefbcdd2db62c35f53946895162.camel@eml.cc> <87h7avsbzy.fsf@localhost> Content-Type: multipart/mixed; boundary="=-i83Q9mL0fY9wyQA0mGrq" Date: Tue, 28 Dec 2021 12:59:09 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.40.4-1 Received-SPF: pass client-ip=64.147.123.21; envelope-from=mskorzhinskiy@eml.cc; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640693711; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=Li3qtd4/ktsIClQZx4qygy41YoFh12nEKClYKLbfWrI=; b=eSMz1ndlsJ+Ohra+yCD1jM3tCWUe4Uq1YS0CyQdHzdwDyOLzmmU0QuB8VwVXWrt5s9l6aJ 4eXcrUAowxUBP8EoL5oKvgYSmQ2vLf3YbxZkD3jgLxdiksYp73yFmyBwpDTNPw+saAUjds zVTK35MVVkmMA4ND2iuF2yqRzeG/ZMoEqj2qfWpT0LDT1BCg2iWbBRgsG+dTeFpfls+tjN CKTWPKt0vT4WNd0Aeoi28xOhn20y4A/gZVQP/Owi8DnmntMp4sdfHzRdCH/9nPmI6l8sAr L4rGXIsNWUmO+XA4HxRn7Q07xsxouNeIn4j+AI9s5HQbLfthNOAXhUySocm06g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640693711; a=rsa-sha256; cv=none; b=anFcV+rgiFVA8tI7HLrv5EkQcT+oSA4R8Q8hngikg9BkZL8mKowfXgQ6DzkfLJCbY3F3IG NnZLoV+6OJs1Or85wfVZRPhqBTyMEhw702hQJSVunFP+j/NwwDHCLtrYdObiA33ZuQqGf4 Ln5hXumMNc6+CCMuciQK7m7J7alkT+Mb9H3rw2zI6IRQDmFQRn45lcUBpQJtEUkupjDL97 83hAdblDrOop/QhuOkmn2blmaiY1ZctKntkl6efY3s9eg9leu8aAz0Fzmfsujn+qfgXvev ZUAdRiJMPBNmqa8z7AC66qGKPG3IthnyCjFJMDPlkIyhvTzaeAJpIrZ9gSiEXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm2 header.b="Zb7/09Cl"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Xs45nZuI; dmarc=pass (policy=none) header.from=eml.cc; 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: -4.17 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm2 header.b="Zb7/09Cl"; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Xs45nZuI; dmarc=pass (policy=none) header.from=eml.cc; 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: 5139415F92 X-Spam-Score: -4.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: +wdW4CInfict --=-i83Q9mL0fY9wyQA0mGrq Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Hi Ihor, Thank you for reviewing the changes. Sorry for the sloppy patch, I've retested everything and added a few additional fixes, there were more problems. I've added a couple of test cases too. (BTW, test framework is awesome and really easy to use!) I've attached new patch to this email. Let me know what you think. Thanks, Mikhail On Sun, 2021-12-26 at 21:59 +0800, Ihor Radchenko wrote: > Mikhail Skorzhinskii writes: > > > * lisp/org-refile.el (org-refile-use-outline-path): add an option > > 'title > > This is an interesting idea. However, your patch may break things > quite > badly. Look at `org-refile-get-location'. It expects a very specific > format for the refile targets and treats 'file/'full-file-path values > specially. > > Can you add tests for your new value of org-refile-use-outline-path > and > make sure that they do not fail after applying your patch? > > Best, > Ihor > > --=-i83Q9mL0fY9wyQA0mGrq Content-Disposition: attachment; filename="0002-org-refile.el-show-refile-targets-with-doc.-title.patch" Content-Transfer-Encoding: base64 Content-Type: text/x-patch; name="0002-org-refile.el-show-refile-targets-with-doc.-title.patch"; charset="UTF-8" RnJvbSBlNmQzYWFlNGE3NWU1MDQyMzkyNGUwZWFjYmNkOTRjZGVhN2RhZmU4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNaWtoYWlsIFNrb3J6aGluc2tpaSA8bXNrb3J6aGluc2tpeUBl bWwuY2M+CkRhdGU6IE1vbiwgMjEgU2VwIDIwMjAgMTQ6NTM6MTMgKzAyMDAKU3ViamVjdDogW1BB VENIIDIvNV0gb3JnLXJlZmlsZS5lbDogc2hvdyByZWZpbGUgdGFyZ2V0cyB3aXRoIGRvYy4gdGl0 bGUKCiogbGlzcC9vcmctcmVmaWxlLmVsIChvcmctcmVmaWxlLXVzZS1vdXRsaW5lLXBhdGgpOiBh ZGQgYW4gb3B0aW9uICd0aXRsZQoqIGxpc3Avb3JnLXJlZmlsZS5lbCAob3JnLXJlZmlsZS1nZXQt dGFyZ2V0cyk6IHN0YXJ0IHJlZmlsZSB0YXJnZXQKb3V0bGluZSB3aXRoIGRvY3VtZW50IHRpdGxl ICgjK3RpdGxlKSBpbnN0ZWFkIG9mIGZpbGUgbmFtZQotLS0KIGxpc3Avb3JnLXJlZmlsZS5lbCAg ICAgICB8IDE4ICsrKysrKysrKysrKysrKy0tLQogdGVzdGluZy9saXNwL3Rlc3Qtb3JnLmVsIHwg MjkgKysrKysrKysrKysrKysrKysrKysrKysrKysrKy0KIDIgZmlsZXMgY2hhbmdlZCwgNDMgaW5z ZXJ0aW9ucygrKSwgNCBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9saXNwL29yZy1yZWZpbGUu ZWwgYi9saXNwL29yZy1yZWZpbGUuZWwKaW5kZXggNjc4NzU5ZTEwLi42NDRlOWY0OTcgMTAw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ZWZpbGUtdXNlLW91dGxpbmUtcGF0aCAndGl0bGUpCisJCSAocHVzaCAobGlz dCAob3IgKG9yZy1nZXQtdGl0bGUtZnJvbS1maWxlIChmaWxlLXRydWVuYW1lIChidWZmZXItZmls ZS1uYW1lIChidWZmZXItYmFzZS1idWZmZXIpKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAoYW5kIGYgKGZpbGUtbmFtZS1ub25kaXJlY3RvcnkgZikpKSBmIG5pbCBuaWwpIHRn cykpCiAJICAgICAgIChvcmctd2l0aC13aWRlLWJ1ZmZlcgogCQkoZ290by1jaGFyIChwb2ludC1t aW4pKQogCQkoc2V0cSBvcmctb3V0bGluZS1wYXRoLWNhY2hlIG5pbCkKQEAgLTM0Myw3ICszNDcs MTUgQEAgY29udmVydGVkIHRvIGEgaGVhZGxpbmUgYmVmb3JlIHJlZmlsaW5nLiIKICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYW5kIChidWZmZXItZmlsZS1uYW1l IChidWZmZXItYmFzZS1idWZmZXIpKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKGZpbGUtbmFtZS1ub25kaXJlY3RvcnkKICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYnVmZmVyLWZpbGUtbmFtZSAoYnVmZmVy LWJhc2UtYnVmZmVyKSkpKSkpCi0JCQkJICAgKGBmdWxsLWZpbGUtcGF0aAorICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAoYHRpdGxlIChsaXN0CisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIChvcgorICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKG9yZy1nZXQtdGl0bGUtZnJvbS1maWxlCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZpbGUtdHJ1ZW5hbWUKKyAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGJ1ZmZlci1maWxlLW5hbWUg KGJ1ZmZlci1iYXNlLWJ1ZmZlcikpKSkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIChhbmQgKGJ1ZmZlci1maWxlLW5hbWUgKGJ1ZmZlci1iYXNlLWJ1ZmZlcikp CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGZpbGUt bmFtZS1ub25kaXJlY3RvcnkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKGJ1ZmZlci1maWxlLW5hbWUgKGJ1ZmZlci1iYXNlLWJ1ZmZlcikpKSkpKSkK KyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGBmdWxsLWZpbGUtcGF0aAogCQkJ CSAgICAobGlzdCAoYnVmZmVyLWZpbGUtbmFtZQogCQkJCQkgICAoYnVmZmVyLWJhc2UtYnVmZmVy KSkpKQogCQkJCSAgIChgYnVmZmVyLW5hbWUKQEAgLTYzMSw3ICs2NDMsNyBAQCB0aGlzIGZ1bmN0 aW9uIGFwcGVuZHMgdGhlIGRlZmF1bHQgdmFsdWUgZnJvbQogCSAodGJsIChtYXBjYXIKIAkgICAg ICAgKGxhbWJkYSAoeCkKIAkJIChpZiAoYW5kIChub3QgKG1lbWJlciBvcmctcmVmaWxlLXVzZS1v dXRsaW5lLXBhdGgKLQkJCQkgICAgICAgJyhmaWxlIGZ1bGwtZmlsZS1wYXRoKSkpCisJCQkJICAg ICAgICcoZmlsZSBmdWxsLWZpbGUtcGF0aCB0aXRsZSkpKQogCQkJICAobm90IChlcXVhbCBmaWxl bmFtZSAobnRoIDEgeCkpKSkKIAkJICAgICAoY29ucyAoY29uY2F0IChjYXIgeCkgZXh0cmEgIiAo IgogCQkJCSAgIChmaWxlLW5hbWUtbm9uZGlyZ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