From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eddward DeVilla" Subject: Re: definition lists in org-mode Date: Fri, 6 Jul 2007 10:25:34 -0500 Message-ID: References: <468E11C4.50604@calicojack.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I6pgz-0005Br-F5 for emacs-orgmode@gnu.org; Fri, 06 Jul 2007 11:25:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I6pgv-00058w-9X for emacs-orgmode@gnu.org; Fri, 06 Jul 2007 11:25:56 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I6pgu-00058p-Qh for emacs-orgmode@gnu.org; Fri, 06 Jul 2007 11:25:52 -0400 Received: from nz-out-0506.google.com ([64.233.162.232]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I6pgt-0006bx-CM for emacs-orgmode@gnu.org; Fri, 06 Jul 2007 11:25:51 -0400 Received: by nz-out-0506.google.com with SMTP id f1so206404nzc for ; Fri, 06 Jul 2007 08:25:34 -0700 (PDT) In-Reply-To: <468E11C4.50604@calicojack.co.uk> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Moynihan Cc: org-mode On 7/6/07, Rick Moynihan wrote: > Out of curiousity this led me to try doing something like this: > > (setq org-todo-keywords > '((sequence "TODO" "|" "DONE") > (type "[ ]" "|" "[X]") > )) > > i.e. Hack an implementation of checkboxes onto the todo-keywords > feature. Unfortunately it fails to work, the checkboxes aren't > recognised as TODO keywords, and don't cycle properly. Obviously also > C-c can't be used to toggle them (as it adds tags) and these wouldn't be > real checkboxes. I also tied this, coming from hnb and also trying to match the free form note I made prior to discovering outliners. I guess that's why I'm a big fan of folding plain lists. I like the TODO entries, but they are for complicated things like projects or things that should stand out, like a section header. I use the lists for littler tasks like "edit file", "find this answer" or "run regressions". > I'm not sure if there is a need for checkboxes in outlines. When I > started with org-mode this is something I felt like I needed; though > this is likely due to me having previously used vim outliner for about a > year. Well I use the plain lists and checkboxes in my outlines. I use the progrss tokens in parent list items and section header outline entries. The org outline entries and plain list entries are different and I don't think that is bad. That serve different purposes well. Agenda is aware of outline entries and ignores the plain lists. Plain lists are simpler and less decorated. Have both checkboxes and TODO sequences on outline entries feels a little cluttered. > Vim outliner supports checkboxes as part of outlines, which allows > folding etc... There is an option to allow folding in plain lists. I can't live without it. > It will also automatically check parent boxes when all > child boxes are checked (is there a way for org-mode to do this???) hnb would replace checkbox with a percentage in parent nodes. Org-mode have two tokens that you can put in an outline entry or in plain lists (and maybe other places?) that will gave the percentage or ratio of completed checkboxes. '[/]' & '[%]' It updates them when you create or check a checkbox using an org binding or function. It only totals for the current outline entry and not sub entries. In a plain list it will represent the sub-tree Edd