emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Cycling on the ellipsis


From: Kevin Buchs
Subject: [O] Cycling on the ellipsis
Date: Mon, 26 Sep 2011 16:19:16 -0500

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.

reply via email to

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