Org-mode mailing list
 help / color / mirror / Atom feed
From: Robert Horn <>
To: Org-mode <>
Subject: Prefix arguments, checklists, and lists
Date: Thu, 17 Jan 2013 12:07:37 -0500
Message-ID: <> (raw)

The keystroke bindings for lists need some examination and repair.  In 7.9.3 the situation is:

| Keystrokes          | First Item                        | Any other item            |
| C-c C-c             | Toggle completion this item       | Toggle this item          |
| C-u C-c C-c         | Toggle checkbox on/off whole list | Toggle checkbox this item |
| C-u C-u C-c C-c     | Set in-progess whole list         | Set in-progress this item |
| M-- C-c C-c         | Toggle completion whole list      | Toggle this item          |
| M-- C-u C-c C-c     | Toggle completion whole list      | Toggle this item          |
| M-- C-u C-u C-c C-c | Toggle completion whole list      | Toggle this item          |

Is this what is really intended?  The present behavior has the odd result that there is no sequence to toggle presence of checkbox for the first item, and there is no sequence to set in-progress for the first item.  The first item must be manually edited.  (Or maybe there's another sequence that I haven't found.)

I think this is a bug.  But the intended behavior is unclear, and the proper fix is unclear. 

I personally find that I want to apply a change to individual items far more often than I want to change the whole list.  So I would pick the prefixes C-u and C-u C-u for the single item behavior in all cases, and add a different prefix to mean "apply to whole list".  Perhaps a numeric prefix of "-1"?  That's not unreasonably hard to type.  Then toggling checkbox presence for the whole list would be M-- C-u C-c C-c, and toggling the whole list for in-progress would be M-- C-u C-u C-c C-c.  The user mental model becomes "M-- means apply to whole list", which means tracking down any other relevant commands and fixing them too. The current implementation is close to this.

R Horn

             reply	other threads:[~2013-01-17 17:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-17 17:07 Robert Horn [this message]
2013-01-18 21:08 ` Nicolas Goaziou
2013-01-21 16:31   ` Robert Horn
2013-01-25 13:58     ` Nicolas Goaziou
2013-02-03 17:24       ` Robert Horn
2013-02-04 22:36         ` Nicolas Goaziou
2013-02-07  8:33           ` 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:

  List information:

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

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Org-mode mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror list/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 list list/ \
	public-inbox-index list

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone