emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Feature suggestion: context sensitive movement


From: Samuel Wales
Subject: Re: [Orgmode] Feature suggestion: context sensitive movement
Date: Fri, 19 Jun 2009 10:33:36 -0700

These look very useful.  Is there one for moving to the parent item,
and is there one for moving to the item first line analogous to
back-to-heading?

My idea is to write a command that does something approx. like this:

;;;    (cond
;;;      ((org-at-item-p) (org-item-up)) ;parent
;;;      ((org-in-item-p) (org-back-to-item-heading))
;;;      ((org-at-heading-p) (outline-up-heading))
;;;      (t (outline-back-to-heading)))

Thanks.

On Thu, Jun 18, 2009 at 23:17, Carsten Dominik<address@hidden> wrote:
>> Are there any functions to navigate plain lists?
>
> org-beginning-of-item
> org-end-of-item
> org-next-item
> org-previous-item
> org-beginning-of-item-list
>
> You could make you bindings below work for lists as well by checking context
> with
>
>
> org-at-item-p    ;; first line only
> org-in-item-p    ;; does not have to be first line
> org-at-heading-p
>



-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering,
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




reply via email to

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