From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: bug: cannot refile x to x, or go to x, where headers have the same name Date: Tue, 05 Apr 2016 23:49:57 +0200 Message-ID: <87mvp74tfe.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anYpF-0000U4-FY for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 17:47:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anYpC-0002MK-9a for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 17:47:53 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:58911) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anYpC-0002LT-2t for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 17:47:50 -0400 In-Reply-To: (Samuel Wales's message of "Mon, 4 Apr 2016 21:09:55 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode Hello, Samuel Wales writes: > i often refile a header to a target that has the same name as the > source. they are different headers, but they have the same name. > > my goal is to send x(1) to x(2) so that the olpath looks like > x(2)/x(1). this to me is totally legitimate. i often have headers > with the same name, for various reasons. > > but org-refile removes the /source/ header name from the list of > /target/ candidates. perhaps the intention was to prevent refiling > something to itself. did that cause problems? There's a guard against it later in the process, so I guess it doesn't matter here. > but i am not refiling something to itself. they just have the same > name. they are different headers. > > furthermore, the same bug occurs with refile goto. > > i can work around this by adding random text to the source header, or > moving point for goto, but i'd rather not have to. > > can this interlock ve disabled or modified to allow different headers > with the same name? I disabled this exclusion in master. Thank you for suggesting it. Regards, -- Nicolas Goaziou