* C-a in lists when org-special-ctrl-a/e
@ 2012-01-23 13:05 François Pinard
2012-01-23 17:41 ` Nicolas Goaziou
0 siblings, 1 reply; 9+ messages in thread
From: François Pinard @ 2012-01-23 13:05 UTC (permalink / raw)
To: emacs-orgmode
Hi, Org people.
This morning, I activated org-special-ctrl-a/e (setting it to "t"). It
works as documented on header lines having TODO keywords. 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 "]".
François
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 13:05 C-a in lists when org-special-ctrl-a/e François Pinard
@ 2012-01-23 17:41 ` Nicolas Goaziou
2012-01-23 17:57 ` François Pinard
0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2012-01-23 17:41 UTC (permalink / raw)
To: François Pinard; +Cc: emacs-orgmode
Hello,
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).
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 17:41 ` Nicolas Goaziou
@ 2012-01-23 17:57 ` François Pinard
2012-01-23 20:30 ` Nicolas Goaziou
0 siblings, 1 reply; 9+ messages in thread
From: François Pinard @ 2012-01-23 17:57 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 17:57 ` François Pinard
@ 2012-01-23 20:30 ` Nicolas Goaziou
2012-01-23 22:18 ` Anthony Lander
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Nicolas Goaziou @ 2012-01-23 20:30 UTC (permalink / raw)
To: François Pinard; +Cc: emacs-orgmode
pinard@iro.umontreal.ca (François Pinard) writes:
> 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.
Ok, then, let's read the spirit. I've implemented this behaviour in
master branch. We'll see how it goes.
Also, for those, like me, who would rather read the letter, I've also
modified the doc-string accordingly.
Thanks for your suggestion.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 20:30 ` Nicolas Goaziou
@ 2012-01-23 22:18 ` Anthony Lander
2012-01-27 15:08 ` Nicolas Goaziou
2012-01-23 22:55 ` François Pinard
2012-01-24 14:36 ` Bastien
2 siblings, 1 reply; 9+ messages in thread
From: Anthony Lander @ 2012-01-23 22:18 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: François Pinard, emacs-orgmode
On 12-Jan-23, at 3:30 PM, Nicolas Goaziou wrote:
> pinard@iro.umontreal.ca (François Pinard) writes:
>
>> 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.
>
> Ok, then, let's read the spirit. I've implemented this behaviour in
> master branch. We'll see how it goes.
It's interesting... I've wished for this for a long time, but now that you've built it, I see a problem: "[" is not in the beginning of word regex set, so there is no easy way to get back to the "[".
With that one sole exception, I think the behaviour gives a better user experience this way than the way it was before. It's easier to get to your text.
-anthony
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 20:30 ` Nicolas Goaziou
2012-01-23 22:18 ` Anthony Lander
@ 2012-01-23 22:55 ` François Pinard
2012-01-24 14:36 ` Bastien
2 siblings, 0 replies; 9+ messages in thread
From: François Pinard @ 2012-01-23 22:55 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode
Nicolas Goaziou <n.goaziou@gmail.com> writes:
>> 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.
> Ok, then, let's read the spirit. I've implemented this behaviour in
> master branch. We'll see how it goes. Also, for those, like me, who
> would rather read the letter, I've also modified the doc-string
> accordingly.
> Thanks for your suggestion.
Thanks for the implementation, and of course, for the open spirit :-).
François
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 20:30 ` Nicolas Goaziou
2012-01-23 22:18 ` Anthony Lander
2012-01-23 22:55 ` François Pinard
@ 2012-01-24 14:36 ` Bastien
2 siblings, 0 replies; 9+ messages in thread
From: Bastien @ 2012-01-24 14:36 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: François Pinard, emacs-orgmode
Hi Nicolas,
Nicolas Goaziou <n.goaziou@gmail.com> writes:
>> 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.
>
> Ok, then, let's read the spirit. I've implemented this behaviour in
> master branch. We'll see how it goes.
I think this is a good change, thanks for implementing it!
--
Bastien
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-23 22:18 ` Anthony Lander
@ 2012-01-27 15:08 ` Nicolas Goaziou
2012-01-27 16:02 ` Anthony Lander
0 siblings, 1 reply; 9+ messages in thread
From: Nicolas Goaziou @ 2012-01-27 15:08 UTC (permalink / raw)
To: Anthony Lander; +Cc: François Pinard, emacs-orgmode
Hello,
Anthony Lander <anthony@landerfamily.ca> writes:
> It's interesting... I've wished for this for a long time, but now that
> you've built it, I see a problem: "[" is not in the beginning of word
> regex set, so there is no easy way to get back to the "[".
There is C-M-b.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: C-a in lists when org-special-ctrl-a/e
2012-01-27 15:08 ` Nicolas Goaziou
@ 2012-01-27 16:02 ` Anthony Lander
0 siblings, 0 replies; 9+ messages in thread
From: Anthony Lander @ 2012-01-27 16:02 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: François Pinard, emacs-orgmode
On 12-Jan-27, at 10:08 AM, Nicolas Goaziou wrote:
> Hello,
>
> Anthony Lander <anthony@landerfamily.ca> writes:
>
>> It's interesting... I've wished for this for a long time, but now that
>> you've built it, I see a problem: "[" is not in the beginning of word
>> regex set, so there is no easy way to get back to the "[".
>
> There is C-M-b.
Indeed there is! Thank you Nicolas, I didn't even think to try that.
-Anthony
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-01-27 16:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-23 13:05 C-a in lists when org-special-ctrl-a/e François Pinard
2012-01-23 17:41 ` Nicolas Goaziou
2012-01-23 17:57 ` François Pinard
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
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).