all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Go to top node
@ 2009-08-07 14:12 Geralt
  2009-08-07 16:56 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Geralt @ 2009-08-07 14:12 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

is there a command that brings me from somewhere below a top-node to
the top-node of this (sub-tree)?




Thanks,

Geralt.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Go to top node
  2009-08-07 14:12 Go to top node Geralt
@ 2009-08-07 16:56 ` Nick Dokos
  2009-08-07 17:04   ` Eric Schulte
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2009-08-07 16:56 UTC (permalink / raw)
  To: Geralt; +Cc: emacs-orgmode

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?

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Go to top node
  2009-08-07 16:56 ` Nick Dokos
@ 2009-08-07 17:04   ` Eric Schulte
  2009-08-07 19:09     ` Geralt
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Schulte @ 2009-08-07 17:04 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode, Geralt

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Go to top node
  2009-08-07 17:04   ` Eric Schulte
@ 2009-08-07 19:09     ` Geralt
  0 siblings, 0 replies; 4+ messages in thread
From: Geralt @ 2009-08-07 19:09 UTC (permalink / raw)
  To: Eric Schulte; +Cc: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-07 19:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.