Re: Transient: accessibility problems for users who need to use large fonts (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-c

2024-12-17 Thread Samuel Wales
On Tue, Dec 17, 2024 at 11:02 AM Ihor Radchenko wrote: > In other words, you need visual-line-mode inside transient buffers. Do I > understand correctly? that sounds similar to current behavior. my suggestion would wrap to the character column of the beginning of the third text column. similar

[PATCH] doc/org-manual.org: Update MathJax HTML export with example

2024-12-17 Thread Nikolaos Chatzikonstantinou
Hello, I'm attaching a small patch for the documentation in HTML export. Please include this example, it is very useful. Regards, Nikolaos Chatzikonstantinou From 53ba1db54be75781090bb1da5ea15b27fc2c814c Mon Sep 17 00:00:00 2001 From: Nikolaos Chatzikonstantinou Date: Wed, 18 Dec 2024 02:19:06 -

Re: Link preview generation with new link preview property

2024-12-17 Thread Karthik Chikmagalur
> I don't think so, my package org-link-beautify ported to the new > :preview mechanism. The file preview not always image. Could be text, or > icon etc. So pass in image object is not a good idea. It will limit > preview functionality extensibility. The API will not be changed. Org will provide

Re: Link preview generation with new link preview property

2024-12-17 Thread stardiviner
I don't think so, my package org-link-beautify ported to the new :preview mechanism. The file preview not always image. Could be text, or icon etc. So pass in image object is not a good idea. It will limit preview functionality extensibility. [stardiviner] GPG key ID: 47C32433 IRC(

Ignore Local Variables list in source blocks

2024-12-17 Thread Joseph Turner
Hello! Is there a way to make Emacs ignore Local Variables lists which appear inside of source blocks? For example, is there a way to include the following content in an Org file without Emacs attempting to locally set foo to bar? #+BEGIN_EXAMPLE # Local Variables: # foo: 'bar # End: #+END

Ignore Local Variables list in source blocks

2024-12-17 Thread Joseph Turner
Hello! Is there a way to make Emacs ignore Local Variables lists which appear inside of source blocks? For example, is there a way to include the following content in an Org file without Emacs attempting to locally set foo to bar? #+BEGIN_EXAMPLE # Local Variables: # foo: 'bar # End: #+END

Re: Patch to add a new org-archive hook and context info type

2024-12-17 Thread Liu Hui
在 2024/11/7 14:19, John Wiegley 写道: Hello, The following patch adds ‘org-archive-finalize-hook’, which runs earlier than ‘org-archive-hook’ and in the destination buffer, not the original file. This allows the context to be extended, the archived entry to be cleaned up after inseration, maybe

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

2024-12-17 Thread Leo Butler
On Tue, Dec 17 2024, Ihor Radchenko wrote: > Leo Butler writes: > >> Putting that into the batch file will result in it appearing in the >> output of the source-code block. We are trying to stop that. > > FYI, I have basically no experience with Maxima. So, I was simply > shooting in the dark. A

Re: May we have a variant of display-buffer-reuse-window that considers indirect buffers?

2024-12-17 Thread Ihor Radchenko
martin rudalics writes: > Could you please tell us what you would like 'display-buffer' to do > without referring to org-mode. IIUC you want it to automatically detect > that if a base buffer has been displayed in a window earlier and BUFFER > is an indirect buffer sharing that base buffer, then

Transient: accessibility problems for users who need to use large fonts (was: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? (was: Fwd: Org-cite:

2024-12-17 Thread Ihor Radchenko
Samuel Wales writes: > thanks for interest. > > the transient menu i am trying uses more character columns and > lines than window (c-u m-x gptel-send). transient's solution > does not work well for me. Just to be 100% clear, existing Org menus will not disappear any time soon. Even if we chang

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

2024-12-17 Thread Ihor Radchenko
Leo Butler writes: > Putting that into the batch file will result in it appearing in the > output of the source-code block. We are trying to stop that. FYI, I have basically no experience with Maxima. So, I was simply shooting in the dark. AFAIU, linenum:0 simply sets variable value. If setting

Re: Link preview generation with new link preview property

2024-12-17 Thread Ihor Radchenko
Karthik Chikmagalur writes: > ... > Considering this, it might be better to just split > `org-link-preview-file' into two public functions, where the "inside" > function accepts an image instead of a file. Agree. Would you be interested to create a patch? -- Ihor Radchenko // yantar92, Org mod

Re: Link preview generation with new link preview property

2024-12-17 Thread Ihor Radchenko
Björn Bidar writes: >> This is expected. See >> https://orgmode.org/worg/dev/org-element-api.html#org22c967a >> You can access the contents by looking at buffer text between >> :contents-begin and :contents-end. Either directly, or by invoking >> sub-parser on the text. > > Oh thanks, will look

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

2024-12-17 Thread Ihor Radchenko
Kierin Bell writes: > I think that the built-in Emacs thingatpt.el should not be overlooked > here. > > Instead of implementing an entire system specific to Org, imagine a > generic action-at-point interface that works on "things" from > thingatpt.el. For the various targets, Org could add new "p

Re: How to handle both minor mode and major mode remapping a command?

2024-12-17 Thread Michael Heerdegen
Ihor Radchenko writes: > I am wondering if there is some canonical way to handle similar scenarios > recommended for major modes. > > Any suggestions? Why not, as in similar situations, define a `kill-line-function' variable with default value `kill-line-default-function' which is a function (mo

Re: What's the proper way to define a recurring event

2024-12-17 Thread Michael Heerdegen
Renaud Bussières via "General discussions about Org-mode." writes: > <2024-10-07 Mon 16:00-17:30 +1w>--<2024-11-25 Mon> > > Then the event will appear in the agenda every day between 2024-10-07 > and 2024-11-25, that's not right. It seems like time/date ranges do > not respect repeaters. I can't

error with cache

2024-12-17 Thread Fraga, Eric
Hello all, I use Emacs as my window manager (exwm). I don't often restart as my system is up 24/7. Today, I had to restart and found Emacs hanging during startup. I added a debug on quit directive so I could see why. The backtrace looks like this: --8<---cut here---star

Re: May we have a variant of display-buffer-reuse-window that considers indirect buffers?

2024-12-17 Thread martin rudalics
> May you please provide more information? AFAIK, `pop-to-buffer' will > search for exact buffer without considering its indirect buffers and > base buffer. Could you please tell us what you would like 'display-buffer' to do without referring to org-mode. IIUC you want it to automatically detect