From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Todo Templates Date: Sat, 22 Mar 2008 18:23:08 +0100 Message-ID: <95154A94-6CFC-453C-BF18-F06A94AE57AC@science.uva.nl> References: <20080321164849.GB26299@odin.demosthenes.org> <87fxukf0zf.fsf@legolas.norang.ca> <20080321174245.GC26299@odin.demosthenes.org> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jd7R8-00046P-LL for emacs-orgmode@gnu.org; Sat, 22 Mar 2008 13:23:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jd7R4-00044v-1a for emacs-orgmode@gnu.org; Sat, 22 Mar 2008 13:23:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jd7R3-00044m-Va for emacs-orgmode@gnu.org; Sat, 22 Mar 2008 13:23:14 -0400 Received: from mu-out-0910.google.com ([209.85.134.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jd7R3-0008Fi-HP for emacs-orgmode@gnu.org; Sat, 22 Mar 2008 13:23:13 -0400 Received: by mu-out-0910.google.com with SMTP id g7so2953079muf.0 for ; Sat, 22 Mar 2008 10:23:12 -0700 (PDT) In-Reply-To: <20080321174245.GC26299@odin.demosthenes.org> 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: Russell Adams Cc: emacs-orgmode@gnu.org On Mar 21, 2008, at 6:42 PM, Russell Adams wrote: > I completely overlooked the fact that in column mode editing an item > with no properties creates those properties. > > Thats 90% of the way there. > > Is there a way to specify a default? Hmmm. In principle there is, because you can make a property use inheritance and define a default for the inheritance, just like Bernt has shown in his example for the EFFORT_ALL property. However, since the EFFORT property is a summary property, I think inheritance would be a problem. So the answer is no there is no good way to define a default value. I will put some thought into this, to see if this could be done in a useful way. Maybe you can use a template to insert new entries with the property already defined? - Carsten > > > On Fri, Mar 21, 2008 at 01:20:04PM -0400, Bernt Hansen wrote: >> Russell Adams writes: >> >>> So I'm setting up a sample project using column view to experiment >>> with durations, assignment, etc. >>> >>> I've noticed that I'm duplicating my property drawer manually, and >>> was >>> curious if there is a way to setup a default property drawer for new >>> items or a new todo hook I can tap into. >> >> If you use column view (C-c C-x C-c) and enter durations it creates >> property drawers in tasks that don't already have them. >> >> There's also a function org-insert-property-drawer. >> >> I've got the following setup: >> >> (setq org-global-properties '(("Effort_ALL" . "0 0:10 0:30 1:00 >> 2:00 3:00 4:00 5:00 6:00 7:00 8:00"))) >> (setq org-columns-default-format "%40ITEM(Task) %17Effort(Estimated >> Effort){:} %CLOCKSUM") >> >> and I just C-c C-x C-c on a parent task and use S-right to assign the >> effort durations to each task. >> >> HTH, >> Bernt >> >> >> _______________________________________________ >> 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 > > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > _______________________________________________ > 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