From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Subject: goto does not accept remote references for local targets Date: Tue, 8 Mar 2011 16:36:48 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=38030 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PwzuF-0003Mx-1A for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 11:37:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwzuD-0005RR-3M for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 11:37:06 -0500 Received: from lo.gmane.org ([80.91.229.12]:50967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwzuC-0005RD-Sg for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 11:37:05 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PwzuC-0003mn-6D for emacs-orgmode@gnu.org; Tue, 08 Mar 2011 17:37:04 +0100 Received: from 94-21-242-64.pool.digikabel.hu ([94.21.242.64]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2011 17:37:03 +0100 Received: from adatgyujto by 94-21-242-64.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Mar 2011 17:37:03 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I use the goto interface of org-refile a lot to navigate in my org files and I often run into the annoying behavior that goto insists on using local target format when jumping to a header in the current buffer. For example, let's assume I have a todo.org file in which there's a heading called 'test'. If I'm in an other org file then I can jump to this heading easily with completion. Org completes this target as "test (todo.org)". After jumping to this target I move somewhere else in todo.org and then I want to go this "test" target again. I want to do this by invoking goto and simply selecting the previous history element "test (todo.org)" from its history and pressing Enter. I don't want type and complete it again, because the target is already in the history. The problem is if I'm in todo.org then goto accepts local targets only by their name (without the (todo.org) qualifier), so it accepts the target only as "test", but not as "test (todo.org)". The two format should be equivalent in all contexts in my opinion and goto should accept both of them for the convenience of the user, regardless of which file is current at the moment.