From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: `C-u 2 S-Tab' with `#+STARTUP: odd' Date: Wed, 14 Oct 2009 13:56:33 +0200 Message-ID: <4AD5BC71.4040608@alumni.ethz.ch> References: <4AD2D9A9.1030504@alumni.ethz.ch> <4AD38AE1.7000409@alumni.ethz.ch> <8850D7A8-1F73-494D-98CF-10AA691B1170@gmail.com> <4AD56D56.5050302@alumni.ethz.ch> <87fx9m1b12.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My2TP-0005DX-VO for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:56:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My2TL-0005A4-8m for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:56:55 -0400 Received: from [199.232.76.173] (port=40230 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My2TL-00059t-1d for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:56:51 -0400 Received: from mail01.solnet.ch ([212.101.4.135]:49778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My2TK-0000CZ-J2 for emacs-orgmode@gnu.org; Wed, 14 Oct 2009 07:56:50 -0400 In-Reply-To: <87fx9m1b12.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org >> 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. Thank you, exactly what I have missed.