[O] Dynamically creating capture mode templates

2015-10-09 Thread tenspd137 .
Hi all - I was hoping someone could help me figure this out. I have the following in a .el file I am loading to create keys for my projects: (setq projects '("Aa" "Bb" "Cc" "Dd") (let (firstLetter) (dolist (project projects firstLetter) (setq firstLetter (substring project 0 1))

Re: [O] Dynamically creating capture mode templates (solved)

2015-10-09 Thread tenspd137 .
uct 0 1) "t" ) "Todo" entry (file+headline (concat org-directory "/default.org") ,product) "* TODO %?" ) Again - I hope this helps someone else in the future. Thanks! On Fri, Oct 9, 2015 at 12:34 PM, tenspd137 . <dcday...@gmail.com> wrote: >

Re: [O] Multiple capture templates in file

2015-10-07 Thread tenspd137 .
ct - Todo" entry (file+headline (concat org-directory "/product.org") "Tasks") "* TODO %?")) )) and stuck it in a test.el file. I loaded it at the end of my org-mode configuration in .emacs and I go the submenus I wanted. I think I figured it out and have the r

[O] Multiple capture templates in file

2015-10-06 Thread tenspd137 .
Hi all, I am trying to figure out how to store multiple capture templates in a file, have several files of related templates, and then load all the files stored in a directory. For example, lets say I have two projects at work WorkProject1 and WorkProject2. Then I have two files in a directory

Re: [O] Multiple capture templates in file

2015-10-06 Thread tenspd137 .
...@gmail.com> wrote: > Hi! > > "tenspd137 ." <dcday...@gmail.com> writes: > >> I am trying to figure out how to store multiple capture templates in a >> file, have several files of related templates, and then load all the >> files stored in a di

Re: [O] Multiple capture templates in file

2015-10-06 Thread tenspd137 .
One thought I need to try either pushing one item at a time or concatenation the list of options. I'll try it when I get a chance. Playtime is over for now. Thanks for all help and suggestions so far. C On Oct 6, 2015 5:43 PM, "tenspd137 ." <dcday...@gmail.com> wrote: > I c

Re: [O] Multiple capture templates in file

2015-10-06 Thread tenspd137 .
ry "/product.org") "Tasks") "* TODO %?")) org-capture-templates) and then I use C-c n to go to capture mode, it just hangs with the mouse cursor in a spinning wheel. Am I not translating the part to go into submenus correctly, or can you not add sub-menus as I a

[O] org-capture-templates with multi charachter keys

2015-10-02 Thread tenspd137 .
Hi all, I can't seem to find an answer for this, maybe someone could tell me what I am doing wrong. Based on what I read in the manual and examples I have seen, the following is valid for creating org-capture-templates: (setq org-capture-templates '(("t" "Todo" entry (file+headline