emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org capture with predefined entries from a list?


From: Bastien
Subject: Re: [Orgmode] Org capture with predefined entries from a list?
Date: Wed, 22 Sep 2010 09:13:13 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)

Hi Miguel,

Miguel Ruiz <address@hidden> writes:

>> You should explore using multiple keys for the capture template
>> definition -- see the manual:
>
> Do you mean I should generate all the combinations and assign a
> template to each one? 

Yes.

> Can you provide any kind of minimal example? 

(setq org-capture-templates
  '(("l" "LifeHacking")                  
    ("lw" "LifeHacking write something") 
    ("lw+" "LH write something clever" entry
           (file+headline "~/org/bzg.org" "LifeHacking")
           "* INPROGRESS My new clever writing\n\n%?" :prepend t)
    ("lw-" "LH write something stupid" entry
           (file+headline "~/org/bzg.org" "LifeHacking")
           "* INPROGRESS My new stupid writing\n\n%?" :prepend t)))

M-x org-capture RET will let you select the "l" menu entry for
"LifeHacking", then the "w" menu entry which is more specific, etc.  
You can easily emulate the example you gave in your previous email.

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]