Re: [BUG] Unintuitive indentation behavior when editing org-src blocks

2025-03-27 Thread lra
Hi Ihor Thanks for the comments, I've attached the updated patch. > 1. Use `insert' rather than `insert-char' that is for interactive use. > 2. Use more readable ?\t notation I realized that just inserting the spaces actually did mess up things in some edge-cases so I changed approach. It feels

Image inlining patch

2025-03-27 Thread Pedro Andres Aranda Gutierrez
Hi, attached is a patch that will inline images and only apply attributes to standalone images. Sorry, but I've lost the original thread to answer it. Best, /PA -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Sagen's Paradeiser, write BE!

Re: Possible bug with speed commands, macros and flyspell-mode (was: One big file or multiple small ones)

2025-03-27 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Your variant indeed does not work because C-x e == , while > subsequent e e e are just "e" "e" "e" triggering effort in speed > keys. It does not trigger any macro. Doh! It makes sense. But why does Flyspell need to be running? > I see no bug on Org side. >From the p

Re: org-persist-write:index takes minutes to run

2025-03-27 Thread 黄煜
Thanks for your latest diff! The overall current performance is quite satisfactory. I describe in two cases as Karthik's classification. 1. When running org-latex-preview-all inside an org file (about 700 fragments), Emacs is not unresponsive in comparison to the past, and the fragments renderin

org-glossary don't see the acronyms

2025-03-27 Thread Sébastien Gendre
Hello, I try to use org-glossary: https://code.tecosaur.net/tec/org-glossary But it do not recognize my acronyms. I have an org-mode document named `glossaires.org`, and inside it I put this: * Acronymes - HDL :: Hardware Description Language (langage de description de Matériel)

Re: org-glossary don't see the acronyms

2025-03-27 Thread Christian Moe
Hi, Try spelling the heading "Acronyms" without the "e", or, alternatively, try adding the French spelling to org-glossary-headings. Yours, Christian Sébastien Gendre writes: > Hello, > > I try to use org-glossary: https://code.tecosaur.net/tec/org-glossary > > But it do not recognize my acron

Re: Possible bug with speed commands, macros and flyspell-mode (was: One big file or multiple small ones)

2025-03-27 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> Your variant indeed does not work because C-x e == , while >> subsequent e e e are just "e" "e" "e" triggering effort in speed >> keys. It does not trigger any macro. > > Doh! It makes sense. But why does Flyspell need to be running? Good

Re: org-persist-write:index takes minutes to run

2025-03-27 Thread Ihor Radchenko
黄煜 writes: > 2. When running save-buffer-kill-emacs, the time has been reduced from about > 5 minutes to 2-3s (turning off org-roam-autosync-mode). For my current needs, > this speed is more than satisfactory. However, according to previous > statement last year, this speed would rapidly decre

Re: [PATCH] Capitalize JavaScript correctly

2025-03-27 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> With this change, the example will no longer work, because [...] > > Oops. Fixed. Third time is the charm? Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=adfee5eed8 -- Ihor Radchenko // yantar92, Org

Re: Image inlining patch

2025-03-27 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > attached is a patch that will inline images and only apply attributes to > standalone images. Thanks! > +(require 'ox-html) > > ;;; Function Declarations > > @@ -49,6 +50,14 @@ > (defvar engrave-faces-current-preset-style) > (defvar engrave-faces-latex

Re: inconsistency for the affiliated keyword of a dynamic block

2025-03-27 Thread pinmacs
5 inline replies On 2025-03-16 13:18, Ihor Radchenko wrote: pinmacs writes: Maybe we can arrange Org to leave manually added affiliated keywords as is when updating the dblock, similar to what colview does. Another idea is https://list.orgmode.org/orgmode/871qaer7bo.fsf@localhost/ 2/4 Regre

Re: org-glossary don't see the acronyms

2025-03-27 Thread Sébastien Gendre
It work. Thank you very much. Christian Moe writes: > Hi, > > Try spelling the heading "Acronyms" without the "e", or, alternatively, > try adding the French spelling to org-glossary-headings. > > Yours, > Christian > > Sébastien Gendre writes: > >> Hello, >> >> I try to use org-glossary: ht

Re: [BUG] (Feature request) Allow org-cite-insert to completing-read-just-once [9.7.11]

2025-03-27 Thread Ihor Radchenko
Daan Ro writes: >> (completing-read >> (concat >> (if negate "Negative filter" "Filter") >> " [+cat-tag<0:10-/regexp/]: ") >> #'org-agenda-filter-completion-function >> nil nil ff) >> > > Right. Is 'Keys [citation1 ;; citation2 ;; ...]: ' fine? Or an Yup. > + (`dynamic > +

Re: [FR] org-colview.el, add annotation for functions summary-types

2025-03-27 Thread Ihor Radchenko
Sławomir Grochowski writes: > The functionality almost works... there is only one thing that blocked > me. In the `completing-read' function, the value of the passed argument > REQUIRE-MATCH is t. To prevent adding values from outside of the list of > summary-types functions. Unfortunately, when

[BUG] Agenda sortation generally ignores time-of-day [9.7.25 (9.7.25-bdf9f94 @ /home/charlest/.emacs.d/elpa/org-9.7.25/)]

2025-03-27 Thread Charles Tam
With the exception of the use of `time-(up|down)` in the `agenda` agenda view, it seems to me that agenda views such as `todo` do not consistently sort headlines scheduled to the same day at different times. Instead, headlines so scheduled are listed in the order they appear in their file. Steps t

[PATCH v2] ox-texinfo: Preserve source block language fields during export

2025-03-27 Thread Richard Sent
* lisp/ox-texinfo.el (org-texinfo-src-block): Preserve the language field during export. * etc/ORG-NEWS (Version 9.8): Add news entry. * testing/lisp/test-ox-texinfo.el: Add tests. --- Thanks for the feedback! Rudolf Adamkovič writes: > Ha! I have the exact same patch in works. I also asked on

Re: [patch] ox-man: footer-middle and header-middle options

2025-03-27 Thread Ihor Radchenko
Grégoire Scano writes: > Sorry for the delay. > My company need some time to process the document as it is the first > time they have to deal with such request. > > I will keep you informed as soon as I have more information. Ok. I will wait. Note that I may try helping if the delay is on FSF si

Re: [PATCH] Preview LaTeX recursively

2025-03-27 Thread Karthik Chikmagalur
> P.S. I hope the upcoming LaTeX preview will work like this too. The command in the upcoming patchset works exactly the same as the current system. This is to minimize breaking changes, as Ihor mentions. I agree with you that it makes more sense for the entire subtree to be previewed. To previ

Re: print bibliography without a title

2025-03-27 Thread Sébastien Gendre
Thank you very much. Scott Randby writes: > On 3/25/25 18:53, Sébastien Gendre wrote: >> Hello, >> I want to print a bibliography in my Org document and I use >> `#+print_bibliography:`. >> But when I do, it automatically create a section with a title. And >> I want it to not create a section. O