Re: [Pre-PATCH] Add new :lexical header argument

2023-07-13 Thread Ihor Radchenko
Evgenii Klimov writes: > * lisp/ob-core.el (org-babel-common-header-args-w-values): Add new > :lexical header argument. A short note: ob-emacs-lisp already defines :lexical header arg. See org-babel-header-args:emacs-lisp. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about

[Pre-PATCH] Add new :lexical header argument

2023-07-13 Thread Evgenii Klimov
Hi, here I propose new header argument to enable scope change (lexical/dynamic binding) of the tangled file. We have :shebang header argument and the new one behaves similarly. If you like the idea I think we should discuss the following: - should we allow to set it for non-elisp blocks? e.g.