all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel J. Sinder" <djsinder@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: help with checklist/shopping list
Date: Wed, 17 Dec 2008 22:18:40 -0800	[thread overview]
Message-ID: <4949EB40.6030706@gmail.com> (raw)
In-Reply-To: <392DBDB4-F9A2-4118-B47B-4A6A974A0AAE@uva.nl>

(Sorry for chiming in a week later.)

I think the best way to accomplish this, in that it combines the 
strengths of other suggestions, is to use properties and column 
view.  Building the structure is pretty easy since you only have to 
manually create the property drawer under the top-most heading.  The 
rest are inserted automatically when the check boxes are changed 
while in column view mode (using S-left or S-right).

Here's an implementation of your example.  Switching to column view 
shows you the summary count (i.e., [n/m]) for to top level (here 
[2/8]) AND each of the sub-levels (groceries [1/4], household [1/2], 
office supplies [0/2]).

* [2008-12-15 Mon]
   :PROPERTIES:
   :COLUMNS: %30ITEM %CHECKED{X/}
   :CHECKED_ALL: "[ ]" "[X]"
   :END:
** groceries
*** bananas
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:
*** apples
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:
*** oranges
     :PROPERTIES:
     :CHECKED:  [X]
     :END:
*** spinach
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:
** household
    :PROPERTIES:
    :CHECKED:  [1/2]
    :END:
*** laundry soap
     :PROPERTIES:
     :CHECKED:  [X]
     :END:
*** toilet paper
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:
** office supplies
    :PROPERTIES:
   :CHECKED:  [0/2]
    :END:
*** calendar for 2009
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:
*** printer paper
     :PROPERTIES:
     :CHECKED:  [ ]
     :END:


As Carsten Dominik so eloquently wrote on 12/11/2008 2:14 AM:
> Hi
> 
> There are technical reasons for why I cannot easily summarize all the 
> lists.
> 
> How about this trick:
> 
> * [2008-12-15 Mon] [1/8]
>   - groceries ------------------------------------
>   - [ ] bananas
>   - [X] apples
>   - [ ] oranges
>   - [ ] spinach
>   - household ------------------------------------
>   - [ ] laundry soap
>   - [ ] toilet paper
>   - office supplies ------------------------------
>   - [ ] calendar for 2009
>   - [ ] printer paper
> 
> 
> HTH
> 
> - Carsten
> 
> On Dec 10, 2008, at 8:42 PM, Dennis Groves wrote:
> 
>> I have 8 things on the list, but only 4 are seen???
>>
>>
>> *** [2008-12-15 Mon] [0/4]
>> groceries
>>   - [ ] bananas
>>   - [ ] apples
>>   - [ ] oranges
>>   - [ ] spinach
>> household
>>   - [ ] laundry soap
>>   - [ ] toilet paper
>> office supplies
>>   - [ ] calendar for 2009
>>   - [ ] printer paper
>>
>>
>> Dennis_______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 
> 
> 
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-12-18  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-10 19:42 help with checklist/shopping list Dennis Groves
     [not found] ` <5641883d0812101638r11aff384vbf0886cba3ef6cf1@mail.gmail.com>
2008-12-11  0:46   ` Oliver Charles
2008-12-11  5:01   ` Dennis Groves
2008-12-11 10:06     ` Oliver Charles
2008-12-11 10:14 ` Carsten Dominik
2008-12-18  6:18   ` Daniel J. Sinder [this message]

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

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

  git send-email \
    --in-reply-to=4949EB40.6030706@gmail.com \
    --to=djsinder@gmail.com \
    --cc=dominik@science.uva.nl \
    --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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.