all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrew Stribblehill <ads@wompom.org>
To: "Jan Böcker" <lists.jan@jboecker.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Fast way to jump to another specific heading?
Date: Fri, 14 Aug 2009 00:22:56 +0100	[thread overview]
Message-ID: <1f38ae890908131622r1f3b75cdt92dd1a87fda110d7@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.00.0908131455230.3343@localhost.localdomain>

Have you tried the org-refile interface? C-u C-c C-w lets you jump to
a heading using the same interface you get when refiling, so you can
customise it easily.

My org-refile config is:

(setq org-refile-targets '((org-agenda-files :maxlevel . 2))
      org-refile-use-outline-path 'file
      org-refile-target-verify-function
      (lambda ()
	(not (member "ARCHIVE" (org-get-tags)))))

This lets me go to whichever file I choose out of the list of agenda
files then up to two deep into the hierarchy, filtering out archived
sections. If you're sticking to one file, perhaps see if (setq
org-refile-use-outline-path t) is to your taste.

2009/8/13 Jan Böcker <lists.jan@jboecker.de>:
> Hello,
>
> at the moment I use one org-mode file per project and use ido.el's fuzzy
> search to quickly open the appropriate project file. However, this tends to
> clutter up my buffer list when I forget to kill buffers after using them.
>
> I'd like to use only one file to store all my active projects and use ido.el
> to quickly jump to another project node ("project nodes" being defined as,
> say, all direct descendants of a particular top-level node).
> Ideally, after jumping to the node, the outline would automatically be
> narrowed down to the target node.
>
> Are there similar facilities already present in org-mode that I missed?
>
> If not, I'd like to propose a new feature: take the results of a custom
> agenda view (as those allow us to define powerful searches), then feed the
> results to ido-mode or the standard emacs autocompletion for the user to
> select one to jump to.
> Unfortunately, my elisp-fu (and knowledge of org-mode internals) is way too
> insufficient to implement something like that myself.
>
> Jan
>
>
> _______________________________________________
> 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
>

  reply	other threads:[~2009-08-13 23:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 13:29 Fast way to jump to another specific heading? Jan Böcker
2009-08-13 23:22 ` Andrew Stribblehill [this message]
2009-08-14  2:00 ` Matt Lundin
2009-08-14  4:48   ` Jan Böcker

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=1f38ae890908131622r1f3b75cdt92dd1a87fda110d7@mail.gmail.com \
    --to=ads@wompom.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=lists.jan@jboecker.de \
    /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.