Babel zip after exporting file

2023-03-16 Thread suarezmiguelc
Hello Emacs org-mode community, I’m trying this example: ** index.js :PROPERTIES: :header-args: :tangle index.js :post-tangle (shell-command-to-string "zip index.js.zip index.js && rm index.js") :END: First endpoint example: #+begin_src js exports.handler = async (event, context) => {

Re: org-agenda on Mac M1

2023-03-16 Thread Henrik Frisk
Den tors 16 mars 2023 kl 14:58 skrev Ruijie Yu : > Henrik Frisk writes: > > > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, > > though I can get it back if I hit C-g. [...] > > > > I have no experience in debugging, but I tried to run debug-on-error > > with org-agenda

[PATCH v4] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-03-16 Thread Max Nikulin
On 16/03/2023 17:22, Ihor Radchenko wrote: Canceled. Anyway it does not work. I have tried to "fix" `org-babel-variable-assignments:screen' by an extra patch. Perhaps executable name aka :cmd and babel language should not be rigidly coupled and it may be subject for further improvement.

Re: org-agenda on Mac M1

2023-03-16 Thread General discussions about Org-mode.
Henrik Frisk writes: > When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, > though I can get it back if I hit C-g. [...] > > I have no experience in debugging, but I tried to run debug-on-error > with org-agenda and I got the following, which is not so helpful (to > me): > >

org-agenda on Mac M1

2023-03-16 Thread Henrik Frisk
Hi, I have rrecently had to move from Linux to MacOS and setting up on an M1 computer I have run inte to ann issue I can't figure out. When I run org-agenda I get the sub menu but if I hit 'a' emacs hangs, though I can get it back if I hit C-g. Without my init file it works. I have gone through

Re: [PATCH] lisp/ob-screen.el: Support ~:var~ header args for babel blocks

2023-03-16 Thread Ihor Radchenko
Ken Mankoff writes: > Just a follow-up note that I am unlikely to be able to complete this patch > anytime soon. Re-alignment of priorities because my need for :var header > support in Org Babel is mitigated by a different method of injecting > variables into Org Babel sections: Use noweb.

Re: [patch] ob-clojure: Fix results output

2023-03-16 Thread Ihor Radchenko
Daniel Kraus writes: > Attached a new patch. Thanks! I have no further comments. Feel free to push. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at

Re: Noweb Function's body without evaluation

2023-03-16 Thread suarezmiguelc
Hello Ken, thank you for your message, After reading the very interesting get_property function, I found that even though I will probably use it for some cases, it doesn’t apply directly, to my case. For more examples, if I have 1 source code block: >> #+name: greeting >> #+begin_src sh :var