From: Carsten Dominik <dominik@science.uva.nl>
To: Peter Jones <mlists@pmade.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Feature request: org-goto hierarchical path completion with ido
Date: Thu, 19 Mar 2009 17:40:36 +0100 [thread overview]
Message-ID: <DA366886-A48D-4A1F-83BE-EB83EFA6495D@uva.nl> (raw)
In-Reply-To: <86r60uaibc.fsf@pmade.com>
[-- Attachment #1.1: Type: text/plain, Size: 2642 bytes --]
On Mar 18, 2009, at 5:48 PM, Peter Jones wrote:
> 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
This is just a bug. Fixed now.
>
> 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.
This is what org-goto is for. You can select the interface
to be used with the variable org-goto-interface. Set it to
outline-path-completion and it will work like refiling.
You can configure the maximum depth for this command
with org-goto-max-level.
>
> 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
It will not work like this, but I think, in the end, you
would find that what you propose might feel slow again.
I believe you get the fatest interface by using
(setq org-outline-path-complete-in-steps nil)
and using ido for doing the completion on the full path.
The main difference between org-goto and calling org-refile
with a prefix argument is that the former always gives you
all headings to a certain depth in the current file, while
the latter offer a selection of important headings in
potentially many files.
I believe that many people only use the refile interface,
and then have both agenda targets, and current file targets
configured in org-refile-targets.
>
> 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
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 3697 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2009-03-19 16:41 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
2009-03-19 16:40 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DA366886-A48D-4A1F-83BE-EB83EFA6495D@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=mlists@pmade.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.