From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: Feature suggestion: context sensitive movement Date: Fri, 19 Jun 2009 10:33:36 -0700 Message-ID: <20524da70906191033q3d06d339nf821fe902422846f@mail.gmail.com> References: <20524da70906181254y5fc43f9dh564f8aa0fe3c6a59@mail.gmail.com> <62CD457A-F0C3-4BDB-B6FA-CD707C2D43AF@gmail.com> 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 1MHhyU-0002gN-SN for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 13:34:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MHhyQ-0002Uu-1y for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 13:34:02 -0400 Received: from [199.232.76.173] (port=49820 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MHhyP-0002UP-RG for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 13:33:57 -0400 Received: from mail-px0-f176.google.com ([209.85.216.176]:55433) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHhyP-00037I-BB for emacs-orgmode@gnu.org; Fri, 19 Jun 2009 13:33:57 -0400 Received: by pxi6 with SMTP id 6so2053515pxi.14 for ; Fri, 19 Jun 2009 10:33:56 -0700 (PDT) In-Reply-To: <62CD457A-F0C3-4BDB-B6FA-CD707C2D43AF@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org 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 w= rote: >> 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 cont= ext > with > > > org-at-item-p =A0 =A0;; first line only > org-in-item-p =A0 =A0;; does not have to be first line > org-at-heading-p > --=20 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