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-02-15 Thread Björn Bidar
Ihor Radchenko writes: > Björn Bidar writes: > >>> Then, why not simply the attached patch? >>> >> Because the patch circumvents the other-frame mechanism when the >> other-frame is dead. > > May it be that `org-link-frame-setup' is configured by the user to use > current frame, but the user man

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Sébastien Gendre
Is mixing the two #+TITLE when include another Org document is a planned behavior, or a bug ? Should I open a bug report ? "Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:No public key for DCCF0DB30BC10548 created at > 2025-02-12T18:15:21+0100 using RSA > No public key for 13EF8

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > Is mixing the two #+TITLE when include another Org document is a planned > behavior, or a bug ? > > Should I open a bug report ? 13.2 Export Settings section of the manual ‘TITLE’ Org displays this title. For long titles, use multiple ‘#+TITLE’ lines. Mult

Re: [PATCH] Turn org-mouse features into minor-modes

2025-02-15 Thread Ihor Radchenko
Visuwesh writes: >> `org-mouse--old-mouse-map' is awkward. >> May we use :enable + menu item instead? > > Hmm looking closely at the modifications org-mouse does to > org-mouse-map, I see a severe interdependence between all the features > in org-mouse-features. > > There's no way C-mouse-1 will

Re: Publish and file exclude

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > Sadly, it still publish sitemap.org. > Do I need to include full file path in the exlude value ? Maybe disable :auto-sitemap. If your sitemap is autogenerated, it is published unconditionally. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org

Re: Publish and file exclude

2025-02-15 Thread Sébastien Gendre
Sadly, it still publish sitemap.org. Do I need to include full file path in the exlude value ? Ihor Radchenko writes: > Sébastien Gendre writes: > >> With "sitemap.*", the sitemap.org is still published. > > ".*sitemap.*"? signature.asc Description: PGP signature

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

2025-02-15 Thread Ihor Radchenko
Grégoire Scano writes: > Attached is a small patch adding two options to =#+MAN_CLASS_OPTIONS= to > customize the footer-middle and header-middle arguments of the .TH macro. Thanks! While you are on it, may you also update the commentary in ox-man.el? Commentary is currently the only source of t

Re: [FR] [ox-html] export timestamps and durations via HTML5 element

2025-02-15 Thread Ihor Radchenko
Lukas Epple writes: > If we are using HTML5 () to export, we are entitled to > use the element [1] [2] which allows attaching a machine readable > date, time, datetime or duration to text. Consequently, I propose that > we change the rendering to something like the following if the user sets

Re: Publish and file exclude

2025-02-15 Thread Sébastien Gendre
Ah. But I need the auto-generation of the sitemap. And it's publication into an html file make it appear into the RSS feed. Ihor Radchenko writes: > Sébastien Gendre writes: > >> Sadly, it still publish sitemap.org. > >> Do I need to include full file path in the exlude value ? > > Maybe disa

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Sébastien Gendre
Are "RSS_START" and "RSS_END" variables you have defined ? "Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:No public key for DCCF0DB30BC10548 created at > 2025-02-12T18:15:21+0100 using RSA > No public key for 13EF8D452403C3EB created at 2025-02-12T18:15:18+0100 using > RSA]] > Sébas

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

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > Ihor Radchenko writes: > >> Sebastien, would you be interested to test this? I can add a >> complementary patch for Org that will work in tandem with this patch for >> Emacs. > > I can make a test. Thanks! Please 1. use the latest diff from Martin for Emacs git sourc

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

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > Ihor Radchenko writes: > >> Sebastien, would you be interested to test this? I can add a >> complementary patch for Org that will work in tandem with this patch for >> Emacs. > > How does the "indirect buffer" work ? > Is it just a narrowed buffer ? Nope. Indirect buf

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Sébastien Gendre
It's a bit off topic, but did you generate your RSS feeds from an Org-mode file ? "Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:No public key for DCCF0DB30BC10548 created at > 2025-02-12T18:15:21+0100 using RSA > No public key for 13EF8D452403C3EB created at 2025-02-12T18:15:18+010

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Sébastien Gendre
Ho, I was certain that with the option ":only-contents t" in the #+INCLUDE, it would only include the file content and not the #+TITLE. I have misunderstand the manual, sorry. Ihor Radchenko writes: > Sébastien Gendre writes: > >> Is mixing the two #+TITLE when include another Org document is

Re: Include a document combine the titles on the HTML export

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > Ho, I was certain that with the option ":only-contents t" in the > #+INCLUDE, it would only include the file content and not the #+TITLE. > I have misunderstand the manual, sorry. :only-contents is completely ignored unless you specify a search option in the include l

Re: [BUG] "#+STARTUP: hideblocks" not always working as expected [9.8-pre (release_9.7.18-205-g0ce4f3 @ ~/.emacs.d/org-mode-git/lisp/)

2025-02-15 Thread Ihor Radchenko
Paul Stansell writes: > There seems to be some inconsistency in the effect of using "#+STARTUP: > hideblocks". I have attached 3 org files to illustrate the differences. > All org files are the same except for their "#+STARTUP:" directives. > > bug2.org :: On opening this file, the content of S

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-02-15 Thread Ihor Radchenko
Björn Bidar writes: >> Then, why not simply the attached patch? >> > Because the patch circumvents the other-frame mechanism when the > other-frame is dead. May it be that `org-link-frame-setup' is configured by the user to use current frame, but the user manually used gnus-other-frame and close

Re: Warning/Error message seen on an org file...

2025-02-15 Thread Ihor Radchenko
"Rivoallon, Frederic" writes: > The org version is 9.6. Ok. This is not the latest release. May you upgrade and let me know if you still see the warning? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

Publish and file exclude

2025-02-15 Thread Sébastien Gendre
Hello, I try to configure my Org-publish project to exclude "sitemap.org" from exporting. I already include its content inside an "index.org" file. On the publish project, I have added this option: :exclude "sitemap*" But the sitemap.org is still exported to sitemap.html. What did I do wr

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

2025-02-15 Thread Sébastien Gendre
Thank you. :) Ihor Radchenko writes: > Sébastien Gendre writes: > >> Ihor Radchenko writes: >> >>> Sebastien, would you be interested to test this? I can add a >>> complementary patch for Org that will work in tandem with this patch for >>> Emacs. >> >> How does the "indirect buffer" work ? >>

Re: Publish and file exclude

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > On the publish project, I have added this option: > > :exclude "sitemap*" > > > But the sitemap.org is still exported to sitemap.html. > > What did I do wrong here ? "sitemap.*" "sitemap*" is (rx "sitema" (zero-or-more "p")) -- Ihor Radchenko // yantar92, Org mo

Re: [BUG] Invalid custom types in org-table and org-clock [9.7.11 (release_9.7.11 @ /home/rpluim/repos/emacs/lisp/org/)]

2025-02-15 Thread Ihor Radchenko
Robert Pluim writes: > There are a few more things that need fixing (thanks Mauro for the > pointer). In defcustom, `symbol' means "any symbol", when specifying a > particular symbol itʼs better to use `const'. > > I hope I found them all. This is against org-mode master. Thanks! Applied, onto b

Re: [BUG] org-table-sum not working as expected [9.8-pre (release_9.7.21-252-g9a3b22 @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-15 Thread Ihor Radchenko
Paul Stansell writes: > Using "C-c + C-y" in the last cell of the table below to sum the column > gives the wrong answer because the "2025" part of the date in the header is > being included in the sum. > > |-| > | 2025-01 | > |-| > | 10 | > | 20 | > |-| > |2

Re: Cannot yank media when image come from Gnome screenshot

2025-02-15 Thread Ihor Radchenko
Visuwesh writes: >> Nothing in emacs core uses `cl-find-method', so if this breaks you >> have a strong case for getting it fixed 🙂 > > Yep, I observed that. The only instance of cl-find-method I could find > was in a comment, in an obsolete library. Even its powerhouse > cl--generic-member-met

Re: Publish and file exclude

2025-02-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Sébastien Gendre writes: > >> Sadly, it still publish sitemap.org. > >> Do I need to include full file path in the exlude value ? > > Maybe disable :auto-sitemap. > > If your sitemap is autogenerated, it is published unconditionally. Do you mean that you postprocess the

Re: [patch] new option `org-latex-default-class-options'

2025-02-15 Thread hugo
New patch attached, with a news entry and package version. I have no specific objections to adding a defcustom, but I am wondering why not using #+INCLUDE directive and adding all the export settings that way? I'm not sure what you mean by this? I tried a few workflows with #+INCLUDE before s

Re: [BUG] org-table-sum not working as expected [9.8-pre (release_9.7.21-252-g9a3b22 @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-15 Thread Paul Stansell
On Sat, 15 Feb 2025 at 14:58, Ihor Radchenko wrote: > Paul Stansell writes: > > > Using "C-c + C-y" in the last cell of the table below to sum the column > > gives the wrong answer because the "2025" part of the date in the header > is > > being included in the sum. > > > > |-| > > | 202

Re: [BUG] org-table-sum not working as expected [9.8-pre (release_9.7.21-252-g9a3b22 @ ~/.emacs.d/org-mode-git/lisp/)]

2025-02-15 Thread Ihor Radchenko
Paul Stansell writes: > The header row that contains 2025-01 is supposed to represent a date in the > -MM format, not a number, so I expected org to sum just the numbers to > get 30, and not to include the first part of the date in the sum. I > checked if org was evaluating 2025-01 = 2024 be

Re: org-fontify-whole-block-delimiter-line behavior

2025-02-15 Thread Ihor Radchenko
Lei Zhe writes: > When a source block is indented within a list, as shown below, > even if I set `org-fontify-whole-block-delimiter-line` to nil, the > spaces before `#+begin_src` are still fontified if I have custom > faces for `org-block-begin-line` and `org-block-end-line`. In my > opinion, th

Re: Publish and file exclude

2025-02-15 Thread Sébastien Gendre
Nice idea. Ihor Radchenko writes: > Ihor Radchenko writes: > >> Sébastien Gendre writes: >> >>> Sadly, it still publish sitemap.org. >> >>> Do I need to include full file path in the exlude value ? >> >> Maybe disable :auto-sitemap. >> >> If your sitemap is autogenerated, it is published uncon

Re: [PATCH] ob-sql: session + sql.el w/o prompt

2025-02-15 Thread Ihor Radchenko
Ihor Radchenko writes: > May you please post the patch on Emacs bug tracker? (M-x > submit-emacs-patch) and X-Debbugs-CC me? > That way, we get the Emacs maintainers involved into the discussion. The patch is in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=76025 There are no major objections t

Re: Org is using obsolete function `lisp-complete-symbol`

2025-02-15 Thread Ihor Radchenko
Stefan Kangas writes: > Org mode is still using the obsolete function `lisp-complete-symbol`, > but that function has been obsoleted in favor of `completion-at-point` > in version 24.4. The attached diff is not meant to be installed, but to > show where the problem is. > > The usual schedule for

Re: [PATCH] cosmetic of begin/end lines

2025-02-15 Thread Ihor Radchenko
Phil Estival writes: > Is there any reason to force the extension of the lines of begin/end > while the whole fontification of a block is on? I haven't seen any > since org 9 and this allows to under/overline only the text of > begin/end while setting the background color of the entire line. Thi

Re: [PATCH] Turn org-mouse features into minor-modes

2025-02-15 Thread Visuwesh
[சனி பிப்ரவரி 15, 2025] Ihor Radchenko wrote: > Visuwesh writes: > >>> `org-mouse--old-mouse-map' is awkward. >>> May we use :enable + menu item instead? >> >> Hmm looking closely at the modifications org-mouse does to >> org-mouse-map, I see a severe interdependence between all the features >> i

Re: org code highlight w/ single quote

2025-02-15 Thread Ihor Radchenko
"Rohit Patnaik" writes: > Relatedly, would the refactored fontification also handle nested bold and > italic > text where the delimiters for those are adjacent to one another? Yes. The idea is to make everything match Org parser. > Right now, for example: > > /this is italic *and some bold

Re: Cannot yank media when image come from Gnome screenshot

2025-02-15 Thread Ihor Radchenko
Visuwesh writes: > I am using an undocumented (autoloaded) function to do so. Please note > that I know less than nothing about cl-defgeneric/cl-defmethod and the > solution I found was from trial-and-error. > [ The test returns non-nil once I C-x C-e the cl-defmethod so that is at > least som

Re: [BUG] Highlighting bug on code blocks [9.7.20 (N/A @ /gnu/store/nbqz4xh45yvlpw9dqqfpxp82v0f82vk4-emacs-org-9.7.20/share/emacs/site-lisp/org-9.7.20/)]

2025-02-15 Thread Ihor Radchenko
Pierre-Henry Fröhring writes: > There is apparently a bug (see attached screenshot) when Org Mode tries > to highlight this code block: > > ┌ > │ #+begin_src makefile > │ … > │ SRC_ORG=… > │ #+end_src > └ Do you mean that src_org is highlighted using org-inline-src-block face? Yes, it

Re: Publish and file exclude

2025-02-15 Thread Sébastien Gendre
With "sitemap.*", the sitemap.org is still published. Ihor Radchenko writes: > Sébastien Gendre writes: > >> On the publish project, I have added this option: >> >> :exclude "sitemap*" >> >> >> But the sitemap.org is still exported to sitemap.html. >> >> What did I do wrong here ? > > "si

Re: [patch] new option `org-latex-default-class-options'

2025-02-15 Thread Ihor Radchenko
h...@heagren.com writes: > Attached is a patch adding a new option > `org-latex-default-class-options'. The option can be set locally (file > locally, buffer locally, etc.) to effect the options which are > interpolated in LaTeX exports by default. > > This might not seem terribly useful: if you w

Re: Publish and file exclude

2025-02-15 Thread Ihor Radchenko
Sébastien Gendre writes: > With "sitemap.*", the sitemap.org is still published. ".*sitemap.*"?

Failure of asynchronous org exports and poly-org

2025-02-15 Thread Benjamin McMillan
I am unable to asynchronously export certain org buffers ("Process ‘org-export-process’ exited abnormally"). Specifically, when I have poly-org mode enabled on a buffer. It is a similar issue to this one: https://list.orgmode.org/aw_wwlJcCuUcOWTA5vHxOQaat4W5s33Auov2jBSfrpkgCoM2JuGIUN6WNDQMfBYQL2NQo