emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, Geralt <usr.gentoo@googlemail.com>
Subject: Re: Go to top node
Date: Fri, 07 Aug 2009 11:04:31 -0600	[thread overview]
Message-ID: <m2eirnzhb4.fsf@gmail.com> (raw)
In-Reply-To: <14568.1249664171@gamaville.dokosmarshall.org> (Nick Dokos's message of "Fri, 07 Aug 2009 12:56:11 -0400")

Nick Dokos <nicholas.dokos@hp.com> writes:

> Geralt <usr.gentoo@googlemail.com> wrote:
>
>> 
>> is there a command that brings me from somewhere below a top-node to
>> the top-node of this (sub-tree)?
>> 
>
> C-c C-u is the keybinding for outline-up-heading: this can take a prefix
> argument to go up multiple levels. Using the universal prefix argument
> (C-u) multiplies the argument by four, so
>
>       C-u C-c C-u will go up a maximum of 4 levels
>       C-u C-u C-c C-u will go up a maximum of 16 levels
>       etc
>
> I tried the latter from 9 levels down and it brought me up to the top
> level. Will this do?
>

Somewhat related and potentially of interest,

I really like the following for outline-node based navigation.  It is
similar to the behavior of paredit-mode in lisp files.

--8<---------------cut here---------------start------------->8---
;; org-mode hook
(add-hook 'org-mode-hook
	  (lambda ()
	    (local-set-key (kbd "\M-\C-n") 'outline-next-visible-heading)
	    (local-set-key (kbd "\M-\C-p") 'outline-previous-visible-heading)
	    (local-set-key (kbd "\M-\C-u") 'outline-up-heading)))
--8<---------------cut here---------------end--------------->8---

-- Eric

>
> Nick
>
>
>
> _______________________________________________
> 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-07 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-07 14:12 Go to top node Geralt
2009-08-07 16:56 ` Nick Dokos
2009-08-07 17:04   ` Eric Schulte [this message]
2009-08-07 19:09     ` Geralt

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=m2eirnzhb4.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    --cc=usr.gentoo@googlemail.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 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).