From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: bug: cannot refile x to x, or go to x, where headers have the same name Date: Tue, 5 Apr 2016 15:26:43 -0700 Message-ID: References: <87mvp74tfe.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anZQr-0003e2-Gh for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 18:26:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anZQq-0006bT-BE for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 18:26:45 -0400 Received: from mail-vk0-x229.google.com ([2607:f8b0:400c:c05::229]:33836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anZQq-0006bJ-4T for emacs-orgmode@gnu.org; Tue, 05 Apr 2016 18:26:44 -0400 Received: by mail-vk0-x229.google.com with SMTP id e185so36408619vkb.1 for ; Tue, 05 Apr 2016 15:26:44 -0700 (PDT) In-Reply-To: <87mvp74tfe.fsf@nicolasgoaziou.fr> 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 , emacs-orgmode thank you! On 4/5/16, Nicolas Goaziou wrote: > 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 > -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW.