Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-24 Thread Ikumi Keita
Hi Hugo, > h...@heagren.com writes: > On 2025-02-12 11:15, Arash Esbati wrote: >> Thanks for preparing the patch, my only comment is that the symbols t >> and nil are never inside `quotes'[1]. Maybe you could update that as >> well. > Hi Arash, > you're right -- fixed in the attached versio

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-24 Thread hugo
On 2025-02-12 11:15, Arash Esbati wrote: Thanks for preparing the patch, my only comment is that the symbols t and nil are never inside `quotes'[1]. Maybe you could update that as well. Hi Arash, you're right -- fixed in the attached version. HugoFrom d80a3a945448feeaad52beb92ad2cb3940796ad

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-12 Thread Arash Esbati
Hi Hugo, h...@heagren.com writes: > Sorry! Missed a bracket and the last patch was slightly wrong! > > Correct patch attached this time! Thanks for preparing the patch, my only comment is that the symbols t and nil are never inside `quotes'[1]. Maybe you could update that as well. TIA. Best,

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-12 Thread hugo
On 2025-02-12 10:00, h...@heagren.com wrote: New patch attached. Sorry! Missed a bracket and the last patch was slightly wrong! Correct patch attached this time! Hugo From ea8e86f4a721902df4f83cc996d8bbd66fc72db7 Mon Sep 17 00:00:00 2001 From: Hugo Heagren Date: Tue, 11 Feb 2025 11:10:09 +00

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-12 Thread hugo
Hi Ikumi, On 2025-02-12 09:47, Ikumi Keita wrote: I basically agree with your idea to use symbol `t` for "all modes". In that case it isn't much meaningful to "add" t to the mode list; the rest of the elements are totally useless. Instead of a list, we can just have a single `t' for that purp

Re: [PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-12 Thread Ikumi Keita
Hi Hugo, > h...@heagren.com writes: > A use case. I have been doing a lot of (for me) advanced LaTeX work > recently, and frequently find myself looking up references in several > manuals at once, or keeping notes in an org/markdown/scratch buffer. > TeX Doc is very useful in for this, but I d

[PATCH] use `t' to support all modes in `TeX-doc-backend-alist'

2025-02-11 Thread hugo
Hi all, the attached patch adds support for activating a TeX-doc backend in all modes, by adding `t' to the list which specifies which modes to use it in. A use case. I have been doing a lot of (for me) advanced LaTeX work recently, and frequently find myself looking up references in several man