Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-15 Thread Kierin Bell
Hi Ihor, Ihor Radchenko writes: > TL;DR: We are in the process of designing a more unified selection > interface for Org mode and want to see if there is some way to unify > context-menu-mode, transient, which-key and embark together. The idea > is to (1) avoid too many customizations; (2) all

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient menu?)

2024-12-15 Thread Samuel Wales
a couple of quick and somewhat obvious comments. i use VERY large fonts with a maximized gui emacs [vt / maximized urxvt when needed], still resulting in, throughout emacs, often, a smaller number of screen lines or columns than content, even with my usual one window per frame. most org menus re

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-15 Thread Leo Butler
Ihor, Attached is a patch to fix the problem that Benjamin has encountered. Best regards, Leo From acc099ca608b59c60f941d8dbff25a17e7adbf8c Mon Sep 17 00:00:00 2001 From: Leo Butler Date: Sun, 15 Dec 2024 21:20:26 -0600 Subject: [PATCH] lisp/ob-maxima.el: fix Mac-related bug * ob-maxima.el (or

Re: [BUG] Cannot tangle src block in capture buffer [9.7.6]

2024-12-15 Thread Derek Chen-Becker
On Mon, Aug 05, 2024 at 02:03:50PM +, Ihor Radchenko wrote: > That's because capture buffer is an indirect buffer and indirect buffers > are technically not associated with any file. > > We should probably fix handling indirect buffers across Org mode. > > Confirmed. > OK, after some debugg

Re: Keyword TOC generation for GFM

2024-12-15 Thread Ihor Radchenko
Psionic K writes: > ... if I try to create > a partial TOC, as I have done with dslide, the normal ox-md behavior > returns and I get vanilla markdown links. > ... > What I'm looking for is vague understanding of where the problem might > actually be and what pieces of code the solution might tou

Re: Unexpected error using org-gnus-follow-link

2024-12-15 Thread Max Nikulin
On 13/12/2024 12:42, Visuwesh wrote: [வியாழன் டிசம்பர் 12, 2024] Fraga, Eric wrote: Response below/inline for email Visuwesh wrote: (original email sent 12 Dec 2024 at 20:32) A shot in the dark after looking at org-gnus-follow-link: what is the value of org-link-frame-setup? Does it have the

Re: Org Beamer question

2024-12-15 Thread Ihor Radchenko
David Masterson writes: > Ok. Why is toc:t giving me only a top level TOC? It would seem that the > level 1 headlines are only slightly useful in a Beamer TOC (as dividers > for the other headlines). Also, is this restriction about limiting text > to level 2+ headlines mentioned in the Org manu

Re: [BUG] Org Roam does not open capture buffer [9.7.11 (9.7.11-??-6a5d0ed34 @ /home/yonggan/.config/emacs/.local/straight/build-29.4/org/)]

2024-12-15 Thread Ihor Radchenko
Yonggan writes: > State could not be dumped due to the following error: > > (user-error Tree-Sitter mode is not enabled for this buffer!) > ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in > non-Org buffer # (emacs-lisp-mode) > ⛔ Warning (org-element): org-element--cache: Org pa

Re: Bad interaction between org-capture entry type and file+function target?

2024-12-15 Thread Ihor Radchenko
Visuwesh writes: > I just thought of a situation where this behaviour would be desired: a > template could use FUNCTION-FINDING-LOCATION to ask the user to choose a > heading (from a list, using org-ql, etc.) to capture the entry to go > _under_ it. Here, the function would simply move the point

Re: cosmetic bug fix: avoid trailing whitespace

2024-12-15 Thread Ihor Radchenko
Karl Eichwalder writes: > cosmetic bug fix: avoid trailing whitespace in latex export > > > * lisp/ox-latex.el (org-latex-hyperref-template): Avoid trailing > whitespace. Applied, onto main, after changing the commit message and adding TINYCHANGE cookie. https://git.savannah.gnu.org/cgit/emacs/o

Re: fix typo in documentation

2024-12-15 Thread Ihor Radchenko
Karl Eichwalder writes: > Tiny typo fix: s/that/than/ : > > --- > doc/org-manual.org | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks! Applied, onto main, after modifying commit message and adding TINYCHANGE cookie. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id

May we have a variant of display-buffer-reuse-window that considers indirect buffers? (was: Indirect follow mode in agenda: Display, edition and how to hide drawers)

2024-12-15 Thread Ihor Radchenko
Hi, We got a use case when we want to display an Org buffer in other window, but want to reuse an indirect buffer if it is already present. May it be possible? It feels like a natural thing to be available for `display-buffer', but I cannot find anything. Sébastien Gendre writes: > When I want

Re: Indirect follow mode in agenda: Display, edition and how to hide drawers

2024-12-15 Thread Ihor Radchenko
Sébastien Gendre writes: > I have launch `emacs -Q` and evaluate this on the *scratch* buffer: > > (setq org-agenda-files >(list "~/Org/Inbox.org" > "~/Org/Habits.org")) > > (setq org-agenda-start-with-follow-mode t) > > (setq org-agenda-

Re: Noisy and unreliable (de-)tangling

2024-12-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Rudolf Adamkovič writes: > >> Ihor Radchenko writes: >> >>> `org-id-link-to-org-use-id' should be respected once you use :comments >>> link >> >> As of now? It is not. >> >> With `emacs -Q', >> ... > > Confirmed. > This is likely a regression after we moved id: link ha

RE: org-babel-execute-src-block filters characters from :session *shell* output AND Re: [BUG] conda doesn't work in ob-shell sessions

2024-12-15 Thread Ihor Radchenko
"Cook, Malcolm" writes: > # -*- org-confirm-babel-evaluate: nil; -*- > ... Duplicate of https://list.orgmode.org/orgmode/ds7pr20mb4671e61718cec1fd86dac722be...@ds7pr20mb4671.namprd20.prod.outlook.com/ -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at

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

2024-12-15 Thread Ihor Radchenko
Duplicate of https://list.orgmode.org/orgmode/ds7pr20mb4671e61718cec1fd86dac722be...@ds7pr20mb4671.namprd20.prod.outlook.com/ Canceled. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at

Re: [BUG] conda doesn't work in ob-shell sessions AND org-babel-execute-src-block filters characters from :session *shell* output

2024-12-15 Thread Ihor Radchenko
"Cook, Malcolm" writes: > #+begin_src shell :session *shell* :results output > conda create --yes --name myenv python=3.9 > #+end_src > ... > #+begin_src shell :session *shell* :results output > conda activate myenv > #+end_src > > #+RESULTS: > > #+begin_src shell :session *shell* :results outp

Re: org-id-locations-load should probably abbreviate file names

2024-12-15 Thread Ihor Radchenko
"Martin Edström" writes: > This is not a bug that breaks normal use of org-id, but it may affect > downstream uses. > > An example is my package org-node, which checks file names known to org-id, > and combines that with other sources of information, to build a big file list. > > This list is a

Re: Change behavior of "org-babel-tangle-publish" from org 9.6 to 9.7 -- deleting source files and not tangling properly

2024-12-15 Thread Ihor Radchenko
Ihor Radchenko writes: > IMHO, it makes more sense to preserve _and also document_ (in the > docstring) the old behavior. We just need to make sure that the bug > fixed in 478576749d does not re-surface - when publishing directory is > "." the old code failed trying to copy tangled file into self

Re: Contributing (looking for good first issues to tackle)

2024-12-15 Thread Bastien Guerry
Ihor Radchenko writes: > Note that https://tracker.orgmode.org/howto still points all the links > to Sourcehut. Fixed, thanks! -- Bastien Guerry

Re: [PATCH] ox-texinfo: Support numeric values of `toc' in `#+OPTIONS'

2024-12-15 Thread Ihor Radchenko
Ihor Radchenko writes: > See `org-export-collect-headlines' and how it uses > `org-export-get-relative-level' to determine whether a given heading is > too deeply nested to be included into TOC. > > `org-export-get-relative-level' is also used within individual backends > when dealing with :with-

How to handle both minor mode and major mode remapping a command? (was: Bug: org-kill-line shouldn't assume visual-line-mode means kill-visual-line)

2024-12-15 Thread Ihor Radchenko
Hi, We have the following situation in Org mode: 1. Org mode remaps `kill-line' to `org-kill-line' 2. `org-kill-line' performs special action when point is on a heading and otherwise falls back to `kill-line' 3. visual-line-mode, if active, sets up minor mode map remapping `kill-line' to `k

Re: Contributing (looking for good first issues to tackle)

2024-12-15 Thread Ihor Radchenko
Bastien Guerry writes: > Woof! is now hosted on https://github.com/bzg/woof only - it was > confusing to host it on several places. Thanks for the heads up! Note that https://tracker.orgmode.org/howto still points all the links to Sourcehut. -- Ihor Radchenko // yantar92, Org mode maintainer,

Re: Contributing (looking for good first issues to tackle)

2024-12-15 Thread Bastien Guerry
Ihor Radchenko writes: > Woof! is the way to track issues, at least eventually. My goal for 2025 is to rewrite Woof! to make it more useful and using it for Org is a great opportunity for that. See https://github.com/bzg/woof?tab=readme-ov-file#planning-a-rewrite > Woof! is still in early deve

Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark?

2024-12-15 Thread Ihor Radchenko
Juri Linkov writes: >> 1. List of possible actions: ((name1 . action1 props) (name2 . action2 ...) >> ...) >>PROPS is a plist defining extra properties like key-binding, display >>string, maybe something else to be used in the future. >> 2. Menu interface to use (transient, context-menu,

org-speed-keys design (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite: Replace basic follow-processor with transient men

2024-12-15 Thread Ihor Radchenko
Psionic K writes: >> > org-speed-keys >> May you please elaborate? > > I discovered org speed keys because I was making my own speed-key > system and came across the shadowed bindings. The bindings are always > shadowed, even when speed keys are off. Unlike Lispy, where I > customize the shadow

Re: [BUG] ob-maxima outputs linenum:0 in results on MacOS

2024-12-15 Thread Benjamin McMillan
Dear Leo, Ah right, good idea. That works! Best, Ben On Sun, Dec 15, 2024 at 12:11 PM Leo Butler wrote: > Benjamin, > > What if you remove the anchor at the beginning of the regexp? Does the > following work with the other tests? > > (add-to-list 'org-babel-maxima--output-filter-regexps "(linenu