From: Carsten Dominik <dominik@science.uva.nl>
To: Russell Adams <RLAdams@AdamsInfoServ.Com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Todo Templates
Date: Sat, 22 Mar 2008 18:23:08 +0100 [thread overview]
Message-ID: <95154A94-6CFC-453C-BF18-F06A94AE57AC@science.uva.nl> (raw)
In-Reply-To: <20080321174245.GC26299@odin.demosthenes.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 <RLAdams@AdamsInfoServ.Com> 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
next prev parent reply other threads:[~2008-03-22 17:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 16:48 Todo Templates Russell Adams
2008-03-21 17:20 ` Bernt Hansen
2008-03-21 17:42 ` Russell Adams
2008-03-21 19:09 ` Bernt Hansen
2008-03-22 17:23 ` Carsten Dominik [this message]
2008-03-23 13:13 ` Carsten Dominik
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=95154A94-6CFC-453C-BF18-F06A94AE57AC@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=RLAdams@AdamsInfoServ.Com \
--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.