emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nikolaus Rath <Nikolaus@rath.org>
To: emacs-orgmode@gnu.org
Subject: Re: Visibility cycling at end of headline
Date: Thu, 23 Apr 2015 21:59:05 -0700	[thread overview]
Message-ID: <87a8xyt946.fsf@vostro.rath.org> (raw)
In-Reply-To: <87pp6u8d9b.fsf@kmlap.domain.org> (Kyle Meyer's message of "Thu, 23 Apr 2015 22:35:12 -0400")

On Apr 23 2015, Kyle Meyer <kyle@kyleam.com> wrote:
> Nikolaus Rath <Nikolaus@rath.org> wrote:
> [...]
>> * Sample heading 1...
>> * Sample heading 2
>>
>> If the cursor is to the right of the "1" (in particular if it's at the
>> end of the line), nothing happens.
>>
>> Why is this,
>
> I think this is because point is considered to be on the hidden text,
> not the headline, so the cycling behavior does not apply.  To test this,
> run `org-element-at-point' before and after '...'.

Yes, that seems to be a problem.

>> and is there a way to change it?
>
> C-a?

Well, obviously I meant a way to *automatically* have Tab work at the
end of the line (I think redefining Tab to first call C-a would break
stuff in other situations).

Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

  reply	other threads:[~2015-04-24  4:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-24  2:23 Visibility cycling at end of headline Nikolaus Rath
2015-04-24  2:35 ` Kyle Meyer
2015-04-24  4:59   ` Nikolaus Rath [this message]
2015-04-24  7:34     ` Eric S Fraga
2015-04-24 17:37       ` Charles C. Berry
2015-04-25  7:13         ` Nicolas Goaziou
2015-04-25 18:28           ` Charles C. Berry
2015-04-25 22:11             ` Nicolas Goaziou
2015-04-25  9:06         ` Eric S Fraga

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=87a8xyt946.fsf@vostro.rath.org \
    --to=nikolaus@rath.org \
    --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).