Re: About babel and header arguments

2022-04-10 Thread Neil Jerram
On Sun, 10 Apr 2022, 16:39 , wrote: > On Sun, Apr 10, 2022 at 04:00:31PM +0100, Neil Jerram wrote: > > Hi Henrik, > > > > On Sun, 10 Apr 2022 at 10:56, Henrik Frisk wrote: > > > > > > Hi, > > > > > > I'm not a skilled (scheme) programmer so maybe there is something > obvious I'm missing here. In

Re: About babel and header arguments

2022-04-10 Thread tomas
On Sun, Apr 10, 2022 at 04:00:31PM +0100, Neil Jerram wrote: > Hi Henrik, > > On Sun, 10 Apr 2022 at 10:56, Henrik Frisk wrote: > > > > Hi, > > > > I'm not a skilled (scheme) programmer so maybe there is something obvious > > I'm missing here. In the first example the header argument y is interp

Re: About babel and header arguments

2022-04-10 Thread Neil Jerram
Hi Henrik, On Sun, 10 Apr 2022 at 10:56, Henrik Frisk wrote: > > Hi, > > I'm not a skilled (scheme) programmer so maybe there is something obvious I'm > missing here. In the first example the header argument y is interpreted as I > would expect it, but in the second it isn't: > > #+begin_src sc

Re: About babel and header arguments

2022-04-10 Thread Byung-Hee HWANG
writes: > On Sun, Apr 10, 2022 at 11:53:51AM +0200, Henrik Frisk wrote: >> Hi, >> >> I'm not a skilled (scheme) programmer so maybe there is something obvious >> I'm missing here. In the first example the header argument y is interpreted >> as I would expect it, but in the second it isn't: > > H

Re: About babel and header arguments

2022-04-10 Thread Henrik Frisk
> Hm. You are expecting (12 10)? > > Yes, sorry for not being clear. > > > #+begin_src scheme :var y=10 :results output > > ((lambda (x) (display x)) '(12 y)) > > #+end_src > > The quote extends to the whole (parenthesized) expression, i.e. > the y is quoted too, in there, so it's the symbol y,

Re: About babel and header arguments

2022-04-10 Thread tomas
On Sun, Apr 10, 2022 at 11:53:51AM +0200, Henrik Frisk wrote: > Hi, > > I'm not a skilled (scheme) programmer so maybe there is something obvious > I'm missing here. In the first example the header argument y is interpreted > as I would expect it, but in the second it isn't: Hm. You are expecting

About babel and header arguments

2022-04-10 Thread Henrik Frisk
Hi, I'm not a skilled (scheme) programmer so maybe there is something obvious I'm missing here. In the first example the header argument y is interpreted as I would expect it, but in the second it isn't: #+begin_src scheme :var y=10 :results value (+ 10 y) #+end_src #+RESULTS: : 10 but not th

Save Gnus attachments to Org using org-attach and helm-org-ql

2022-04-10 Thread Juan Manuel MacĂ­as
Hi all, I thought it wouldn't be a bad idea to be able to save attachments from GNUS (current article) to any Org node, via org-attach. Since I use helm-org-ql to quickly access the headlines of my org documents, it occurred to me to write this action for helm-org-ql. I share it here in case someo