Re: Some hacks on top of org-publish

2025-03-16 Thread Ihor Radchenko
Nikolaos Chatzikonstantinou writes: > org-publish (or is it org-html?) should just structure the HTML > document properly, as there is already an element, and even if > those semantic elements are not used, at least if the 's of the > various parts of the page are placed sequentially one should

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-03-16 Thread Björn Bidar
Forgot to attach the updated patch. See below. >From 88c92d127b377ba8a296e54f760080bb779bc32c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Bidar?= Date: Tue, 21 Jan 2025 00:55:15 +0200 Subject: [PATCH] Ensure that gnus-other-frame-object is alive before selecting * lisp/ol-gnus.el (org

Re: [FR] org-babel-n-tangle

2025-03-16 Thread Lei Zhe
>>> With this change, ONLY-THIS-BLOCK = nil is ignored. This will cause >>> problems. >>> I intended to remove the ONLY-THIS-BLOCK part since it will no longer >>> be used in the official code. >> It is still used by `org-babel-tangle' itself. I meant the signature will be removed throughout the

Re: [BUG] Unable to use Completions buffer with org-goto-interface set to outline-path-completion [9.7.25 (9.7.25-bdf9f94 @ /home/martin/emacs-work/elpa/org-9.7.25/)]

2025-03-16 Thread Ihor Radchenko
Martin Marshall writes: > Hello, I'm noticing a problem with the `org-goto` command when used with > `org-goto-interface` set to `outline-path-completion`. > > I use the standard "*Completions*" buffer for completion, so I would > like to leave the setting of `org-outline-path-complete-in-steps`

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

2025-03-16 Thread Ihor Radchenko
Karthik Chikmagalur writes: > I can confirm that this slowdown currently also happens when generating > LaTeX previews, when we cache them for the first time with > `org-persist-register'. It's less of an issue because most Org files > contain fewer than 800 LaTeX fragments, but it still locks u

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

2025-03-16 Thread Ihor Radchenko
Ihor Radchenko writes: > Do you know which commit introduced the slowdown? > ... My guess is 7999433067 or 2a620113c1, but need to confirm. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

[Works in older org releases] (was: export org to latex, but do not include matlab code only the result)

2025-03-16 Thread General discussions about Org-mode.
>>> "GdaO" == General discussions about Org-mode writes: >>> "UB" == Uwe Brauer writes: >> Hi >> I using GNU emacs 29.4 and org 9.7.14. >> I swore one of the following code snippets using matlab with results >> were exported to LaTeX, but only the results not the matlab code >> snippets. Th

Re: Match any todo keyword

2025-03-16 Thread Ihor Radchenko
Florian Lindner writes: > For that, how can I match any todo keyword, i.e., any state that is not > done? Without naming them explicitly. "/!" should work. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

Re: [BUG] Org-babel inline overwriting src block outputs when using async + session

2025-03-16 Thread Ihor Radchenko
Elle Najt writes: > Hi – I’ve been running into a bug when using *inline* org babel blocks with > session and async, wherein the results of the inline org blocks overwrite > the results of the previous normal source block. This is happening for at > least python and bash. AFAIK, our async code d

Re: Improve documentation of org-reverse-note-order

2025-03-16 Thread Ihor Radchenko
Karthik Chikmagalur writes: > It's not clear from the documentation of `org-reverse-note-order' what > "note" means: > > --8<---cut here---start->8--- > Non-nil means store new notes at the beginning of a file or entry. > When nil, new notes will be filed to th

Re: Some hacks on top of org-publish

2025-03-16 Thread Ihor Radchenko
Nikolaos Chatzikonstantinou writes: > #+begin_src elisp > (defun blorg-html-italic (_italic contents info) > "Transcode ITALIC from Org to HTML for a blog. > Italicize if in title, otherwise emphasize." > (format >(or (cdr (assq 'italic (plist-get info :html-text-markup-alist))) "%s") >

Re: change to headline text overlay behaviour of org-clock-display

2025-03-16 Thread libreville
>> currently, if I clock some time and then do org-clock-display, the > Fixed, on bugfix. Thanks for reporting! Ah, excellent, thanks for the fix, and for all your work!

Re: One big file or multiple small ones

2025-03-16 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > 4. Type M-x flyspell-mode RET BTW, Flyspell also makes Org with large files *terribly* slow. To reproduce: (add-hook 'text-mode-hook #'flyspell-mode) (add-hook 'prog-mode-hook #'flyspell-prog-mode) [This is the recommended way of enabling Flyspell.] Then open a ver

Re: One big file or multiple small ones

2025-03-16 Thread Rudolf Adamkovič
Rudolf Adamkovič writes: > Jeez! I have just spent 30 minutes trying to reproduce it, staring from > -Q, and everything works 100%. Was just it me, all along? Next time, I > will try to reproduce my problem *before* making noise in the public. My > apologies folks, for wasting your time and sp

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

2025-03-16 Thread Karthik Chikmagalur
>> Do you know which commit introduced the slowdown? >> ... > > My guess is 7999433067 or 2a620113c1, but need to confirm. Yes it's one of those two, I'm not sure which of the two it is as I haven't had the time to reset the branch and test each one. Karthik

Re: change to headline text overlay behaviour of org-clock-display

2025-03-16 Thread Ihor Radchenko
libreville writes: > currently, if I clock some time and then do org-clock-display, the > headline text changes face to ‘default’. If I’m not mistaken, this > wasn’t the usual behavior until recently (my update to Emacs 30, > perhaps?). The face at that location is org-level-1, which, if I > reme

Re: Inline previewing of .rnote files

2025-03-16 Thread Ihor Radchenko
Antonio Romano via "General discussions about Org-mode." writes: > I've spent the last days drafting a an Elisp script[1] that allows > inline previewing of .rnote files in Org Mode buffers. Thanks for sharing! > The code is still very much a prototype, with only the bare minimum > functionalit

Re: Improve documentation of org-reverse-note-order

2025-03-16 Thread Karthik Chikmagalur
> Currently, `org-add-note' ordering is controlled by > `org-log-states-order-reversed'. > > I am afraid that changing the current status quo may create confusion. > We might introduce a new variable `org-log-note-order-reversed' just for > interactive notes. WDYT? So for the record, this is the c

Re: [BUG] Unable to use Completions buffer with org-goto-interface set to outline-path-completion [9.7.25 (9.7.25-bdf9f94 @ /home/martin/emacs-work/elpa/org-9.7.25/)]

2025-03-16 Thread Martin Marshall
Ihor Radchenko writes: > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=6daeb5da62 Confirmed. Thank you, Ihor! -Martin

Re: Improve documentation of org-reverse-note-order

2025-03-16 Thread Ihor Radchenko
Karthik Chikmagalur writes: > So for the record, this is the current state of things: > > | Action | How to reverse filing order | > |-+--| > | Refile | org-reverse-note-order | > | Capture | :prepend key in org-capture template

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

2025-03-16 Thread Ihor Radchenko
Karthik Chikmagalur writes: > I'm attaching a profiler profile for one of these calls to > `save-buffers-kill-emacs'. Judging from the profile, most of the time is spent writing data. > This is probably relevant: I am on Tecosaur's fork of Org mode, > > https://code.tecosaur.net/tec/org-mode >

Re: [PATCH] Re: Q: Documentation question on beamer and org

2025-03-16 Thread David Masterson
Ihor Radchenko writes: > Leo Butler writes: > + Basically, I think the Org Mode doc on Exporting to Beamer should have a link or two to official Beamer documentation to give new users something else to jump into if they want to make really good slides. >> >> I don't think this

Re: [PATCH] Re: Q: Documentation question on beamer and org

2025-03-16 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: >> Ok. Patch attached that hopefully Ihor will pick up. > > Applied. > https://git.sr.ht/~bzg/worg/commit/226265af Thanks -- David Masterson

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-03-16 Thread Björn Bidar
Ihor Radchenko writes: > Björn Bidar writes: > >> +*** =org-link-gnus= Ensure that other frame is alive before selecting it >> +Ensure that the Gnus frame is alive before selecting it if it was >> +activated before. Call ~gnus-other-frame~ in case it >> +was used to call Gnus before, i.e. if ~g

Re: [BUG] Org-babel inline overwriting src block outputs when using async + session

2025-03-16 Thread Jack Kamm
Ihor Radchenko writes: > AFAIK, our async code does not support inline blocks. > CCing the author. > > Jack, I am not sure if it is going to be easy to support async inline > src blocks. If not, we may need to ignore :async argument in inline > blocks and display a warning. The following patch s

Re: Image transparency and alpha background for Emacs frame (was: [Patch] Support png overlay background transparency in a transparent frame)

2025-03-16 Thread gynamics
“May it be that you encountered a bug in Emacs itself?” This behavior may be different on different OS. I am using emacs-30/pgtk on archlinux, maybe Mac doesn't have this problem, it has different frontend implementation. I don't have a Mac machine, so I don't know what will happen on Mac.

Re: [BUG] Got error opening existing org file in emacs 30.1 [9.7.11 (release_9.7.11 @ /usr/share/emacs/30.1/lisp/org/)]

2025-03-16 Thread Ihor Radchenko
Steinar Bang writes: >> As for Org mode, may you try another version of the patch (attached)? > > No change in behaviour with the patch compared to org-mode HEAD. > > I rebuilt org-mode with "make autoloads" and started a fresh emacs. > > When I open: > emacs ~/git/bang-bompom/README.org > and t

Re: [PATCH] Re: Q: Documentation question on beamer and org

2025-03-16 Thread Ihor Radchenko
Leo Butler writes: >>> + Basically, I think the Org Mode doc on Exporting to Beamer should have >>> a link or two to official Beamer documentation to give new users >>> something else to jump into if they want to make really good slides. > > I don't think this is official, but how about somet

Re: [PATCH] Re: Q: Documentation question on beamer and org

2025-03-16 Thread Ihor Radchenko
David Masterson writes: + Frames and Blocks are difficult concepts -- perhaps there should be a link to examples in Worg to show the possibilities? >> >> I think the examples on worg do a good job showing how these things work. > > Didn't see that before (the intro page on Worg is get

Re: [BUG] Issue moving multiple selected heading with Alt-Up (arrow key) - screencast attached

2025-03-16 Thread Ihor Radchenko
Philipp Kiefer writes: > This bug has been around ever since moving multiple selected headings > was made possible - I'm finally overcoming my laziness and reporting it. > > To reproduce (cf. attached screencast): > > * select multiple headings (org-mark-element with M-h in the default > c

[BUG] [9.7.22 (9.7.22-??-2f5add4 @ /home/kazure/.config/emacs/.local/straight/build-29.4/org/)]

2025-03-16 Thread Kazure Zheng
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] [9.7.22 (9.7.22-??-2f5add4 @ /home/kazure/.config/emacs/.local/straight/build-29.4/org/)]

2025-03-16 Thread Ihor Radchenko
Kazure Zheng writes: > Emacs : GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version > 3.24.41, cairo version 1.18.0) > of 2025-03-13 > Package: Org mode version 9.7.22 (9.7.22-??-2f5add4 @ > /home/kazure/.config/emacs/.local/straight/build-29.4/org/) >... > org--warnings '("org-element--

Re: [BUG] org-gnus-follow-link tries to select dead frame [9.8-pre (release_9.7.15-163-g3ff21c.dirty @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2025-03-16 Thread Ihor Radchenko
Björn Bidar writes: > +*** =org-link-gnus= Ensure that other frame is alive before selecting it > +Ensure that the Gnus frame is alive before selecting it if it was > +activated before. Call ~gnus-other-frame~ in case it > +was used to call Gnus before, i.e. if ~gnus-other-frame-object~ is > +no

Re: inconsistency for the affiliated keyword of a dynamic block

2025-03-16 Thread pinmacs
4 inline replies: On 2025-03-15 19:39, Ihor Radchenko wrote: pinmacs writes: There is a special case that might need a clarification in the orgmode implementation and/or the org-syntax [0] The affiliated keyword, when it's before a dynamic block [1] it does not work. Example: #+NAME: test

Re: Fix org-export-dispatch variable: Missing colons (patch included in attachments)

2025-03-16 Thread Ihor Radchenko
"Max J. Herrmann" via "General discussions about Org-mode." writes: > Being a casual org-user I am hereby submitting a small diff that fixes some > missing colons in the variable org-export-dispatch​, as described in > https://orgmode.org/worg/org-contribute.html#first-patch. > I have noticed m

Re: [Patch] Support png overlay background transparency in a transparent frame

2025-03-16 Thread Ihor Radchenko
gynamics writes: > Emacs has support frame background transparency since 29, add `:mask > heuristic` to overlay property list to make its transparent part masked > when displayed in a transparent frame. > > There is a related thread > [[https://emacs-china.org/t/org-latex-preview-png/29167/12]

Re: [Patch] Support png overlay background transparency in a transparent frame

2025-03-16 Thread gynamics
On 3/16/25 8:02 PM, Ihor Radchenko wrote: gynamics writes: Emacs has support frame background transparency since 29, add `:mask heuristic` to overlay property list to make its transparent part masked when displayed in a transparent frame. There is a related thread [[https://emacs-china.org/

Re: inconsistency for the affiliated keyword of a dynamic block

2025-03-16 Thread Ihor Radchenko
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 > Regretably I could not try the patch, is it because I

Image transparency and alpha background for Emacs frame (was: [Patch] Support png overlay background transparency in a transparent frame)

2025-03-16 Thread Ihor Radchenko
gynamics writes: >> ... the problem you are trying to solve is >> making LaTeX preview background transparent when your Emacs frame has >> 'alpha-background set to be transparent? >> ... >> However, you can also set :background in `org-format-latex-options' to >> "Transparent". Did you try it? >>