emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Speed commands


From: Eric S Fraga
Subject: Re: [Orgmode] Speed commands
Date: Fri, 20 Nov 2009 20:36:39 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Fri, 20 Nov 2009 19:13:11 +0100,
Stephan Schmitt wrote:
> 
> Hi Eric,
> 
> try this:
> 
> (progn
>   (org-cycle-agenda-files)
>        (when (not (and (bolp) (org-on-heading-p)))
>        (outline-previous-visible-heading 1)
>        (or (and (bolp) (org-on-heading-p))
>            (outline-next-visible-heading 1))))

Excellent.  Works perfectly.  (and makes so much sense that it gives
me a doh moment -- why didn't I think of that?  isn't hindsight
wonderful? :-) 

Many thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]