Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]

2023-06-20 Thread Sébastien Miquel
Ihor Radchenko writes: ...But I guess what you propose amounts to ... You are right. I'll try to write a patch, this week-end. I was not aware of how we treated inline src blocks, but I don't think so. LaTeX fragments, in particular $$…$$ fragments, can have significant (for the user)

Re: [PATCH] org-capture.el: Allow `(here)' as a template target

2023-06-20 Thread Tim Visher
On Fri, May 12, 2023 at 12:32 PM Ihor Radchenko wrote: > Tim Visher writes: > > > I think this should likely involve an update to the manual but I don't > want > > to bother doing that unless the basic approach is approved. > > LGTM. > Sorry this took me forever to get to. I've now created

Re: How to tell `org-html-link' to create a link with some HTML class?

2023-06-20 Thread Max Nikulin
On 20/06/2023 11:42, Marcin Borkowski wrote: as I mentioned some time ago, I'm writing a custom exporter (actually, a very thin wrapper around the HTML exporter). I'd like `org-html-link' to add some class to the links it generates. Is that possible? I do not have a ready to use recipe.

Re: How to tell `org-html-link' to create a link with some HTML class?

2023-06-20 Thread Marcin Borkowski
On 2023-06-20, at 08:07, Jens Lechtenboerger wrote: > On 2023-06-20, Marcin Borkowski wrote: > >> Dear Orgers, >> >> as I mentioned some time ago, I'm writing a custom exporter (actually, >> a very thin wrapper around the HTML exporter). I'd like `org-html-link' >> to add some class to the

Re: [PATCH] ob-sqlite: Use a transient in-memory database by default

2023-06-20 Thread Ihor Radchenko
Rudolf Adamkovič writes: > I am not a fan of making the use of in-memory databases into a "smell", > as per Org Lint, because it would communicate to the user that "this is > a potential issue that you should probably fix". I think that is not > true, given that SQLite defaults to in-memory for

Re: [BUG] Warning (org-element-cache) [9.6.4 ( @, /nix/store/k8k0vpylhia0i8f95i8wxqgqkswijgz5-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.4/)]

2023-06-20 Thread Ihor Radchenko
"Peter J. Jones" writes: > This appears to happen when I edit an org file in another Emacs instance: > ... > This warning appears several times a day. Thanks for reporting! May you please set org-element--cache-self-verify to 'backtrace, wait until the warning appears again, and then share the

Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]

2023-06-20 Thread Ihor Radchenko
Sébastien Miquel writes: >> 1. When `org-src-preserve-indentation' is in effect, remove the common >> `org-src-preserve-indentation' + #+begin indentation from the body. > > You've mixed up =org-src-preserve-indentation= and > =org-edit-src-content-indentation= so I may misunderstand. You

[BUG] `org-delete-char` and `org-delete-backward-char` don't respect `delete-active-region`

2023-06-20 Thread Okamsn
Hello, I use Meow, which combines movement and making selections, and have `delete-active-region` set to `nil`. Because Meow creates regions frequently, it recommends not having the deletion commands delete the active region. This works when `delete` is bound to `forward-delete-char` and

[BUG] Warning (org-element-cache) [9.6.4 ( @, /nix/store/k8k0vpylhia0i8f95i8wxqgqkswijgz5-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.6.4/)]

2023-06-20 Thread Peter J. Jones
This appears to happen when I edit an org file in another Emacs instance: Warning (org-element-cache): org-element--cache: Added org-data parent to non-headline element: (planning (:closed nil :deadline nil :scheduled (timestamp (:type active :raw-value "<2023-06-16 Fri +1w>" :year-start 2023

replace-regexp ignoring value of org-search-invisible

2023-06-20 Thread bobf32
I would like to perform a search and replace operation to append some text to a range of lines. The range of lines is a series of headings in an org file which might have the following structure: ** A *** A1 ** B *** B1 ** C *** C1 ** D *** D1 I would like to append some text, foo, to the lines

Re: How to tell `org-html-link' to create a link with some HTML class?

2023-06-20 Thread Jens Lechtenboerger
On 2023-06-20, Marcin Borkowski wrote: > Dear Orgers, > > as I mentioned some time ago, I'm writing a custom exporter (actually, > a very thin wrapper around the HTML exporter). I'd like `org-html-link' > to add some class to the links it generates. Is that possible? Dear Marcin, yes, that’s