Re: [O] Capture template stopped working: nil

2017-07-01 Thread Nicolas Goaziou
Hello, Bastien writes: > Nicolas Goaziou writes: > >> Bastien Guerry writes: >> >>> May I ask you why `eval' in the code base is problematic? >> >> Because 1. it is hideous, 2. it doesn't cope well with lexical >> binding. > > Can you

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > might you give a hint why > > ("j" "Journal" item > (file+datetree "journal.org") > "%?\n%i" :kill-buffer t) > > which still gives the same error: org-capture: Capture template ‘j’: > nil Fixed. Thank you. Regards, -- Nicolas

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > Bastien Guerry writes: > >> May I ask you why `eval' in the code base is problematic? > > Because 1. it is hideous, 2. it doesn't cope well with lexical > binding. Can you provide with an example on how `eval' can

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Alan Schmitt
Hello, "FL" == Florian Lindner writes: FL> Hey Nicolas, hey Bastien, FL> might you give a hint why FL> ("j" "Journal" item FL> (file+datetree "journal.org") FL> "%?\n%i" :kill-buffer t) FL> which still gives the same error: org-capture: Capture template ‘j’: nil I'm

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Florian Lindner
Hey Nicolas, hey Bastien, might you give a hint why ("j" "Journal" item (file+datetree "journal.org") "%?\n%i" :kill-buffer t) which still gives the same error: org-capture: Capture template ‘j’: nil Thanks a lot, Florian Am 25.06.2017 um 21:23 schrieb Florian Lindner: > Am 25.06.2017 um

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Nicolas Goaziou
Bastien Guerry writes: > May I ask you why `eval' in the code base is problematic? Because 1. it is hideous, 2. it doesn't cope well with lexical binding. Using `eval' should be made with extreme parcimony and for very consensual reasons. > This change may break current

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Bastien Guerry
Hi Nicolas, Nicolas Goaziou writes: >> What is the reason for this change? > > I don't like `eval' in the code base. May I ask you why `eval' in the code base is problematic? This change may break current configurations. Such changes should be made with extreme

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Nicolas Goaziou
Hello, Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> It should be (lambda () (concat org-directory "/journal.org")). >> >> See ORG-NEWS. > > What is the reason for this change? I don't like `eval' in the code base. Regards, -- Nicolas

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > It should be (lambda () (concat org-directory "/journal.org")). > > See ORG-NEWS. What is the reason for this change? Thanks, -- Bastien

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Florian Lindner
Am 25.06.2017 um 21:09 schrieb Nicolas Goaziou: > Hello, > > Florian Lindner writes: > > >> since recently, one of my capture templates stopped working. Message is: >> >> Template key: >> org-capture: Capture template ‘j’: nil >> >> and: >> >> - %? >> >> is added to

Re: [O] Capture template stopped working: nil

2017-06-25 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > since recently, one of my capture templates stopped working. Message is: > > Template key: > org-capture: Capture template ‘j’: nil > > and: > > - %? > > is added to journal.org. I have also tried some other template text like > "foo"

[O] Capture template stopped working: nil

2017-06-25 Thread Florian Lindner
Hello, since recently, one of my capture templates stopped working. Message is: Template key: org-capture: Capture template ‘j’: nil and: - %? is added to journal.org. I have also tried some other template text like "foo" (without any keys), but the message is the same. value of