From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4ea1::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IKqKHg91yGE0wQAAgWs5BA (envelope-from ) for ; Sun, 26 Dec 2021 14:58:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id UNtmGA91yGGMZQAAG6o9tA (envelope-from ) for ; Sun, 26 Dec 2021 14:58:39 +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 2EC5733F29 for ; Sun, 26 Dec 2021 14:58:39 +0100 (CET) Received: from localhost ([::1]:36550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1U2o-000382-4q for larch@yhetil.org; Sun, 26 Dec 2021 08:58:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1U2M-00037p-SM for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 08:58:11 -0500 Received: from [2607:f8b0:4864:20::434] (port=43596 helo=mail-pf1-x434.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1U2K-0003ZL-Np for emacs-orgmode@gnu.org; Sun, 26 Dec 2021 08:58:09 -0500 Received: by mail-pf1-x434.google.com with SMTP id 196so11563168pfw.10 for ; Sun, 26 Dec 2021 05:58:08 -0800 (PST) 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=h9J/JHW+5Ar+EMdcAtn6Y8N4JL55CG6gkcE7aWfK85o=; b=UxrPu7xUfH2figUgiqpdZL+D4GxjSeTLcvQ6N2DsO7KmnCHF4D3Xxkc/zxKNuo6hCz DLTP0FcWk84+eU1xvKcAWXt4XJFvPnA2QSMqUow+Qsf7c7L6ecPzXjHc2yAJKylZqL0t 2qDnsJzCxzLFOsTN57TAUqmn3P0p11RgBLHzNpNXzw/nZn/4tl+gkdGc0lbRHFZItz4U qQLpIt79FIe1vxB0Mx73k6XwHatLtc36YMcZfvYz5YMAZp2/1533Hnab4ILG+1zfsVVG +kbi2Fl5d4Gy2BTGc9lNLN1jQqcM4YeF7dUMdNyxFtoEjMIO2wKtZWvzWABe449OVFrs 9z8Q== 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=h9J/JHW+5Ar+EMdcAtn6Y8N4JL55CG6gkcE7aWfK85o=; b=ql1CAfCICSa0asQBrzL4Ot0TixAu21CVCVzoaYZwc74twfSXeZFBrjuhznP6tAWHC1 eJyR3s7xO8adWtsvrgZQsVCzxOzm1AIeoNcWBeXcGVW3uW9AHjFu4Y4dOW1TJtjKqFZD nz5ZmN8Pl+ygk0HuOWvst5clyxrqmZ46ql3osz9sc2aUddkm2P1ywZzYQoyCCzPeJU9f B2Z+DxRc5umIApBYr6Pp1IV5PFvAgQUTTyxx0vKsNTnyG1r3lBZ58m9GVBz/O7k58U/0 Er7sB/Quqg4p+XIygX8WBOQlpVwdpaYfMesNNWMyO4TLPVAyrabZVXafDNNdzsL46vIj Bo4w== X-Gm-Message-State: AOAM530tgEsF70J0YyLcNFpmiro1zW7d96TxVGqLeXl2iQv7tZq4du82 D0S+dW4sjCxBch+TgNEu3ZE= X-Google-Smtp-Source: ABdhPJzOXBuxBAZYKRJ6WyH9gTEAus+/dC0aq+3m4pP1oUI/AiLyXYRVF25XXZVzChq6AnHTEPiQSg== X-Received: by 2002:aa7:860d:0:b0:4bb:91cb:e9b9 with SMTP id p13-20020aa7860d000000b004bb91cbe9b9mr11789018pfn.17.1640527087437; Sun, 26 Dec 2021 05:58:07 -0800 (PST) Received: from localhost ([210.3.160.226]) by smtp.gmail.com with ESMTPSA id x11sm12803036pjq.52.2021.12.26.05.58.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Dec 2021 05:58:06 -0800 (PST) From: Ihor Radchenko To: Mikhail Skorzhinskii Subject: Re: [PATCH] org-refile.el: show refile targets with doc. title In-Reply-To: <80f7d99b0cf16fefbcdd2db62c35f53946895162.camel@eml.cc> References: <80f7d99b0cf16fefbcdd2db62c35f53946895162.camel@eml.cc> Date: Sun, 26 Dec 2021 21:59:29 +0800 Message-ID: <87h7avsbzy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::434 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::434; envelope-from=yantar92@gmail.com; helo=mail-pf1-x434.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: Org Mode 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=1640527119; 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=h9J/JHW+5Ar+EMdcAtn6Y8N4JL55CG6gkcE7aWfK85o=; b=jPEVUonYOlngt417/3bkoDEfKM86S0XVG+H9OkQKX4Uze/COWVptn9h+ZHYeSv9bIXkqqL NjZr0ghD0mlnFP/mpffyXaPCux45UALJJW1teGukFGZq7lUMzOWk2FIM0zjvaqspWHTQPW 9JyltZAQfB/RhVPlzCur1CIqp6ral1xKj7279bhWUfmo5Og74LZjo98DzHSL7WHyv3Qv7u dOlOuluslricl4jNzL1etu3e1ktvaPZv7B9H0aljVVxRKo4LU+Ci4rJsGccnhLh1bkEFnl Ii/2rEo9mzoujLk5Y/Y6zfLF947Ba4XtA4XEe9W7V22X3+HAgV6I+xa4Thjd2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640527119; a=rsa-sha256; cv=none; b=UI20x8lGrpRof7M9NrsDa1wEODuDQxCQs5t9nJL5Ruor7V0gv1YkVz4bWt+4tSpBoD/afd HNX6DLv8zA3RoleuRalQ8S6CpR1ghlvqotu99fSgkGGkRtwOh4bTz8Hgztlfzqhhu7fdj5 OermG/vd3QlPxZW7h5y/gxQqi+8qsHtIA+2MDSjiF+ObFekOXu4/kfgVAfjMsjwPYQjrTi IEBqE1+6m9C/GfYyVa00Ccib2GUzFESfMk2HPwo4SzzFThPf8kVVa5wx0cyLNUc1zQbfpP 1m69ymIxO8Jx1TF99Y6b4oFqIa5PAG+OnhirH9U8SHbLM10kE3x+XYyFfWwrHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UxrPu7xU; 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: -6.07 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UxrPu7xU; 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: 2EC5733F29 X-Spam-Score: -6.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9wawEaMy+eUv 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