Org-mode+Babel: Refactor across files or code blocks

2024-10-22 Thread Pablo Padilla
Hi there, I have started to write some of my dotfiles using org-mode and I have regularly felt the need to refactor certain parts of my configuration. At the moment I mostly perform refactoring using find and replace but would like to have more robust support to refactor across distinct Babel b

Re: [RFC] Insert reference to Org table cell or cell range from region selection (w/without mouse)

2024-10-22 Thread Ihor Radchenko
Charles Choi writes: > In trying to understand better what mouse support means, I’ve tried to > formalize this with a state machine as described below. Is this > proposed behavior along the lines of what you were thinking? > > *** s2: point in ✳︎Edit Formulas✳︎ buffer > After calling ~org-table-e

Re: [BUG] Bullets disappear [9.6.15 (release_9.6.15 @ /gnu/store/nvnjriicsz8r7aj9j9dpgxbmmzi1vdig-emacs-29.4/share/emacs/29.4/lisp/org/)]

2024-10-22 Thread Ihor Radchenko
Vert La Foret writes: > In my Emacs.org configure file, org looses track of children and > subheadings. Hitting tab does nothing. If I switch to fundamental on > > the buffer, everything under the bullet seems to be gone. However on a save, > all data that was originally in the file shows up aga

Re: [PATCH] Async sessions: Fix prompt removal regression in ob-R

2024-10-22 Thread Ihor Radchenko
Jack Kamm writes: > Great, thanks. I'm attaching an updated patch with the more explicit > cond clause, and rebased onto latest bugfix. I also attach a second > patch with the NEWS entry on main. Thanks! > + (t (error (format "Unrecognized prompt handling behavior %s" > +

Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace

2024-10-22 Thread Ihor Radchenko
Benjamin McMillan writes: > Sure, here is the patch. Thanks! Applied, onto bugfix. I tweaked the commit message a bit, `quoting' the function name and changing the thread link to point to orgmode.org/lisp (so that we also keep the message ID in the URL for more robustness) https://git.savannah.g

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-10-22 Thread Ihor Radchenko
[ CCing emacs-devel and the author of transient; maybe we can have some more suggestions this way ] For some context, we are trying to create a customizeable transient menu with items configured via user option. We are also trying to pass additional arguments from prefix to suffix commands in a

Re: Noisy and unreliable (de-)tangling

2024-10-22 Thread Ihor Radchenko
Rudolf Adamkovič writes: > So, I started (de-)tangling heavily, to get some "IDE" support, and > oh-my, what a buggy mess it is. Not only are tangling comments > super-noisy, the `org-babel-detangle' function is *unreliable*. If > multiple sections have the same title, such as "Implementation",

Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace

2024-10-22 Thread Benjamin McMillan
Sure, here is the patch. On Sun, Oct 20, 2024 at 6:03 PM Ihor Radchenko wrote: > Benjamin McMillan writes: > > > Granted that it is not worth changing behavior of the function, would it > be > > reasonable to update the docstring? Something like > > "When optional argument FULL is t, also skip

Feature discussion: Search field and local search engine

2024-10-22 Thread Sébastien Gendre
Hello every one, * Context At the beginning of September, I have started a discussion about adding multiple new features to ox-html exporter. This discussion lead to also discuss new features about org-mode itself. To avoid the confusion of having multiples features discussed in the same thread,

Re: Feature discussion: Search field and local search engine

2024-10-22 Thread Sébastien Gendre
Here is some quote of the previous discussion, with my reply below. * Remarks #1, by Ihor Radchenko at Sat, 07 Sep 2024 11:53 Ihor Radchenko writes: > > Sébastien Gendre writes: > > I can search for another project. > > > > I don't know how many work it would be needed to develop a search mot

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Ihor Radchenko writes: > Before I continue with my replies, I'd like to add one general comment. > > You are suggesting a number of new diverse features. > Ideally, it is better to discuss and add them separately. > Especially, when we move ahead and discuss the concrete implementations > or patc

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Hello, I have replied to your message, and the previous one, on the new thread dedicated to the search engine feature, at "Remarks #2": https://list.orgmode.org/878quf1ji0@k-7.ch/T/#m2425dcfc7665e88aefcbd81800d2d83aef98cd5b Best regards --- Gendre Sébastien Max Nikulin writes: > O

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Hello, I have replied to your message, and the previous one, on the new thread dedicated to the search engine feature, at "Remarks #4": https://list.orgmode.org/878quf1ji0@k-7.ch/T/#m2425dcfc7665e88aefcbd81800d2d83aef98cd5b Best regards --- Gendre Sébastien Ihor Radchenko writes: > O

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Hello, I have replied to your message, and the previous one, on the new thread dedicated to the search engine feature, at "Remarks #6": https://list.orgmode.org/878quf1ji0@k-7.ch/T/#m2425dcfc7665e88aefcbd81800d2d83aef98cd5b Best regards --- Gendre Sébastien Ihor Radchenko writes: >

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Hello, I have replied to your message, and the previous one, on the new thread dedicated to the search engine feature, at "Remarks #5": https://list.orgmode.org/878quf1ji0@k-7.ch/T/#m2425dcfc7665e88aefcbd81800d2d83aef98cd5b Best regards --- Gendre Sébastien Orm Finnendahl writes: >

Re: Enhancing the HTML exporter: Create a new backend or contribute to the upstream

2024-10-22 Thread Sébastien Gendre
Hello, I have replied to your message, and the previous one, on the new thread dedicated to the search engine feature, at "Remarks #3": https://list.orgmode.org/878quf1ji0@k-7.ch/T/#m2425dcfc7665e88aefcbd81800d2d83aef98cd5b Best regards --- Gendre Sébastien Orm Finnendahl writes: >

[BUG] Bullets disappear [9.6.15 (release_9.6.15 @ /gnu/store/nvnjriicsz8r7aj9j9dpgxbmmzi1vdig-emacs-29.4/share/emacs/29.4/lisp/org/)]

2024-10-22 Thread Vert La Foret
In my Emacs.org configure file, org looses track of children and subheadings. Hitting tab does nothing. If I switch to fundamental on the buffer, everything under the bullet seems to be gone. However on a save, all data that was originally in the file shows up again. Sometimes when I reload (i.e.

Underscores in "Function:" items

2024-10-22 Thread 8dcc
Hello, When exporting the following Org file to Texinfo: - Function: foo_bar arg :: Contents. The part after the underscore is completely skipped: @defun foo Contents. @end defun And, if I export it to HTML, the `bar' part is shown as a subscript, and I don't know if it's

Re: Org-cite: Replace basic follow-processor with transient menu?

2024-10-22 Thread Tor-björn Claesson
Ihor Radchenko writes: > Thanks! This looks much more clean. > Even better would be having a defcustom that defines the transient > layout. The idea is to avoid hard-coding [["Open" ... ] ["Copy" ...] > ...] and instead make it defcustom. Here is a solution that works for me. Is this an OK use of