From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geralt Subject: Re: Go to top node Date: Fri, 7 Aug 2009 21:09:22 +0200 Message-ID: References: <14568.1249664171@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZUol-0008Kb-TS for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 15:09:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZUog-0008KP-EF for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 15:09:30 -0400 Received: from [199.232.76.173] (port=49697 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZUog-0008KM-7Z for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 15:09:26 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:55560) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZUof-0002Zx-OF for emacs-orgmode@gnu.org; Fri, 07 Aug 2009 15:09:25 -0400 Received: by ewy7 with SMTP id 7so1703261ewy.42 for ; Fri, 07 Aug 2009 12:09:22 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org On Fri, Aug 7, 2009 at 7:04 PM, Eric Schulte wrote: > Nick Dokos writes: > >> Geralt 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 >> >> =A0 =A0 =A0 C-u C-c C-u will go up a maximum of 4 levels >> =A0 =A0 =A0 C-u C-u C-c C-u will go up a maximum of 16 levels >> =A0 =A0 =A0 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. =A0It is > similar to the behavior of paredit-mode in lisp files. > > --8<---------------cut here---------------start------------->8--- > ;; org-mode hook > (add-hook 'org-mode-hook > =A0 =A0 =A0 =A0 =A0(lambda () > =A0 =A0 =A0 =A0 =A0 =A0(local-set-key (kbd "\M-\C-n") 'outline-next-visib= le-heading) > =A0 =A0 =A0 =A0 =A0 =A0(local-set-key (kbd "\M-\C-p") 'outline-previous-v= isible-heading) > =A0 =A0 =A0 =A0 =A0 =A0(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.