From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SEn6D5vskGAUQgAAgWs5BA (envelope-from ) for ; Tue, 04 May 2021 08:41:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YJOIC5vskGCUZAAAbx9fmQ (envelope-from ) for ; Tue, 04 May 2021 06:41:31 +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 AEF6FBC5C for ; Tue, 4 May 2021 08:41:30 +0200 (CEST) Received: from localhost ([::1]:50482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldokL-0002wT-Gt for larch@yhetil.org; Tue, 04 May 2021 02:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldoWZ-0007qn-2v for emacs-orgmode@gnu.org; Tue, 04 May 2021 02:27:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43758) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldoWY-0005EE-Rl; Tue, 04 May 2021 02:27:14 -0400 Received: from [2a01:e34:ec2b:7150:e782:3776:71e0:fc81] (port=33584 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1ldoWX-00041j-Jx; Tue, 04 May 2021 02:27:14 -0400 Received: by guerry (Postfix, from userid 1000) id D6E8E1A60E69; Tue, 4 May 2021 08:27:10 +0200 (CEST) From: Bastien To: Gustavo Barros Subject: Re: Bug: Double trailing slash for default candidate in org-refile-get-target [9.4 (9.4-7-g3eccc5-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20200921/)] In-Reply-To: <87tuvrj7ww.fsf@gmail.com> (Gustavo Barros's message of "Mon, 21 Sep 2020 15:34:23 -0300") Organization: GNU References: <87tuvrj7ww.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) X-Woof-Bug: confirmed Date: Tue, 04 May 2021 08:27:10 +0200 Message-ID: <87im3z10ap.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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=1620110490; 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; bh=2/1SdrXlfRlqYo004LwTPEfFcCKENO397aihYSGe4ts=; b=jFl6gXjNsta4rGNAXOnIAe8WPsM8AEih3b5jSUd4EysPYC1eS0o/hD2WTsZwN8X9lutgFO QWrtmHtNsscQlfTeOqqggALShDB/BOln6IWFdvRPqpf5hYbysCi+623WPUs39gQJWchgqO 21SiN765UrMd1USMoh+zWtIwp+QikhTDP8cdEokgESYXSpQClt6CuabGtzeQsRt5KEnu9r CRBrqhBJgLdUHzfLjM86UUfkCqgB1fXcV509JdPB23XxQPq4fQ/Sp8mUn5pQVKR+3nHx2e yJ9XcwPjL4XYLHZ0/LHwICpDmIXAWaAdvs3iBOG3TgTxd74KUSXxyLWkk8w+Aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620110490; a=rsa-sha256; cv=none; b=WfIVJaiXWrQTvbx5kuby9iAYoHIBghQwSZXdcqeCnXk4RPrg5mo1RS5sbKWHEqp3a5vxwN fWts/hp02BDIf72HGp5v5XEvp/92NKyZm6gp2LbjT7bkCLbYdPLKVBjpxuXV+4qunQYmRn UDaA2p8y0f1OOgIe0QuPZUMWAdKYwKdXIqxajPyx1XyV3KGpidHfB3uE1CY5556VphRC7r hPmS6Fw6VWhGON+dGQqJEgKBM5i9zlkfNx2RKpzdAKqE25Nfaj2tH864f3opSrTkDr6tcM Q7I3TxpNceD3IBz/4VpSzY0o86fV6JxAmQvxH1vTOpt7l3LRit2Hf3biKnXiJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: AEF6FBC5C X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: sT9i4vKNrOnu Hi Gustavo, Gustavo Barros writes: > some time ago, I've reported an issue regarding duplicity of the default > candidate in `org-refile' > (https://orgmode.org/list/87lftw1k2n.fsf@gmail.com/). The problem was > that, when using `org-refile-use-outline-path' an "extra" slash was > appended at the end of every path, but candidates were stored in > `org-refile-history' without that extra slash. Bastien took care of > that and indeed changed things so as to pass the elements to > `org-refile-history' with the trailing slash as appropriate. > > At the time, I reported a difference of behavior between > `completing-read-default' and `ivy-completing-read' after the mentioned > commit by Bastien. But the issue did not appear for Bastien, which does > not use Ivy, and I also was not able to diagnose the problem properly. > I felt I didn't have enough to offer as to insist, so I resorted to an > old hack of mine. But the new release this week (thank you very much!, > btw) has bitten me again on this, so I went back to some digging, and > hopefully I can do a better job this time in diagnosing the problem and > suggesting a fix. Bump this thread so that it appears on updates.orgmode.org. Thanks, -- Bastien