[PATCH] Add next-error support to org-lint report buffer

2024-12-13 Thread Malcolm Purvis
Years of muscle memory have made me expect that the output of linter tools can be processed with `next-error' (C-x `). This isn't the case with org-lint. This patch hooks the org linter report into the next-error infrastructure. I should have my copyright assignment on file with the FSF. Ma

Re: Link preview generation with new link preview property

2024-12-13 Thread Ihor Radchenko
Björn Bidar writes: > Would it be possible to also handle image data in the function or > refactor the org-link-preview-file function in a way that the geometry > handling is done in a helper function which can be reused by other > handlers. There is such function: `org-display-inline-image--wid

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-13 Thread Psionic K
> intercepts the main loop This is optional, per transient menu (prefix) and the commands within it. A common technique, used by magit and others, is to have entry point commands in the regular keymap so that many commands can be started without traversing several menus. If you want normal un-shad

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-13 Thread Panayotis Manganaris
Hello. I'm very much an elisp amateur, but one of my main motives for learning has been to make use of emacs' many beautiful UI systems. Therefore, I'll provide my comments from a designer perspective and avoid implementation detail. Ihor Radchenko writes: > TL;DR: We are in the process of de

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

2024-12-13 Thread Gabriel Santos
Greetings, I'll go through the examples found on this e-mail and suggest the menu command I find best for the proposed scenarios. Below is how I think these options could be used. context-menu-mode No particular target, should mostly be used for actions on the whole buffer or on a re

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

2024-12-13 Thread Suhail Singh
Ihor Radchenko writes: > Tentatively, I am thinking about the following: > > For a given Emacs "prefix" command (e.g. org-open-at-point), we define a > set of customizations: > > 1. List of possible actions: ((name1 . action1 props) (name2 . action2 ...) > ...) >PROPS is a plist defining ext

[TASK] Documenting ob-fortran, ob-forth, ob-sed, ob-ocaml, ob-ruby, and ob-sass (was: [TASK] Move babel backend docs from WORG to Org manual)

2024-12-13 Thread Ihor Radchenko
"Thomas S. Dye" writes: >> Any specific reason why you chose the languages you don't know? >> May it >> be easier to start from parts you are more familiar with? > > These lack documentation on Worg, that's all. Got it. Let me then change the subject here to indicate that these languages are be

Re: Link preview generation with new link preview property

2024-12-13 Thread Björn Bidar
Karthik Chikmagalur writes: >> The PR do port the package to this new handler property: >> https://github.com/gaoDean/org-remoteimg/pull/4 >> >> However it left me with a few questions: >> - Who is supposed to take care of the scaling/width of the preview >> image, the handler or the caller of

Re: [TASK] Move babel backend docs from WORG to Org manual

2024-12-13 Thread Thomas S. Dye
Aloha Ihor, Ihor Radchenko writes: Any specific reason why you chose the languages you don't know? May it be easier to start from parts you are more familiar with? These lack documentation on Worg, that's all. I've been documenting the Babel languages on Worg for a few years with the hope

Re: [BUG] org-link-preview-file emits image not supported in daemon [9.8-pre (release_9.7.10-127-g07dd3b @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2024-12-13 Thread Ihor Radchenko
Karthik Chikmagalur writes: > Ihor, what would be the best way of handling this? We can add a > `display-graphic-p' test when running the inline-images part of > org-startup, but then link previews that are not images won't be applied > either. 1. As a minimum, we can remove that message and do

Re: [TASK] Move babel backend docs from WORG to Org manual

2024-12-13 Thread Ihor Radchenko
Suhail Singh writes: > Ihor Radchenko writes: > >> The general idea is to port files from >> https://git.sr.ht/~bzg/worg/tree/master/item/org-contrib/babel into >> Org manual. > > Do contributions to the Orgmode manual require copyright assignment to > the FSF? Yes. For languages that are not b

[PATCH] ob-calc: Format vector and matrix results as Org table

2024-12-13 Thread Visuwesh
Attached patch formats vector and matrix results from a Calc source block as Org table. To test, try #+NAME: test | 1 | 2 | #+BEGIN_SRC calc :var t=test 2 * t #+END_SRC It should return #+RESULTS: | 2 | 4 | now. The patch passes the old tests, and I added three

Re: [TASK] Move babel backend docs from WORG to Org manual

2024-12-13 Thread Ihor Radchenko
"Thomas S. Dye" writes: > I'm happy to volunteer and will start by creating > ob-doc-.org files for undocumented and unmaintained > languages: comint, F90, forth, sed, ocaml, ruby, and sass. Note that ob-comint is not a language, but a helper library used to implement session support. > ... I

Re: [TASK] Move babel backend docs from WORG to Org manual

2024-12-13 Thread Ihor Radchenko
"Thomas S. Dye" writes: > So, the first order of business is to ensure that all > ob-doc-.org files on Worg are complete by i) creating > missing files, ii) editing incomplete files, and iii) checking > complete files? > > Then, once Worg holds complete documentation for each built-in > langu

[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-13 Thread Ihor Radchenko
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) allow users to decide how to choose between mu

Re: [PATCH] ob-sql: session

2024-12-13 Thread Ihor Radchenko
Phil Estival writes: > From Org 9.7.16, > this patch modifies ob-sql to add support for session. > - reintroduces sqlite in ob-sql (even if there is ob-sqlite.el) > - limitation: no line number in session (a block is provided >on one prompt line) > - tests: some generic macro for checking re

Re: Failure building Emacs from master

2024-12-13 Thread Angelo Graziosi
Oops wron ml.. sorry... Il 13/12/2024 17:35, Angelo Graziosi ha scritto: Current master (c265febd97e940e6580ae42aa648358a0a2ed830) fails to build (at least on MSYS2/UCRT64): [...]   GEN  ../../etc/charsets/JISX0212.map   CC   timefns.o   CC   atimer.o process.c:41:10: fatal erro

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

2024-12-13 Thread Ihor Radchenko
Derek Chen-Becker writes: > OK, after some debugging it looks like the primary culprit is the ... Before I reply any further, may you please reply in the original bug report thread? Otherwise, it will be difficult to track the progress of that bug. You can go to the https://list.orgmode.org/87y

Failure building Emacs from master

2024-12-13 Thread Angelo Graziosi
Current master (c265febd97e940e6580ae42aa648358a0a2ed830) fails to build (at least on MSYS2/UCRT64): [...] GEN ../../etc/charsets/JISX0212.map CC timefns.o CC atimer.o process.c:41:10: fatal error: netinet/tcp.h: No such file or directory 41 | #include |

Re: EmacsConf - The Future of Org

2024-12-13 Thread Dominik Schrempf
Thumbs up also from my side! A big thanks to the Org Mode maintainers! Thanks also for the interesting talk and insights into Org Mode maintenance. Dominik George Mauer writes: > Agreed. I do not post on here often but I see him on here non-stop. Thank you > for all you have done for my product

Re: EmacsConf - The Future of Org

2024-12-13 Thread George Mauer
Agreed. I do not post on here often but I see him on here non-stop. Thank you for all you have done for my productivity! On Fri, Dec 13, 2024, 09:00 Mark wrote: > Wanted to express my deepest appreciation for Ihor's hard > work and wish him the best in his new role. I'm sure I'm not > alone when

EmacsConf - The Future of Org

2024-12-13 Thread Mark
Wanted to express my deepest appreciation for Ihor's hard work and wish him the best in his new role. I'm sure I'm not alone when I say Emacs and particularly Org-mode have unlocked an entirely new level for me. Being the maintainer of such a project is a huge job, but it should never be a th

Re: [PATCH worg] .dir-locals.el: Disable byte-compilation.

2024-12-13 Thread Suhail Singh
Max Nikulin writes: > Thanks for educating me. You're welcome :) > I would expect setting `no-byte-compile' to nil for `lisp-data-mode' > (or for .dir-locals.el files) by default instead of adding the cookie > to every file. Or, to start using .dir-locals.eld as the default. IIUC, this is wha

Re: [PATCH] Add support for tables in Calc src block :var

2024-12-13 Thread Fraga, Eric
Response below/inline for email Visuwesh wrote: > (original email sent 13 Dec 2024 at 16:36) > > However, when we have something like > > x := 3 > a := 2 * x > x := 2 > z := 0.5 * x > > | 1 | | > #+TBLFM:$2=$x*$z > > what should $2 evaluate to? $z is straight-forward: $z=1

Re: [PATCH worg] .dir-locals.el: Disable byte-compilation.

2024-12-13 Thread Max Nikulin
On 10/12/2024 21:50, Suhail Singh wrote: Since 2022-10-05, when adding directory-local-variables, the no-byte-compile cookie gets set. I believe this change was introduced in response to bug #58486. Thanks for educating me. I found that the changelog entry Add no-byte-compile to the ".dir-l

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-13 Thread Max Nikulin
On 13/12/2024 01:47, Rehan Deen wrote: I forgot about "+new", so it should be with another variant of parenthesis: javascript:void(location.href='org-protocol:...) Thanks, that works and is consistent with what I thought was happening Thanks, so now it is known which way docs should be

Re: [PATCH] Add support for tables in Calc src block :var

2024-12-13 Thread Visuwesh
[வெள்ளி டிசம்பர் 13, 2024] Fraga, Eric wrote: > Response below/inline for email Visuwesh wrote: >> (original email sent 13 Dec 2024 at 14:32) >> >> Update x := 3 and y first. Then update `a' and `z'. `z' will be 10.6. >> Now update x := 2, and update `z' and `a'. `z' updates to 5.4 as shown >>

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

2024-12-13 Thread Fraga, Eric
Response below/inline for email Visuwesh wrote: > (original email sent 13 Dec 2024 at 11:12) > > While we can fix it, it would be good to inform the maintainers of > orgrr about this too. I intend to. There are several bits of orgrr that stomp over the user's preferences. Otherwise, it's an int

Re: [PATCH] Add support for tables in Calc src block :var

2024-12-13 Thread Fraga, Eric
Response below/inline for email Visuwesh wrote: > (original email sent 13 Dec 2024 at 14:32) > > Update x := 3 and y first. Then update `a' and `z'. `z' will be 10.6. > Now update x := 2, and update `z' and `a'. `z' updates to 5.4 as shown > above but `a' remains 9! Yes, this is expected beh

Re: [PATCH] Add support for tables in Calc src block :var

2024-12-13 Thread Visuwesh
[வெள்ளி டிசம்பர் 13, 2024] Visuwesh wrote: > [...] > Some caveats: > > 1. You need to ensure that all the calc-embedded variables that you > use in the formula need to be active and evaluated beforehand. > 2. The calc-embedded var is considered at last after everything else > in org-

Using tecosaur's org-mode on windows without make

2024-12-13 Thread Vasco Cúrdia
Hi, I've tried successfully to use Tecosaur's org-mode following the instructions in https://abode.karthinks.com/org-latex-preview/#org99ce71c using the first installation method: Regular Emacs, with package-install However this does not work on my work system with windows because I do not have m