From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp0 ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id EIx/KsqdqmCZ/gAAgWs5BA
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 20:24:10 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp0 with LMTPS
	id cPIwJsqdqmAMTgAA1q6Kng
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 23 May 2021 18:24:10 +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 101D8FD31
	for <larch@yhetil.org>; Sun, 23 May 2021 20:24:10 +0200 (CEST)
Received: from localhost ([::1]:60378 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1lkslk-0001rP-Oz
	for larch@yhetil.org; Sun, 23 May 2021 14:24:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58578)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <tecosaur@gmail.com>)
 id 1lkslD-0001pi-Tn
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 14:23:35 -0400
Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:42553)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <tecosaur@gmail.com>)
 id 1lkslC-0002Z2-GU
 for emacs-orgmode@gnu.org; Sun, 23 May 2021 14:23:35 -0400
Received: by mail-pl1-x62d.google.com with SMTP id v13so13469152ple.9
 for <emacs-orgmode@gnu.org>; Sun, 23 May 2021 11:23:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:message-id
 :date:mime-version;
 bh=wwa2QyPgIhXAfmRniZ3di1e/RxWoLMi8NZF9hp7pr74=;
 b=Tus5+pAajV6xLOCvxtr22dl2oVpVG3bfwumiU5rrG+2ubZMqADP7soorCtf/8axv4Y
 uApf2fJ3DIb32OAersFkKodeK56B9U2Qr4bttbIAVaWtjApVm4UJ0G/YWBmna6UmnUvf
 raAMJArsiUbVNPs7CGITKt7Rz69Nv0Np25GO29CDO+KAjnrC4irjWWVRxONtEAnzTN3H
 542YrHdIX+gxnH785j8S4TiNGVozKnnZ/z1tZPw23VfOrToL4DJM0cPV+ZToBiEOsJRA
 lpLh7NP6gbR8BxRA4H3eceACiwSXx56Tw0iqgerus59p2fmKmt/iEIRLymaKRa7a1ImP
 WlxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:message-id:date:mime-version;
 bh=wwa2QyPgIhXAfmRniZ3di1e/RxWoLMi8NZF9hp7pr74=;
 b=kUb+mp9/Z6tO93VnyrxfOnACRp7tIuZwVFMfeuhtKSf8E0UE3JZNRLkqjDyP1tvi4a
 LVUh1JBELG3qrFT8u7RCGo5PdiFhCszoqw254UuHEZANdKFba6myUzZGSg62jtjyXXeU
 /a9H+W43JuPxfBVB6Ueq1a7WqKkLxFPIxDc1T34/g8qBXcsLCfS9dVRliYjUhlWYr4yB
 83rgclImprXt4riMM/lrIODxpS1DWFso2MqLsF8cYWuPAlFQpMjJ/MIx3383DQd6UHla
 kh/0/s/FZ/+d9nSVR6CNfMFSZqfflpVz8wpkbS0xMG2LGQNPfZZTr6Y/nyvjUTr17l7B
 zJ9g==
X-Gm-Message-State: AOAM532NSSV+1YiuXWdq7RfbFqI8wW4P+1TicLOGISGUIGALdJyzZ14d
 Y9qGaDAC9YKtA+G8/B6iRoQ=
X-Google-Smtp-Source: ABdhPJxMTQWDGkcK7qrzsodsj6cG0B++RVKXGR7jDugOgHRzclChkTibBiL8tCfhD7uEuc7GFRVscQ==
X-Received: by 2002:a17:902:9f87:b029:f0:cf29:35e5 with SMTP id
 g7-20020a1709029f87b02900f0cf2935e5mr21885773plq.73.1621794211478; 
 Sun, 23 May 2021 11:23:31 -0700 (PDT)
Received: from localhost (180-150-91-8.b4965b.per.nbn.aussiebb.net.
 [180.150.91.8])
 by smtp.gmail.com with ESMTPSA id 63sm9042995pfz.26.2021.05.23.11.23.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 May 2021 11:23:31 -0700 (PDT)
References: <CAOn=hbcSeGYonTBKzV7kcns66iVWQUzmrThT+rLLj18GwHw8Ew@mail.gmail.com>
 <CAOn=hbe4q7Ym2ApNH5zKd1E3MBNHHY8yr-33mi0xqQEWdnJ+_A@mail.gmail.com>
User-agent: mu4e 1.4.15; emacs 28.0.50
From: Timothy <tecosaur@gmail.com>
To: Bhavin Gandhi <bhavin7392@gmail.com>
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: <CAOn=hbe4q7Ym2ApNH5zKd1E3MBNHHY8yr-33mi0xqQEWdnJ+_A@mail.gmail.com>
Message-ID: <87v979nwbk.fsf@gmail.com>
Date: Mon, 24 May 2021 02:23:27 +0800
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::62d;
 envelope-from=tecosaur@gmail.com; helo=mail-pl1-x62d.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.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_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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Cc: emacs-orgmode@gnu.org, gusbrs.2016@gmail.com
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1621794250;
	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=wwa2QyPgIhXAfmRniZ3di1e/RxWoLMi8NZF9hp7pr74=;
	b=U0ZSWhKc4CKHLn89qHOeJuqBx2bX/nrt4Mpjv3ASQ46tUqpvU5SgtlLMpih/nav/L0R5JJ
	wvJK8/vp7HozAhpxbVv1XwPgYIjs+8AnPd2sRPCSQve4QV/EL4r0UivNE5Y4Dv7JY9pmc8
	2feCgwyCe4R0Vnijm/DPlGbmMc4+d04M+dwdw28uP4eWGm5v0yK3DplPCO0cIsdbepx3Z+
	1EoLDkH6h9cApZ6Ll52xJYuM/MEWtDK9If+FijBqtI4wEuCvZgWK8pa1w62aeky8tk9KtS
	GMcEiPGQTWzr1DoupiJ2rLBNH3WtlFJwwyM//alRNbDdh4v/tHX/RMQp+EucPw==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621794250; a=rsa-sha256; cv=none;
	b=k/uTheXGly92AqGyyVIKto22BzlC0R2um3QJ+CqAAweXyvTme6m7l4wUPkBZ2r8S7orAlA
	26+V5qu3EY8T8XeNFiBSSM7CuYeZjgwi1kZXq6y6bUsvvBJZ/Ky79oE79tVL3sj4Qj2Xz3
	Cra3FEJBQhMSCNtyqHKqrAx7wUuOgtVrzEpYXu4fR/U3dudHQTlezxXLbaLkDg7zqjmEtL
	5qREavReAVMQXP5d+6du4+ZVj3mgVrkMX9hDoGSF9LjRdD98OZf6xJMg/KJuMuko3lGMtj
	cjiIc7AIsqJxgfluF+gRHqXhCgGpM3a1bQhmEiQdBfTYsRp2lCpCIh49NyWOnQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Tus5+pAa;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: -1.34
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=Tus5+pAa;
	dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Queue-Id: 101D8FD31
X-Spam-Score: -1.34
X-Migadu-Scanner: scn0.migadu.com
X-TUID: khYisHJCdp9a


Hi Bhavin! Great to see you on the mailing list :)

Thank you so much for looking at the bugs, investigating one, /and/
working out a fix. That's absolutely fantastic of you!

For cumulative contributions under 15 (non-trivial) lines from a
contributor (such as yourself) we can accept (i.e. merge without FSF
papers) the changes and with a "TINYCHANGE" line at the end of the
commit message --- but I see you've noticed this and have a nicely
formatted commit message, brilliant!

Thanks again, and I hope to see you around,

Timothy.

p.s. For merging hopefully someone like Nicolas or Bastien will be able
to take a look at the commit. It looks good to me though :)

Bhavin Gandhi <bhavin7392@gmail.com> writes:

> Finally after spending a couple of hours, I was able to understand the code
> of org-refile-get-location \o/. The detailed bug report helped me to
> understand the issue. I'm attaching a patch here which should fix the
> problem, it has other details as well. I have tested a few basic scenarios
> as mentioned in the report.
>
> OTOH, I haven't signed the FSF Copyright assignment yet, should I do it
> before this gets merged or it can be done later?