Re: [O] %( in capture template

2017-03-16 Thread Samuel Wales
On 3/14/17, Nicolas Goaziou wrote: > Thank you. I think it is fixed, now. Could you test maint branch and > report your result? it seems to work so far. thank you. btw, the org-capture firefox extension is behaving more reliably also, with recent firefox-esr. it has been many years since i tri

Re: [O] %( in capture template

2017-03-14 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > === > * ecm > capture literally inserts. i was told this is not normal, > but a bug. > > recent maint > > to reproduce, evaluate the following code, select the lines > in the scratch buffer, and run m-x org-capture RET p. > > set the notes file to whatever works fo

Re: [O] %( in capture template

2017-03-12 Thread Samuel Wales
=== * ecm capture literally inserts. i was told this is not normal, but a bug. recent maint to reproduce, evaluate the following code, select the lines in the scratch buffer, and run m-x org-capture RET p. set the notes file to whatever works for you. *** code (require 'org-capture) (setq

Re: [O] %( in capture template

2017-03-06 Thread Samuel Wales
On 2/19/17, Samuel Wales wrote: > * x >link > https://mail.google.com/mail/u/0/h/rfjkj7op114w/?&th=15a580ccf5cb9d34&v=c >description Gmail - %( in capture template >region > %(alpha-org-protocol-string > "https://mail.google.com/mail/u/0/h/rfjkj7op114w/?&th=

Re: [O] %( in capture template

2017-02-19 Thread Samuel Wales
the above bug description pertains to recent org maint.

Re: [O] %( in capture template

2017-02-19 Thread Samuel Wales
On 2/19/17, Nicolas Goaziou wrote: > I have trouble understanding the double quote above. Do you mean the > text below is inserted within the %(concat ...) or are these your > templates? In this case, which one produces the error? thanks for asking about this. for clarity, let's do it from the b

Re: [O] %( in capture template

2017-02-19 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > with the new org maint code, i still occasionally get the literal string. > > it occurs when the region spans a blank line. I cannot reproduce your issue. > like > > %(concat > "http://whatever.whatever/building-a-mold-free-house/whatever"; > "Building a mold fr

[O] %( in capture template

2017-02-08 Thread Samuel Wales
with the new org maint code, i still occasionally get the literal string. it occurs when the region spans a blank line. like %(concat "http://whatever.whatever/building-a-mold-free-house/whatever"; "Building a mold free house" " these remplates [don't know if first does anything] (add-to-l

Re: [O] %( in capture template

2017-01-11 Thread Samuel Wales
hi nicolas, thank you for the fix. quick testing seems to show that it works much better. will keep evaluating it. i had thought it was my own lack of understanding. there is one problem. when i select a few paragraphs in firefox using org-capture extension, they get captured as one long lin

Re: [O] %( in capture template

2017-01-11 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > here are the entries: > > ("p" "Protocol p" entry > (file+headline "/home/org/executive--a.org" "xyzzy-remember") > "%(alpha-org-protocol-string \"%:link\" \"%:description\" > \"%i\")" :prepend t :immediate-finish t :jump-to-captured t) > ("L" "Protocol

Re: [O] %( in capture template

2017-01-10 Thread Samuel Wales
On 1/10/17, Nick Dokos wrote: > IIUC, if the function call is part of the template that is inserted as a > result of the capture, the function should still be executed: I see > calls to `org-capture-expand-embedded-elisp' still in > `org-capture'. Can you post the full entry? here are the entries

Re: [O] %( in capture template

2017-01-10 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > i have "%(my-function \"%:link\" \"%:description\" \"%i\")" in a > capture template, which now does not run the function but treats it as > text. It should. Do you have an ECM? Regards, -- Nicolas Goaziou

Re: [O] %( in capture template

2017-01-10 Thread Nick Dokos
Samuel Wales writes: > i have "%(my-function \"%:link\" \"%:description\" \"%i\")" in a > capture template, which now does not run the function but treats it as > text. i get that this is for security. what do i do? IIUC, if the function call is part of the template that is inserted as a resul

[O] %( in capture template

2017-01-10 Thread Samuel Wales
i have "%(my-function \"%:link\" \"%:description\" \"%i\")" in a capture template, which now does not run the function but treats it as text. i get that this is for security. what do i do? -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have