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

2025-02-24 Thread Visuwesh
[ஞாயிறு பிப்ரவரி 23, 2025] Ihor Radchenko wrote: > Visuwesh writes: > >>> Visuwesh, do you want to proceed with this part? >> >> Do we only want this for images, or for everything? Everything entails >> images, all dropped files, dropped image files only, and XDND. > > Everything, I think. > >>

Re: Some hacks on top of org-publish

2025-02-24 Thread Nikolaos Chatzikonstantinou
On Sat, Feb 22, 2025 at 11:51 PM Nikolaos Chatzikonstantinou wrote: > > On Mon, Dec 30, 2024 at 1:12 PM Ihor Radchenko wrote: > > > > Nikolaos Chatzikonstantinou writes: > > > > > ... I got inspired by Worg's website > > > which does not do any backend hacking as far as I can tell, but > > > ins

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

2025-02-24 Thread Pedro Andres Aranda Gutierrez
Attached is a quick fix that only takes into account the existing org-export-with- settings. Best, /PA On Tue, 25 Feb 2025 at 07:31, Pedro Andres Aranda Gutierrez < paag...@gmail.com> wrote: > HI, > I'm giving this a second shot, now that the ToC fix is in the code. > > I have a question: we hav

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

2025-02-24 Thread Pedro Andres Aranda Gutierrez
HI, I'm giving this a second shot, now that the ToC fix is in the code. 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

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

2025-02-24 Thread Rudolf Adamkovič
Ihor Radchenko writes: > I think it is 6443c83bd1 :) Oops! You are right. > May you please keep the old test cases and add new cases as extra? > I see no reason not to keep the old tests. The old test has wrong assumptions in the new reality and it must *not* pass. I tried to adjust it, befo

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

2025-02-24 Thread Ihor Radchenko
Slava Barinov writes: > Oh, right, I messed the scopes. Is your new patch version correct? I still see #+TBLFM stripped unconditionally even when :tblfm parameter is not specified. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support

[BUG] Org report [9.7.19 (9.7.19-??-5a4686915 @ /Users/butlerlocal/.emacs.d/.local/straight/build-29.4/org/)]

2025-02-24 Thread Kevin Butler
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

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-24 Thread Ihor Radchenko
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 inlined. They are not floats and cannot have caption, name, be referenced. > What approach would fit best > > 1. Keep tables and figures s

Re: Repeater in a time-range?

2025-02-24 Thread David Masterson
Rens Oliemans writes: > David Masterson writes: > >> Is it possible to specify a repeater in a time-range in Org? Something >> like: >> >> <2025-03-06 Thu 16:00 +1w>--<2025-03-27 Thu 16:00> > > Not like this, unfortunately. It is possible with diary-sexps, or M-x > org-clone-subtree-with-tim

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-24 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >>This is \begin{center} >>\includegraphics[width=\linewidth]{/home/yantar92/Downloads/wallpaper.png} >>\end{center} foo. >> >> Pedro, any ideas how to address this? > > Just to be clear, what is the intent of the org line? > 1. Inlining a figure

Re: [BUG] The org-indent-drawer function does not work for drawers in plain lists since commit af300bd5b

2025-02-24 Thread Vins Xiro
On Sun, Feb 23 2025, Ihor Radchenko wrote: > Vins Xiro writes: > >> Well, there is org-indent-drawer, but it does not work as I expect >> since commit af300bd5b, as I can see. > > Are you sure? > af300bd5b0 is a 12 years old commit. Definitely. I had to use Distrobox with an old Linux distribut

Re: [PATCH] Improve the clock-out message

2025-02-24 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor, if you are OK with this version, please merge. :) Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=67de496b1e -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org

Re: [PATCH] ob-dot: Add `graphviz-dot' language alias

2025-02-24 Thread Rudolf Adamkovič
Ihor Radchenko writes: > They work. Fundamental mode is usable, isn't it? As usable as any other language: no syntax highlighting, no correct indentation, no compilation and run, no code completion, etc. Instead of theorizing, let me tell you my experience, as a user of the Org Mode and Graphvi

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-24 Thread Pedro Andres Aranda Gutierrez
Fine. I have approached this from the LaTeX we want to generate and have a proof of concept… attached is the PDF produced on overleaf.com A question: If we have a table of figures, we might have problems when referencing the figures. What approach would fit best 1. Keep

Re: Repeater in a time-range?

2025-02-24 Thread Rens Oliemans
David Masterson writes: > Is it possible to specify a repeater in a time-range in Org? Something > like: > > <2025-03-06 Thu 16:00 +1w>--<2025-03-27 Thu 16:00> Not like this, unfortunately. It is possible with diary-sexps, or M-x org-clone-subtree-with-time-shift. Check out these threads: -

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

2025-02-24 Thread martin rudalics
> Martin, may you install your part of the patch for Emacs? Installed on master. Please check. martin

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-24 Thread Pedro Andres Aranda Gutierrez
Hi, Answers inline... > El 23 feb 2025, a las 18:47, Ihor Radchenko escribió: > > It is ok for standalone images, but is clearly broken when the image is > really inline - a part of paragraph or table cell in this case. > > Another example is > > This is file:~/Downloads/wallpaper.png foo. >

Re: ob-haskell has stopped working

2025-02-24 Thread Aitenate
It sound like the same issue I've experienced [1]. Try using an older version of haskell-mode and it should workaround the problem. [1] - https://github.com/haskell/haskell-mode/issues/1867 Regards, Aitenate

Re: [PATCH] Improve the clock-out message

2025-02-24 Thread Rudolf Adamkovič
Kévin Le Gouguec writes: > One question: should it be "before saving" or "before exiting"? [...] I gave this some more thought, and you are right. From the user's POV, the question is *not* about saving but about clocking out. Saving is implied. I updated the message, and the commit message t

Re: [PATCH] cosmetic of begin/end lines

2025-02-24 Thread Phil Estival
* [2025-02-21 18:57 +] Ihor Radchenko : > Phil Estival writes: > >>> Does the attached diff fix the problem you are encountering? >> >> Yes it does. Thank you! >> >> But we are losing that previous possibility we had of a >> bi-color display of meta lines, with the second part (past >> the tex

Re: Failure of asynchronous org exports and poly-org

2025-02-24 Thread Benjamin McMillan
That seems to fix the problem, thanks Ihor! (Probably irrelevent: The actual patch file did not work for me. Rather, > git apply 00...patch errored "the patch does not apply", with .rej files showing ? at end of each line. But copying the diffs by hand into org files worked.) On Sun, Feb 23, 2025

Re: ob-haskell has stopped working

2025-02-24 Thread Lawrence Bottorff
Where can I find an older haskell-mode? Not finding one... On Mon, Feb 24, 2025 at 4:00 AM Aitenate wrote: > It sound like the same issue I've experienced [1]. Try using an older > version of haskell-mode and it should workaround the problem. > > [1] - https://github.com/haskell/haskell-mode/iss

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-24 Thread Pedro Andres Aranda Gutierrez
PS. a simple ```latex This is \includegraphics{my-image.png] foo. ``` Can be even more disastrous, depending on the size of the image. Best, /PA On Mon, 24 Feb 2025 at 10:38, Pedro Andres Aranda Gutierrez < paag...@gmail.com> wrote: > Hi, > Answers inline... > > > El 23 feb 2025, a las 18:47, I

Re: PATCH: ox-latex table of contents patch consolidated (was: [BUG] Latex exporter should consider export settings [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.3/lisp/org/)])

2025-02-24 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> 2. I renamed need-alternative to need-toc. IMHO, it is a bit more >> clear. I also updated the commentary to explain what is going on. > > I was thinking more in the line of need-alternative-p since all this comes > when we guess we need an alternative te

Re: Common Lisp weird Babel's results.

2025-02-24 Thread Héctor Galbis Sanchis
> I think that the code is already an improvement. Nice! > May you convert it into a proper patch against the latest main? Of course! I'll try to do it this weekend. El sáb, 22 feb 2025 a las 16:52, Ihor Radchenko () escribió: > Héctor Galbis Sanchis writes: > > >> #+RESULTS: > >> [[file:"p

Re: org-toggle-timestamp-overlays fails to remove display property

2025-02-24 Thread Ihor Radchenko
> $ emacs -q --eval "(add-to-list 'load-path > \"/Users/jhemann/.emacs.d/straight/repos/org/lisp\")" > > M-x org-mode > M-x calendar > M-x other-window > M-x org-date-from-calendar > M-x previous-line > M-x org-toggle-time-stamp-overlays > M-x org-toggle-time-stamp-overlays > M-x org-version > ```

Re: [BUG] Warning: org-element-cache [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2025-02-24 Thread Ihor Radchenko
Ting Boon Ghee writes: > My OS is Debian Testing (trixie). The Org package I am using is the > built-in one that comes with Emacs 29.4. So upgrades will depend on > Debian. Fair enough. Canceled. > I think the warning pops up when I inserted a heading using M-RET. Other > than the warning, I do

Re: Failure of asynchronous org exports and poly-org

2025-02-24 Thread Ihor Radchenko
Benjamin McMillan writes: > That seems to fix the problem, thanks Ihor! Fixed, on main. Applied. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0cbf8817f9 > (Probably irrelevent: The actual patch file did not work for me. > Rather, > git apply 00...patch errored "the patch does