emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Geralt <usr.gentoo@googlemail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Go to top node
Date: Fri, 7 Aug 2009 21:09:22 +0200	[thread overview]
Message-ID: <fbdd0e50908071209g5d22dbc6uc75014b6decffb2b@mail.gmail.com> (raw)
In-Reply-To: <m2eirnzhb4.fsf@gmail.com>

On Fri, Aug 7, 2009 at 7:04 PM, Eric Schulte<schulte.eric@gmail.com> wrote:
> 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
>
Hi,

thanks, that's great :)



Geralt.

      reply	other threads:[~2009-08-07 19:09 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
2009-08-07 19:09     ` Geralt [this message]

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=fbdd0e50908071209g5d22dbc6uc75014b6decffb2b@mail.gmail.com \
    --to=usr.gentoo@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.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).