emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Jones <mlists@pmade.com>
To: emacs-orgmode@gnu.org
Subject: Re: Feature request: org-goto hierarchical path completion with ido
Date: Wed, 18 Mar 2009 10:48:07 -0600	[thread overview]
Message-ID: <86r60uaibc.fsf@pmade.com> (raw)
In-Reply-To: 08B80BD5-3EB0-4F1F-B09D-988FAA8D0628@uva.nl

Carsten Dominik <dominik@science.uva.nl> writes:
> This is `C-u C-c C-w', it uses the refile command interface
> to go to a location.

I'm always looking for a faster way to move around my org buffers, so
based on what you said above, I tried setting org-refile-targets like
so:

  (setq org-refile-targets '((nil . (:maxlevel . 2))))

And then tried using C-u C-c C-w to move around.  Unfortunately, it's
not very practical for moving around since if you want to move somewhere
in the same tree you get this error:

  Cannot refile to position inside the tree or region

It would really be neat if there was a way to jump to a specific
heading, no matter how deep, by just typing a few key strokes.  Right
now, I'm using C-s to do this, but the idea of having auto-completion is
compelling.

How about something like this:

1. Using a key binding, you enter a movement mode (ido, mini-buffer)

2. You select the first level heading you want (just like C-c C-w)

3. Point moves to the heading you selected

4. You are prompted for a second level heading

5. Either choose a heading, or do C-g to stay where you are

6. Continue until you get where you want to be

Does that sound interesting to anyone?  If so, I could put together
something for us to play with.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US

  reply	other threads:[~2009-03-18 16:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-17 16:59 Feature request: org-goto hierarchical path completion with ido news
2009-03-17 19:11 ` Carsten Dominik
2009-03-18 16:48   ` Peter Jones [this message]
2009-03-19 16:40     ` Carsten Dominik
2009-03-19 18:08       ` Peter Jones

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=86r60uaibc.fsf@pmade.com \
    --to=mlists@pmade.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).