Re: [PATCH] Prefix CL symbols in ob-lisp.el

2025-03-07 Thread Héctor Galbis Sanchis
Owen is right. If the user is using any package that doesn't 'use-package' the "CL" package org will fail. I think the patch Owen provides is good. Just a little note on `org-babel-lisp-dir-fmt`. I think the symbol `*default-pathname-defaults*` should be `cl:*default-pathname-defaults*` too, since

Re: [BUG] Incorrect LaTeX export when using images in a table to display them side-by-side. [9.7.5 (release_9.7.5 @ /home/dadinn/.emacs.d/straight/build/org/)]

2025-03-07 Thread Pedro Andres Aranda Gutierrez
I'll see what can be done in the next free slot. /PA On Fri, 7 Mar 2025 at 18:06, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > full image inlining patch with tests > > Thanks! > > I found a problematic example: > > #+attr_latex: :center t > Foo bar. > > The exporter wil

Re: [BUG] Incorrect LaTeX export when using images in a table to display them side-by-side. [9.7.5 (release_9.7.5 @ /home/dadinn/.emacs.d/straight/build/org/)]

2025-03-07 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > full image inlining patch with tests Thanks! I found a problematic example: #+attr_latex: :center t Foo bar. The exporter will split the paragraph, adding centering environment. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org

Org manual: Confused about parentheses in "filename=(buffer-file-name)" in code block header

2025-03-07 Thread Alain . Cochard
Hello. I have: GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2025-01-03 Org mode version 9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/) In section "16.4 Environment of a Code Block" of the manual (from Info), I read: The following

Re: org-present and '+' used for drawing

2025-03-07 Thread Ihor Radchenko
Ihor Radchenko writes: >> Should I be creating boxes for org-present in a different way? > > Try to reproduce the problem with emacs -Q first. No update for over a month. Closing. Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at .

Re: [BUG] Incorrect LaTeX export when using images in a table to display them side-by-side. [9.7.5 (release_9.7.5 @ /home/dadinn/.emacs.d/straight/build/org/)]

2025-03-07 Thread Pedro Andres Aranda Gutierrez
Hi full image inlining patch with tests Best, /PA On Thu, 6 Mar 2025 at 19:39, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > good to know. So, is there any other case apart that we should look at > > before deciding if the quick patch I prepared is good enough? Or should

Re: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2025-03-07 Thread Pedro Andres Aranda Gutierrez
Sorry about that! On Fri, 7 Mar 2025 at 17:53, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > attached in the full patch (I didn't see the fix applied on main @07:30 > CET > > today). > > May you please re-send the patch under the correct email thread? (This > one is about

Re: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)]

2025-03-07 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > attached in the full patch (I didn't see the fix applied on main @07:30 CET > today). May you please re-send the patch under the correct email thread? (This one is about :with-author and friends.) Otherwise, it is very hard to keep track on which patch fi

Re: [BUG] Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer # (org-agenda-mode) [9.7.11 (release_9.7.11 @ /Applications/Emacs.app/Contents/Resources/l

2025-03-07 Thread Ihor Radchenko
Ihor Radchenko writes: > There is a reason why I asked to debug display-warning rather than > org-element-at-point itself. What you need to catch is what is calling > org-element-at-point in inappropriate place. It has been a month. May I know if you managed to investigate further? -- Ihor Rad

Re: [PATCH] Have org-string-width's temporary buffer be declared as such

2025-03-07 Thread Ihor Radchenko
Ihor Radchenko writes: >> - (with-current-buffer (get-buffer-create " *Org string width*") >> + (with-current-buffer (get-buffer-create " *Org string width*" t) > > ... just one problem - `get-buffer-create' in Emacs 27 does not yet have > the second optional argument. And we still supp

Re: [PATCH] Prefix CL symbols in ob-lisp.el

2025-03-07 Thread Owen Radcliffe
Yes, definitely prefix the special var too, thank you. On Fri, Mar 7, 2025 at 13:51 Héctor Galbis Sanchis < hectometrocuadr...@gmail.com> wrote: > Owen is right. If the user is using any package that doesn't 'use-package' > the "CL" package org will fail. > > I think the patch Owen provides is go

Re: Org manual: Confused about parentheses in "filename=(buffer-file-name)" in code block header

2025-03-07 Thread Leo Butler
On Fri, Mar 07 2025, alain.coch...@unistra.fr wrote: > #+BEGIN_SRC sh :var filename=(buffer-file-name) :exports both >wc -w $filename > #+END_SRC (buffer-file-name) is evaluating the Emacs Lisp function `buffer-file-name', which returns a string with the buffer's filename. > >