emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: pinard@iro.umontreal.ca (François Pinard)
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: C-a in lists when org-special-ctrl-a/e
Date: Mon, 23 Jan 2012 12:57:51 -0500	[thread overview]
Message-ID: <878vky47z4.fsf@iro.umontreal.ca> (raw)
In-Reply-To: <87zkdeiafi.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 23 Jan 2012 18:41:05 +0100")

Nicolas Goaziou <n.goaziou@gmail.com> writes:

> pinard@iro.umontreal.ca (François Pinard) writes:

>> On check lists however, I would have expected a corresponding
>> behavior.  Currently, on the first C-a, the cursor moves back on the
>> "[" character, while I think it should move after the space following
>> "]".

> According to the documentation: "In an item, this will be the position
> after the bullet". Thus, that behaviour seems correct to me.  Note
> that check-boxes are not part of the bullet (text is indented below
> them on second line of an item).

The text says:

   When t, `C-a' will bring back the cursor to the beginning of the
   headline text, i.e. after the stars and after a possible TODO
   keyword.  In an item, this will be the position after the bullet.

It all depends if we read the letter or the spirit of the second
sentence.  "[ ]" is a kind of TODO, and "[X]" is a kind of DONE, as
demonstrated by the commands `C-x -' and `C-x *'.  That's why I quite
naturally expect the cursor to be positioned after the check box.

This is of course all debatable.  I think the spirit and usefulness of
org-special-ctrl-a/e would be better guaranteed, if the behavior was
amended.

François

  reply	other threads:[~2012-01-23 17:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-23 13:05 François Pinard
2012-01-23 17:41 ` Nicolas Goaziou
2012-01-23 17:57   ` François Pinard [this message]
2012-01-23 20:30     ` Nicolas Goaziou
2012-01-23 22:18       ` Anthony Lander
2012-01-27 15:08         ` Nicolas Goaziou
2012-01-27 16:02           ` Anthony Lander
2012-01-23 22:55       ` François Pinard
2012-01-24 14:36       ` Bastien

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=878vky47z4.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    --subject='Re: C-a in lists when org-special-ctrl-a/e' \
    /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

Code repositories for project(s) associated with this 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).