emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Cycling on the ellipsis
@ 2011-09-26 21:19 Kevin Buchs
  0 siblings, 0 replies; only message in thread
From: Kevin Buchs @ 2011-09-26 21:19 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

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
  (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.

[-- Attachment #2: Type: text/html, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-26 21:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-26 21:19 Cycling on the ellipsis Kevin Buchs

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).