emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kevin Buchs <kevin.buchs.junk@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Cycling on the ellipsis
Date: Mon, 26 Sep 2011 16:19:16 -0500	[thread overview]
Message-ID: <CAEqjYhsTa5A0SAp8MfTb9uo1LBP9oxVAmNuk24g1rNFDDnskaQ@mail.gmail.com> (raw)

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

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

                 reply	other threads:[~2011-09-26 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEqjYhsTa5A0SAp8MfTb9uo1LBP9oxVAmNuk24g1rNFDDnskaQ@mail.gmail.com \
    --to=kevin.buchs.junk@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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