[BUG] org-contrib/org-static-mathjax is not operational [9.7-pre (release_9.6.18-1153-gee395b.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2024-02-09 Thread Ihor Radchenko
Hello, It looks like org-static-mathjax.el from org-contrib is not operational for many years. When I look at byte-compiler warnings, I see a number of references to variables that are long gone: Compiling file /home/yantar92/Git/org-contrib/lisp/org-static-mathjax.el at Fri Feb 9 12:26:04

[BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]

2024-02-09 Thread Morgan Willcock
I've managed to trigger this a couple of times over the last few days, both times the backtrace began by calling flyspell functions. I'm not sure how to re-create the problem, but I thought it best to report it just in case anyone else is seeing the same thing. ⛔ Warning (org-element-cache):

Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]

2024-02-09 Thread Ihor Radchenko
Morgan Willcock writes: > I've managed to trigger this a couple of times over the last few days, > both times the backtrace began by calling flyspell functions. I'm not > sure how to re-create the problem, but I thought it best to report it > just in case anyone else is seeing the same thing. >

Re: [PATCH] testing: Delete duplicate tests

2024-02-09 Thread Ihor Radchenko
Ilya Chernyshov writes: > Yeah, now it works as it should. Thanks. I've made some minor changes > I've described in the attached patch. Thanks! I squashed all the patches modifying the new test library into a single commit and changed the duplicate in test-org/file-contents to achieve its

Re: [PATCH] testing: Delete duplicate tests

2024-02-09 Thread Ilya Chernyshov
Ihor Radchenko writes: > Note that your > `test-org-tests/test-duplicates-detector-testing-find-duplicates' does > not look right. I had to adjust the `equal' condition in order to make > it pass. May you please check if the return value of > `test-duplicates-detector--find-duplicates' is what

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-09 Thread Rick Lupton
On Fri, 9 Feb 2024, at 12:09 PM, Ihor Radchenko wrote: > May you please update on your FSF copyright assignment status? I believe the agreement is all signed and completed. Thanks Rick

Re: Link type for pdf-tools annotations

2024-02-09 Thread Juan Manuel Macías
Irfan S writes: > FYI, there is also > [[https://github.com/fuxialexander/org-pdftools][org-pdftools]] which > provides similar (and additional) functionality, and is on MELPA. > Thanks for sharing your code. Thank you very much, I didn't know that. Best regards, Juan Manuel -- Juan Manuel

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-09 Thread Ihor Radchenko
"Rick Lupton" writes: > On Fri, 9 Feb 2024, at 12:09 PM, Ihor Radchenko wrote: >> May you please update on your FSF copyright assignment status? > > I believe the agreement is all signed and completed. Bastien, may your please check FSF records? -- Ihor Radchenko // yantar92, Org mode

error during appt/agenda initialization

2024-02-09 Thread Fraga, Eric
Hello all, I upgraded (on a different system) org-mode from git and I now find that my emacs start-up hangs. If I C-g out of it, I get the following backtrace: --8<---cut here---start->8--- Debugger entered--Lisp error: (quit) #f(compiled-function (node)

Re: [PATCH v2] org-id: allow using parent's existing id in links to headlines

2024-02-09 Thread Ihor Radchenko
"Rick Lupton" writes: > On Thu, 8 Feb 2024, at 1:02 PM, Ihor Radchenko wrote: >> I have some thoughts about rewording your changes to the manual and >> ORG-NEWS. See the attached patch on top of yours. > > Thanks, makes sense -- wasn't sure whether to keep this as a separate patch > or not, I

[PATCH] ox-latex: Make more variables file local safe

2024-02-09 Thread gerard . vermeulen
Hi, I have a direct use for org-latex-toc-command being a file local safe variable and I looked a bit around for other variables not being file local safe for no good reason IMO (why those not, while similar variables yes). I have attached a patch which makes six variables file local safe.

Is there something people use instead of org-ctags? (was: [PATCH] `org-ctags-create-tags` creates empty TAGS file)

2024-02-09 Thread Martin Marshall
I was curious how long this bug had been around and why no one complained about it before. So I looked through the Git log and found that it was introduced on 1/18/2010. That's just over two weeks after the package was added to Emacs[1]! Other than a 4 year old Reddit post[2], there've been no

Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-02-09 Thread Pedro Andres Aranda Gutierrez
Hi Ihor, yes, you are right. The whole thread went astray. However, I think it might be interesting to keep this as an alternative to the AUTO stuff... Anyhow, I'm open to cancelling the patch Best, /PA On Sat, 10 Feb 2024 at 00:07, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez

[patch] Add two new header args to LaTeX block

2024-02-09 Thread Juan Manuel Macías
The attached patch adds two new header args to the LaTeX block: - `:pdf-process' allows modifying the value of `org-latex-pdf-process' locally to the block. This can be useful for evaluating a given block with another LaTeX compiler, or even using some custom script. Example: #+begin_src

Re: [BUG] conda doesn't work in ob-shell sessions

2024-02-09 Thread Ihor Radchenko
Matt writes: > On Fri, 26 Jan 2024 01:42:59 +0100 Jack Kamm wrote --- > > > Second version of the patch works on my test example now. The initial > > block hangs for a few seconds but then finishes. Subsequent blocks seem > > to work without any noticeable hanging. > > I was able to

Re: [BUG] Face of Org block ending line (org-block-end-line) propagates to next line. [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2024-02-09 Thread Ihor Radchenko
Kostas Papadakis writes: > Summary: The face org-block-end-line is propagating to the next line > causing graphic anomalies when it's customized with anything like > background, underline, overline etc. > > How to reproduce: > Start a new Emacs instance with the command "emacs -Q". > Issue

Re: [BUG] Footnotes in section titles

2024-02-09 Thread Ihor Radchenko
Ihor Radchenko writes: > Subject: [PATCH] org-latex-headline: Prevent footnotes in TOC/footers Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0d77cf842 Fixed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Question regarding org-capture-bookmark and org-bookmark-names-plist

2024-02-09 Thread Ihor Radchenko
Tim Wichmann writes: > But, when obsoleting `org-capture-bookmark', this problem is solved > anyhow: Bookmark creation can be fully controlled using the plist > variable (and only there). > > So, I vote for obsoleting `org-capture-bookmark'. Done. Fixed, on main.

Re: [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)]

2024-02-09 Thread Tommy Kelly
Justin Silverman writes: js > Org no longer allows the third argument in (file+olp+datetree ... And Ihor Radchenko replied: ir > Duplicate of https://list.orgmode.org/878r3xfm90.fsf@localhost/T/#t ir > Canceled. The initial problem has certainly been fixed in that the headline(s) arguments to

Re: error during appt/agenda initialization

2024-02-09 Thread Ihor Radchenko
"Fraga, Eric" writes: > I upgraded (on a different system) org-mode from git and I now find that > my emacs start-up hangs. If I C-g out of it, I get the following > backtrace: >... > org-element-cache-map >... > If I comment out the (org-agenda-to-appt) line in my configuration, > Emacs

Re: error during appt/agenda initialization

2024-02-09 Thread Fraga, Eric
Hi Ihor, On Friday, 9 Feb 2024 at 20:35, Ihor Radchenko wrote: > Try the latest main. Thank you but, unfortunately, initialization is still failing, although the backtrace is subtly different: --8<---cut here---start->8--- Debugger entered--Lisp error:

Re: [BUG] Flyspell triggers "Warning (org-element-cache): org-element--cache" [9.6.18 ( @ /home/mwillcock/.emacs.d/elpa/org-9.6.18/)]

2024-02-09 Thread Morgan Willcock
Ihor Radchenko writes: > Morgan Willcock writes: > >> I've managed to trigger this a couple of times over the last few days, >> both times the backtrace began by calling flyspell functions. I'm not >> sure how to re-create the problem, but I thought it best to report it >> just in case anyone

Re: [BUG] Invalid capture datetree capture templates (newly introduced) [9.7-pre (release_9.6.18-1145-g10d286 @ /home/jds6696/.emacs.d/straight/build/org/)]

2024-02-09 Thread Ihor Radchenko
Tommy Kelly writes: > C) entry (file+olp+datetree "test-datetree.org" "H1 "H2");; > filename plus heading and sub-heading > > Then I'd expect A) to use a datetree rooted at the file top level; B) > to use one underneath heading "* H1"; and C) to use one underneath ** > H2" (which itself is

[PATCH] `org-ctags-create-tags` creates empty TAGS file [9.6.15 (release_9.6.15 @ /home/martin/Projects/emacs/lisp/org/)]

2024-02-09 Thread Martin Marshall
Hi, the docstring of `org-ctags-create-tags` says it should "(Re)create tags file in the directory of the active buffer," creating tags from the internal links found in the org files. However, it always creates an empty TAGS file. The cause appears to be a pair of escaped quotes used with

Re: [PATCH] ox-latex: Make more variables file local safe

2024-02-09 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: > I have a direct use for org-latex-toc-command being a file local > safe variable and I looked a bit around for other variables not > being file local safe for no good reason IMO (why those not, > while similar variables yes). > > I have attached a patch which

Re: [BUG] org-num-skip-unnumbered is not respected if a org-mode file enables org-num-mode on startup [9.6.18 ( @ /home/drcxd/.emacs.d/elpa/org-9.6.18/)]

2024-02-09 Thread Ihor Radchenko
Chang Xiaoduan writes: >> This is known. >> #+STARTUP options are handled before buffer-local variables take effect. >> See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57003 >> Handled. >> > > I have read the thread but I can not figure a solution. I tried to > search "early local" you

Re: New try at multi-lingual export to latex/pdf using pdflatex and babel

2024-02-09 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Subject: [PATCH] org-manual: Add multi-language babel example > > org-manual.org: Add multi-language babel example > > * doc/org-manual.org: Add an example for the LaTeX header commands > needed to export multi-language documents to pdflatex. In this case