emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: emacs-orgmode@gnu.org
Subject: goto does not accept remote references for local targets
Date: Tue, 8 Mar 2011 16:36:48 +0000 (UTC)	[thread overview]
Message-ID: <loom.20110308T173520-481@post.gmane.org> (raw)

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.

             reply	other threads:[~2011-03-08 16:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08 16:36 Tom [this message]
2011-03-08 16:48 ` goto does not accept remote references for local targets Tom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20110308T173520-481@post.gmane.org \
    --to=adatgyujto@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).