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

2024-12-19 Thread Benjamin McMillan
The modified suggestion: (add-to-list 'org-babel-maxima--output-filter-regexps "(linenum:0,$") also fixes the problem in the cases that I checked. Benjamin On Wed, Dec 18, 2024 at 10:06 AM Leo Butler wrote: > On Tue, Dec 17 2024, Ihor Radchenko wrote: > > > Leo Butler writes: > > > >> Puttin

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

2024-12-19 Thread Ihor Radchenko
Michael Heerdegen writes: > 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-d

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

2024-12-19 Thread Ihor Radchenko
martin rudalics writes: > > It seems to work, although somewhat different than I described. > > > > With your diff, in case (2), if BUFFER is what is passed to > > `pop-to-buffer' and BUFFER2 is indirectly related buffer displayed in a > > visible window, then BUFFER2 is replaced with BUFFER

Some hacks on top of org-publish

2024-12-19 Thread Nikolaos Chatzikonstantinou
Hello, I spent the past couple of days hacking together this new blog based on org-publish that I'd like to show you (comments welcome!): Blog: git repo: The highlights are that I got 1

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

2024-12-19 Thread Derek Chen-Becker
OK, I can start working on the new function and plumb it in. I agree that "org-base-buffer-file-name" would be better. For the case you mentioned about an Org buffer not yet associated with a file, that seems like a complication that we can't solve at this level. Do we leave that as a known issue,

Re: [BUG] ob-shell async session does not work with multiple blocks running [9.7.16 (9.7.16-ba9734 @ /nix/store/6la93ywyb1h055phgyqba7h7qay60p0m-emacs-packages-deps/share/emacs/site-lisp/elpa/org-9.7.

2024-12-19 Thread Matt
On December 19, 2024 12:24:48 AM GMT+01:00, Matt wrote: >Running from the latest commit, eebc9be7c, on Emacs on Android, I'm not able >to reproduce. > >Did I miss a change between Dec. 10 and today which fixed this? My bad. To reproduce the error, the blocks *must* be run using C-c C-c (org-c

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

2024-12-19 Thread Gilles Marait
>From 778a29dcc64e7f400f94145adf01dca67f5588f4 Mon Sep 17 00:00:00 2001 Message-ID: <778a29dcc64e7f400f94145adf01dca67f5588f4.1734270889.git.yanta...@posteo.net> From: Ihor Radchenko Date: Sun, 15 Dec 2024 14:52:39 +0100 Subject: [PATCH] org-babel-tangle-publish: Keep the original tangled files *

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

2024-12-19 Thread Michael Heerdegen
Ihor Radchenko writes: > That will, of course, work. However, I feel that it will only solve this > exact problem, but nothing more. > > Just in Org mode, we also need special handling of > `move-beginning-of-line' and `move-end-of-line' for visual mode (for the > same reasons). Does it mean that

[Bug] Documentation error(s) for org-babel-tangle-default-file-mode

2024-12-19 Thread Aitenate
I think there a couple of issues with the documentation for org-babel-tangle-default-file-mode. It seemed easiest to describe using a patch: diff --git a/doc/org-manual.org b/doc/org-manual.org index 0f6d6a067..7d703993f 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -19521,7 +1952

Re: Link preview generation with new link preview property

2024-12-19 Thread Björn Bidar
Ihor Radchenko writes: > 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 th

Alternative defaults for visually impaired users? (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-

2024-12-19 Thread Ihor Radchenko
Jonas Bernoulli writes: > I've worked with other users with impaired vision to improve their > experience with Transient before and tend to prioritize that work. This actually raises a bigger question: Does it make sense to provide an alternative set of defaults for blind or visually impa

[FR] Allow SPC to scroll todo/tag selection menu - for users with huge accessible fonts (was: Transient: accessibility problems for users who need to use large fonts (was: [RFC] The best way to choose

2024-12-19 Thread Ihor Radchenko
Samuel Wales writes: > i like the efficient single-key todo kw selection and its colored menu > in org enough that i prefer it to completion. > > good point about spc clearing the selection. personally, i would > prefer an option for spc to scroll and wrap around. del or c-k or so > might clear

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

2024-12-19 Thread Ihor Radchenko
Derek Chen-Becker writes: > OK, I can start working on the new function and plumb it in. I agree that > "org-base-buffer-file-name" would be better. Thanks in advance! Do note that we still cannot blindly replace every instance of buffer-file-name with the new function. At least a cursory case-b

Re: Link preview generation with new link preview property

2024-12-19 Thread Karthik Chikmagalur
>> ... >> 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, did you write a patch for this already? I thought I s

[PATCH] org-info-other-documents: Fix defcustom safe-local-variable property

2024-12-19 Thread Joseph Turner
Minor fix. Thanks! Joseph >From 5451da0d798f104e9a0d87445c516fd89e473a38 Mon Sep 17 00:00:00 2001 From: Joseph Turner Date: Thu, 19 Dec 2024 13:16:50 -0800 Subject: [PATCH] org-info-other-documents: Fix defcustom safe-local-variable property :safe should be a function. --- lisp/ol-info.el |

Re: Ignore Local Variables list in source blocks

2024-12-19 Thread General discussions about Org-mode.
Max Nikulin writes: > On 18/12/2024 11:13, Joseph Turner wrote: >> 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

Re: Link preview generation with new link preview property

2024-12-19 Thread Björn Bidar
Ihor Radchenko writes: > 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? Di

Re: Link preview generation with new link preview property

2024-12-19 Thread Björn Bidar
Karthik Chikmagalur writes: >> 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 wi

Re: [FR] Allow SPC to scroll todo/tag selection menu - for users with huge accessible fonts (was: Transient: accessibility problems for users who need to use large fonts (was: [RFC] The best way to ch

2024-12-19 Thread Samuel Wales
option would be great. there is no rush. the kw that are below the window are a small proportion. this project sounds ambitious. i am grateful that i am listened to. [my 2 cents were window width stuff and kb-only mode and mouse-only mode stuff.]