Re: [O] Best way to implement project specific captures

2012-08-25 Thread Richard Riley
Bastien writes: > Hi Richard, > > Richard Riley writes: > >> ALso it would be really really nice if it would >> use the existing org file if that file is on the agenda list and I dont >> specify a path component on the destination file variable in the >> template. > > Mhh... can't parse this, so

Re: [O] Best way to implement project specific captures

2012-08-24 Thread Bastien
Hi Richard, Richard Riley writes: > ALso it would be really really nice if it would > use the existing org file if that file is on the agenda list and I dont > specify a path component on the destination file variable in the > template. Mhh... can't parse this, sorry :/ Can you re-explain agai

Re: [O] Best way to implement project specific captures

2012-08-24 Thread Bastien
Hi Richard, Richard Riley writes: > Hi, my head isnt really in org "mode" (oops!) at the moment, how would I > then implement the template for "files under this directory" as > originally mentioned? The in-file and not-in-file conditions use regexp and expanded file names. You can use your dir

Re: [O] Best way to implement project specific captures

2012-08-24 Thread Richard Riley
Bastien writes: > Richard Riley writes: > >> I see Bastien and Carsten are in on the thread too, I'll step back and >> see in what direction this now goes ;) Thanks again for the great >> feature! > > This is how it works right now. > > For each agenda custom command or capture template, you can

Re: [O] Best way to implement project specific captures

2012-08-24 Thread Bastien
Richard Riley writes: > I see Bastien and Carsten are in on the thread too, I'll step back and > see in what direction this now goes ;) Thanks again for the great > feature! This is how it works right now. For each agenda custom command or capture template, you can define a context where it wi

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Richard Riley
Sylvain Rousseau writes: > It is an org-capture issue. You have to specify the full path of the org file > in the template even if this file is an agenda > file. Otherwise org-capture assumes that the file is located in > `org-directory'. with no path to use the "existing one" would be a real b

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Sylvain Rousseau
2012/8/23 Carsten Dominik : > I am wondering if the following feature would be useful as well: Context > sensitivity sounds most interesting to me if the same key would do different > things in different contexts. I am not sure if this is possible with the > current implementation? For exampl

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Bastien
Hi Carsten, Carsten Dominik writes: > I am wondering if the following feature would be useful as well: Context > sensitivity sounds most interesting to me if the same key would do > different things in different contexts. I am not sure if this is possible > with the current implementation? For

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Jambunathan K
May be dir local variables could be used? Carsten Dominik writes: > Hi Sylvain and Bastien, > > this is an interesting idea! > > I am wondering if the following feature would be useful as well: > Context sensitivity sounds most interesting to me if the same key > would do different things in di

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Carsten Dominik
Hi Sylvain and Bastien, this is an interesting idea! I am wondering if the following feature would be useful as well: Context sensitivity sounds most interesting to me if the same key would do different things in different contexts. I am not sure if this is possible with the current implemen

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Bastien
Sylvain Rousseau writes: >> One possible enhancement: allow using only the capture/agenda >> template instead of the full template in > `org-context-capture-alist' >> and `org-context-agenda-alist'. > > Good idea! Adding it to my todo list with org-context ;-) Actually I love your idea so much I

Re: [O] Best way to implement project specific captures

2012-08-23 Thread Sylvain Rousseau
It is an org-capture issue. You have to specify the full path of the org file in the template even if this file is an agenda file. Otherwise org-capture assumes that the file is located in `org-directory'. > Can you advise further? (Looks great regardless btw!) Thank you, building on Bastien's s

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Richard Riley writes: > Sylvain Rousseau writes: > >> Have a look at https://github.com/thisirs/org-context : Context agenda and >> capture for Org-mode >> >> It dynamically adds templates depending on the buffer you are currently >> editing. New templates are available with the key >> "c" or

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Sylvain Rousseau writes: > Have a look at https://github.com/thisirs/org-context : Context agenda and > capture for Org-mode > > It dynamically adds templates depending on the buffer you are currently > editing. New templates are available with the key > "c" or merged if there is no conflict wi

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Richard Riley
Sylvain Rousseau writes: > Have a look at https://github.com/thisirs/org-context : Context agenda and > capture for Org-mode > > It dynamically adds templates depending on the buffer you are currently > editing. New templates are available with the key > "c" or merged if there is no conflict wi

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Sylvain Rousseau
> One possible enhancement: allow using only the capture/agenda > template instead of the full template in `org-context-capture-alist' > and `org-context-agenda-alist'. Good idea! Adding it to my todo list with org-context ;-) If you think this addon deserves to be added to the contrib directory,

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Bastien
Bastien writes: > allow using only the capture/agenda > template instead of the full template Of course, this should read: ... template letter instead of the full template definition. -- Bastien

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Bastien
Hi Sylvain, Sylvain Rousseau writes: > Have a look at https://github.com/thisirs/org-context : Context > agenda and capture for Org-mode I *love* it! This would be a great addition to contrib/lisp/ -- doors are open, just ring the bell. One possible enhancement: allow using only the capture/

Re: [O] Best way to implement project specific captures

2012-08-22 Thread Sylvain Rousseau
Have a look at https://github.com/thisirs/org-context : Context agenda and capture for Org-mode It dynamically adds templates depending on the buffer you are currently editing. New templates are available with the key "c" or merged if there is no conflict with existing ones. Hope this helps, Sy

[O] Best way to implement project specific captures

2012-08-21 Thread Richard Riley
Currently I maintain a datetree journal capture using a template so , | ("j" "journal" entry (file+datetree "journal.org") | "* %?\n\t:PROPERTIES:\n\t:DateCreated: %T\n\t:Link: %a\n\t:END:\n") ` I also use j rockways' eproject set