Re: ob-haskell has stopped working

2025-02-25 Thread Aitenate
On 24/02/2025 14:45, Lawrence Bottorff wrote: > Where can I find an older haskell-mode? Not finding one... I was using load-path [1] to install it from a local copy. That said, the change to haskell-mode has been reverted [2] and Melpa has updated its package. I switched back to that and it seems

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-02-25 Thread Pedro Andres Aranda Gutierrez
Hi On the road again, answers inline… Enviado desde mi iPad > El 24 feb 2025, a las 19:11, Ihor Radchenko escribió: > > Pedro Andres Aranda Gutierrez writes: > >> If we have a table of figures, we might have problems when referencing the >> figures. > > Figures inside tables will be inlin

Re: ob-haskell has stopped working

2025-02-25 Thread Lawrence Bottorff
Finally got things back to normal by using locally on my machine a 2018 version of ob-haskell and the 17.5 (ca. 2024) version of haskell-mode. Thanks for advice. On Tue, Feb 25, 2025 at 2:09 PM Aitenate wrote: > On 25/02/2025 16:28, Lawrence Bottorff wrote: > > Could you show me what your init f

Org Crypt problems

2025-02-25 Thread David Masterson
I have org-crypt mostly working, but a couple of things annoy me and I may look into fixing them after checking here to see if they are already fixed: 1. If you enter a bad password (even a blank password) to org-decrypt-ent*, how do you tell Emacs to forget the password so that you ca

[BUG] error [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-02-25 Thread Timothee Besset
Can't make any edits in my org file today because of this error: ⛔ Warning (org-element): org-element--cache: Org parser error in Valve.org::11488223. Resetting. The error was: (error "Tab width in Org files must be 8, not 2. Please adjust your ‘tab-width’ settings for Org mode") Backtrace: nil

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

2025-02-25 Thread Pedro Andres Aranda Gutierrez
Hi Ihor, `org-export-with-date' needs more attention that a "quick-fix". There are some factors I'm still investigating. Just adding pdfdate={...} in the hypersetup can cause havoc (compilations failing). So let me track that down as part of the "new feature (pdfproducer)". In the meantime, attach

Re: Do we really need this?

2025-02-25 Thread Pedro Andres Aranda Gutierrez
Right, thanks for the info! /PA On Tue, 25 Feb 2025 at 19:36, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > +(defconst org-latex--section-no-footnote-backend > > ... > > + > > > > Do we really need this now that the ToC handles footnotes correctly? > > We still need to san

Re: Failure of asynchronous org exports and poly-org

2025-02-25 Thread Benjamin McMillan
Ah, yes almost certainly the mail client. Thanks for pointing that out, it gives enough that I can figure out how to fix it. On Tue, Feb 25, 2025 at 2:52 AM Ihor Radchenko wrote: > Benjamin McMillan writes: > > > That seems to fix the problem, thanks Ihor! > > Fixed, on main. > Applied. > https

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

2025-02-25 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Attached is a quick fix that only takes into account the existing > org-export-with- settings. Thanks! May you also add a NEWS entry? This is a change that may affect existing users, even though it is a bugfix. So, we need to announce it. > lisp/ox-latex.

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

2025-02-25 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I have a question: we have the org-export-with-... for author, title and > creator. > So we can act on these things in the PDF attributes when exporting to LaTeX. > The producer will include the LaTeX distribution. Do we really want to > suppress this? Ma

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2025-02-25 Thread Visuwesh
Thanks for the cleanup! I noticed the complete-file typo and fixed it after attaching the patch. I regenerated the patch but I suppose it was created in a different directory, and the filename in the mail pointed to the earlier incorrect patch instead. I wonder if we should set compile-comma

Re: May we have a variant of display-buffer-reuse-window that considers indirect buffers?

2025-02-25 Thread Ihor Radchenko
martin rudalics writes: > > Martin, may you install your part of the patch for Emacs? > > Installed on master. Please check. LGTM. I also installed the corresponding change onto Org's main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1522607516 -- Ihor Radchenko // yantar

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2025-02-25 Thread Ihor Radchenko
Visuwesh writes: > I wonder if we should set compile-command to "make test" in dir-locals.el. > This would make it easier to use project-compile for quick checks. (I should > use this command more, thanks for the pointer.) I think the default "make -k" is also useful. It will run compilation

Re: [PATCH] lisp/org-collector.el: Add support for TBLFM

2025-02-25 Thread Ihor Radchenko
Slava Barinov writes: > Ah! At last I've got the concern. > > You said about the situation where we want to save the manually inserted TBLFM > when regenerating the table? Yup. That's what people expect in Org dynamic blocks. > + (when tblfm > + (unless (looking-back "\n" 1) `looking

Re: Do we really need this?

2025-02-25 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > +(defconst org-latex--section-no-footnote-backend > ... > + > > Do we really need this now that the ToC handles footnotes correctly? We still need to sanitize the version of title for TOC. `org-latex--section-no-footnote-backend' is used to do it and to ca

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

2025-02-25 Thread Pedro Andres Aranda Gutierrez
Hi, On Tue, 25 Feb 2025 at 19:07, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > I have a question: we have the org-export-with-... for author, title and > > creator. > > So we can act on these things in the PDF attributes when exporting to > LaTeX. > > > The producer will

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

2025-02-25 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> > The producer will include the LaTeX distribution. Do we really want to >> > suppress this? >> >> May you please elaborate? What is "producer"? >> > > In hyperref you have > \pdfauthor, \pdftitle, \pdfcreator and \pdfproducer. > You normally don't touch \

Re: One big file or multiple small ones

2025-02-25 Thread Rens Oliemans
Hi, This question seems to come back up again ;) Sébastien Gendre writes: > When you take notes and/or manage tasks, do you prefer one big file or > multiple small files ? Check out https://orgmode.org/worg/topics/how-many-files.html and https://old.reddit.com/r/orgmode/search?q=single+file&re

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2025-02-25 Thread Rudolf Adamkovič
Visuwesh writes: > * lisp/ol.el (org-link--normalise-filename): New function... This should be `org-link--normalize-filename', i.e. use the US spelling, to match the Emacs/Org code base, e.g. `org-link--normalize-string'. Rudy -- "Logic is a science of the necessary laws of thought, without wh

Re: [PATCH] lisp/org-collector.el: Add support for TBLFM

2025-02-25 Thread Slava Barinov
Hello, Ah! At last I've got the concern. You said about the situation where we want to save the manually inserted TBLFM when regenerating the table? Best Regards, Slava Barinov Ihor Radchenko writes: > Slava Barinov writes: > >> Oh, right, I messed the scopes. > > Is your new patch version c

Re: ob-haskell has stopped working

2025-02-25 Thread Lawrence Bottorff
Could you show me what your init for using this looks like. I either have use-package or a location on my computer for packages. On Tue, Feb 25, 2025, 02:42 Aitenate wrote: > On 24/02/2025 14:45, Lawrence Bottorff wrote: > > Where can I find an older haskell-mode? Not finding one... > > I was u

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-02-25 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> Figures inside tables will be inlined. They are not floats and cannot >> have caption, name, be referenced. > Isn’t that a bit too … restrictive? That's mostly a limitation of Org syntax (current Org syntax; I hope that will change in future). We current

Re: ob-haskell has stopped working

2025-02-25 Thread Aitenate
On 25/02/2025 16:28, Lawrence Bottorff wrote: > Could you show me what your init for using this looks like. I either have > use-package or a location on my computer for packages. > Before it was addressed upstream, I used the following to load from a clone of the repo: (use-package haskell-mode

Re: [PATCH] Sanitize links in headings to avoid broken Texinfo menus

2025-02-25 Thread Ihor Radchenko
Rudolf Adamkovič writes: > The old test has wrong assumptions in the new reality and it must *not* > pass. I tried to adjust it, before submitting the patch, but it changed > dramatically and collapsed into an incomplete version of the new test. > In other words, no test was deleted. Instead, o

Re: [FR] yank media: allow customization of absolute path a filter for type candidates

2025-02-25 Thread Ihor Radchenko
Visuwesh writes: > I went with a slightly different approach in the attached where an > optional argument is accepted by the function, defaulting to the value > of org-link-file-path-type. Thanks! Applied, onto main, with minor amendments. I renamed the function, as suggested by Rudolf. I also f

Re: [PATCH] cosmetic of begin/end lines

2025-02-25 Thread Ihor Radchenko
Phil Estival writes: > The question is: wouldn't it be a good design choice to keep the > possibility to emphasize source blocks in org and its exports like in > this fourth schema? > ... What you suggest sounds like a complication. Not that I oppose the idea that such fontification may be good-

One big file or multiple small ones

2025-02-25 Thread Sébastien Gendre
Hello, I have a question for other Org-mode users: When you take notes and/or manage tasks, do you prefer one big file or multiple small files ? Some features, like column view or capture, are mostly made to work on one file at a time. And if org-mode file can have a title, a tag, etc, their are

Do we really need this?

2025-02-25 Thread Pedro Andres Aranda Gutierrez
Hi, Reading through the git logs, I have found this: +(defconst org-latex--section-no-footnote-backend + (org-export-create-backend + :parent org-latex--section-backend + :transcoders + `((footnote-reference . ignore))) + "Export backend that strips footnotes from title. + +Footnotes are