From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buchs Subject: Cycling on the ellipsis Date: Mon, 26 Sep 2011 16:19:16 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec50161e91fa7b504addeb6d1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ia7-0001nH-5p for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 17:19:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Ia6-0004AH-3K for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 17:19:19 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:57693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Ia5-0004A4-Tw for emacs-orgmode@gnu.org; Mon, 26 Sep 2011 17:19:18 -0400 Received: by vcbfo14 with SMTP id fo14so4096309vcb.0 for ; Mon, 26 Sep 2011 14:19:16 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --bcaec50161e91fa7b504addeb6d1 Content-Type: text/plain; charset=ISO-8859-1 I would really like my tab key to cycle a closed heading when I am on the ellipsis. Looking at org.el where org-cycle is defined, I see that it does this: (save-excursion (beginning-of-line 1) (looking-at org-outline-regexp))) So, if it were on the ellipsis, it seems like it ought to come to the beginning of the line before check whether it is on a heading, but apparently it doesn't. So, I am thinking that I'm not actually on the same line that contains the heading. My C-a key is mapped to org-beginning-of-line, which takes me from the end of the line, starting on the ellipsis to the beginning. So, I'm wondering if the code from org-cycle should call org-beginning-of-line instead of beginning-of-line to give me the functionality I would like. --bcaec50161e91fa7b504addeb6d1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I would really like my tab key to cycle a closed=A0heading when I am o= n the ellipsis. Looking at org.el where org-cycle is defined, I see that it= does this:
=A0 (save-excursion (beginning-of-line 1)
=A0=A0 (lookin= g-at org-outline-regexp)))
=A0
So, if it were on the ellipsis, it seems like it ought to come to the = beginning of the line before check whether it is on a heading, but apparent= ly it doesn't. So, I am thinking that I'm not actually on the same = line that contains the heading. My C-a key is mapped to org-beginning-of-li= ne, which takes me from the end of the line, starting on the ellipsis to th= e beginning. So, I'm wondering if the code from org-cycle should call o= rg-beginning-of-line instead of beginning-of-line to give me the functional= ity I would like.
--bcaec50161e91fa7b504addeb6d1--