Re: Add org-src-is-fontify-buffer-p (patch attached)

2025-01-17 Thread Ihor Radchenko
Ship Mints writes: > I've added the predicate function org-src-is-fontify-buffer-p which can be > used in a prog-mode hook to avoid resource-intensive features such as eglot > inside a fontification buffer. This short example should make it clear. > > (defun my/emacs-lisp-hook () > (unless (and

Re: [BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]

2025-01-17 Thread Ihor Radchenko
Torben Knudsen writes: > ⛔ Warning (org-element): org-element--cache: Org parser error in > Tmp.org::47694. Resetting. > The error was: (error "Invalid search bound (wrong side of point)") > Backtrace: > nil > Please report this to Org mode mailing list (M-x org-submit-bug-report). > ... > Pa

Add org-src-is-fontify-buffer-p (patch attached)

2025-01-17 Thread Ship Mints
Greetings, org-mode maintainers, I've become an occasional contributor over on the Emacs side. I thought I'd give an org-mode contribution a try. The attached patch came out of the discussion here https://www.reddit.com/r/emacs/comments/1i3mk6m/disable_eglot_in_orgmode_source_blocks/ I've added

[BUG] Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. [9.7.18 (9.7.18-1463ab @ /home/tk/.emacs.d/elpa/org-9.7.18/)]

2025-01-17 Thread Torben Knudsen
⛔ Warning (org-element): org-element--cache: Org parser error in Tmp.org::47694. Resetting. The error was: (error "Invalid search bound (wrong side of point)") Backtrace: nil Please report this to Org mode mailing list (M-x org-submit-bug-report). Remember to cover the basics, that is, what yo

Re: different faces for categories in agenda view?

2025-01-17 Thread Ihor Radchenko
"Fraga, Eric" writes: > is there any way to apply different faces to entries in the agenda view > depending on category? I do have the category displayed as well as a > different icon but it would be good to have the whole entry use a > specific face as a function of the category. > > Sort of li

Re: [PATCH] ob-sql: session

2025-01-17 Thread Ihor Radchenko
Phil Estival writes: > ... However, some SQL shells, like Mariadb, can only be > configured through command line parameters. These are global in Emacs > and set by `sql-set-product-feature'. So in order to support these, > the function in charge of opening the connection needs different > parame

Re: [PATCH] testing/lisp/test-ox-man.el: Add regression tests for ox-man

2025-01-17 Thread Ihor Radchenko
Ilya Chernyshov writes: > From dfe5b8df8d7ec6db03336594d120ee5565205ac6 Mon Sep 17 00:00:00 2001 > From: Ilya Chernyshov > Date: Tue, 14 Jan 2025 17:39:38 +0700 > Subject: [PATCH] testing/lisp/test-ox-man.el: Add regression tests for ox-man > > * testing/lisp/test-ox-man.el (ox-man/bold, ox-man/

Re: [BUG] Org mode freeze in combination with recovery notification [9.7.11 (release_9.7.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2025-01-17 Thread Ihor Radchenko
Jordan Ellis Coppard writes: > ... I don't > have a way to reproduce this minimally yet but it looks like it might be > due to parsing the org file and/or fontification. It seems to happen > when I make drastic edits that temporarily leave the org with some > region of markup which is garbage

Re: [BUG] Headings do not unfold [9.6.15 (release_9.6.15 @ /gnu/store/…-emacs-29.4/)]

2025-01-17 Thread Ihor Radchenko
Pierre-Henry Fröhring writes: > I keep encountering errors while editing an Org Mode document, like this > one. I can’t figure out what causes them or how to reproduce them. When > these errors occur, headings stop unfolding, and I have to kill and > reload the buffer to continue editing.

Re: [BUG] Org mode freeze in combination with recovery notification [9.7.11 (release_9.7.11 @ /Applications/MacPorts/Emacs.app/Contents/Resources/lisp/org/)]

2025-01-17 Thread Jordan Ellis Coppard
On 24/11/2024 3:54 am, Ihor Radchenko wrote: Without more details, there is little we can do to fix things, but it is useful to be altered that problems in this area still exist. Is there any chance you can provide a way to reproduce the problem? Hi, very long reply time from me. I've been foc

[BUG] Headings do not unfold [9.6.15 (release_9.6.15 @ /gnu/store/…-emacs-29.4/)]

2025-01-17 Thread Pierre-Henry Fröhring
1 Description = I keep encountering errors while editing an Org Mode document, like this one. I can’t figure out what causes them or how to reproduce them. When these errors occur, headings stop unfolding, and I have to kill and reload the buffer to continue editing. 2 Backtr