Re: [O] Capture with org-directory not working?

2016-11-30 Thread Nick Dokos
Alexander Vorobiev writes: > The workaround with lambda worked, thanks a lot! As I mentioned I didn't have > any problems with the > templates in years but they stopped working after a recent update. > The change was made last June (I presume it was committed on

Re: [O] Capture with org-directory not working?

2016-11-29 Thread Alexander Vorobiev
The workaround with lambda worked, thanks a lot! As I mentioned I didn't have any problems with the templates in years but they stopped working after a recent update. Alex On Tue, Nov 29, 2016 at 3:05 PM, Nick Dokos wrote: > Alexander Vorobiev

Re: [O] Capture with org-directory not working?

2016-11-29 Thread Nick Dokos
Alexander Vorobiev writes: > I have recently started having this issue with my capture templates. In my > case I want to ask the user > (me) which file should be used to store the note, so I have a bunch of > templates like this > > (setq org-capture-templates >  

Re: [O] Capture with org-directory not working?

2016-11-29 Thread Alexander Vorobiev
I have recently started having this issue with my capture templates. In my case I want to ask the user (me) which file should be used to store the note, so I have a bunch of templates like this (setq org-capture-templates '(("o" "Project todo" entry (file+headline

Re: [O] Capture with org-directory not working?

2016-09-21 Thread Rainer M Krug
Adam Porter writes: > Rainer Krug writes: > >> But It seems to abusing the basic idea of custom-set-variables as this >> sounds as if it is used by the customise interface. > > What I mean is, you can use the customize interface to store your >

Re: [O] Capture with org-directory not working?

2016-09-21 Thread Adam Porter
Rainer Krug writes: > But It seems to abusing the basic idea of custom-set-variables as this > sounds as if it is used by the customise interface. What I mean is, you can use the customize interface to store your org-capture-templates. It's already set up for that. You can

Re: [O] Capture with org-directory not working?

2016-09-21 Thread Rainer Krug
> On 20 Sep 2016, at 19:08, Adam Porter wrote: > > Rainer Krug writes: > >> Could you please provide an example? It is not clear to me what you mean - I >> prefer simpler! > > Sure, here's an abbreviated example of custom-set-variables from my >

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Adam Porter
Rainer Krug writes: > Could you please provide an example? It is not clear to me what you mean - I > prefer simpler! Sure, here's an abbreviated example of custom-set-variables from my init.el: #+BEGIN_SRC elisp (custom-set-variables ;; custom-set-variables was added

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Rainer Krug
> On 20 Sep 2016, at 17:00, Adam Porter wrote: > > Rainer M Krug writes: > >> Thanks! the problem was the missing comma, as I had the backquote >> already there. This must have changed some time ago, as I used these >> templates before. This is working

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Adam Porter
Rainer M Krug writes: > Thanks! the problem was the missing comma, as I had the backquote > already there. This must have changed some time ago, as I used these > templates before. This is working now. > > But now I realized that my other in-file capture templates are giving >

Re: [O] Capture with org-directory not working?

2016-09-20 Thread Rainer M Krug
Nick Dokos writes: > Rainer M Krug writes: > >> Hi >> >> I have the following capture template: >> >> , >> | ("T" "TODO to be logged in notes.org" >> |entry (file+headline (concat org-directory "/notes.org") "Tasks") >> >> |;;

Re: [O] Capture with org-directory not working?

2016-09-19 Thread Nick Dokos
Rainer M Krug writes: > Hi > > I have the following capture template: > > , > | ("T" "TODO to be logged in notes.org" > |entry (file+headline (concat org-directory "/notes.org") "Tasks") > > |;; entry (file+headline "~/org/notes.org" "Tasks")

[O] Capture with org-directory not working?

2016-09-19 Thread Rainer M Krug
Hi I have the following capture template: , | ("T" "TODO to be logged in notes.org" |entry (file+headline (concat org-directory "/notes.org") "Tasks") |;; entry (file+headline "~/org/notes.org" "Tasks") |"* TODO [#D] \n%i \n:PROPERTIES: \n:END: \n%?