From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: `C-u 2 S-Tab' with `#+STARTUP: odd' Date: Wed, 14 Oct 2009 07:15:53 -0400 Message-ID: <87fx9m1b12.fsf@gollum.intra.norang.ca> References: <4AD2D9A9.1030504@alumni.ethz.ch> <4AD38AE1.7000409@alumni.ethz.ch> <8850D7A8-1F73-494D-98CF-10AA691B1170@gmail.com> <4AD56D56.5050302@alumni.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My1pq-0004UZ-Ol for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:16:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My1pn-0004Oy-6R for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:16:02 -0400 Received: from [199.232.76.173] (port=47350 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My1pn-0004Ob-0n for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:15:59 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:50190) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1My1pl-0002m8-QN for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:15:57 -0400 In-Reply-To: <4AD56D56.5050302@alumni.ethz.ch> (Michael Brand's message of "Wed\, 14 Oct 2009 08\:19\:02 +0200") 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: Michael Brand Cc: emacs-orgmode@gnu.org, Carsten Dominik Michael Brand writes: > Here I am lost and would like some help. I was not able to find out > how to determine if the cursor is on a line with an outline heading or > not. I think you can use the function org-on-heading-p to determine if you are on a heading or not. HTH -Bernt