From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Date-tree navigation question Date: Mon, 05 Mar 2012 13:34:49 -0500 Message-ID: <87eht6nbg6.fsf@norang.ca> References: <4F54DB9D.4060904@alum.mit.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4ckU-0002mj-DD for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 13:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4ckO-0007cQ-VO for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 13:35:05 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:32190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4ckO-0007bF-RS for emacs-orgmode@gnu.org; Mon, 05 Mar 2012 13:35:00 -0500 In-Reply-To: <4F54DB9D.4060904@alum.mit.edu> (Robert Horn's message of "Mon, 05 Mar 2012 10:28:29 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: rjhorn@alum.mit.edu Cc: Org-mode list Robert Horn writes: > Is there a short simple key sequence that will take you to the last > entry in a date-tree and open that headline? Slightly better would be > a way to go to the last, and open the last N headlines. It could be > generalized into "go to end of current item and open last N items of > whatever depth" when applied to other outline forms. > > I know how to do this with tabs and cursor movement to walk down the > tree opening headlines as needed. This requires more work and paying > attention. > > I have not found a simple way to do this. Does one exist? Can't you just do something like this on the top-level headline for the tree C-c C-k C-c C-f M-7 C-c C-p (where N=7 in this example) That puts the cursor on the 7th-last heading (hope that makes sense) It's not particularly short though... C-c C-k - show all siblings C-c C-f - go forward to next headline M-7 C-c C-p - go back to previous heading 7 times or maybe C-c C-f C-b C-c C-r You should be able to build a local interactive function that takes a prefix argument for N to get you where you want to be. You can also use M-3 S-TAB to open show level 3 tasks and then navigate the folded tree. HTH, Bernt