From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Horn Subject: Prefix arguments, checklists, and lists Date: Thu, 17 Jan 2013 12:07:37 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvswJ-0006Yj-95 for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 12:07:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvswF-0001YE-Go for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 12:07:43 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:33058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvswF-0001Y1-DK for emacs-orgmode@gnu.org; Thu, 17 Jan 2013 12:07:39 -0500 Received: from quad.robs.office (panix1.panix.com [166.84.1.1]) by mailbackend.panix.com (Postfix) with ESMTP id A752C2EAFD for ; Thu, 17 Jan 2013 12:07:38 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode 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 rjhorn@alum.mit.edu