Hi Arash, On Tue, May 26, 2026 at 21:28 (+0200), Arash Esbati wrote:
> Hi Jim, > Jim via General discussion about AUCTeX <[email protected]> writes: >> Thanks very much for pointing that out to me. That works fine for the >> particular case I was thinking of, and maybe with some slight changes >> I can deal with some other similar cases in ConTeXt. > I missed to mention that we also have `TeX-arg-completing-read', > `TeX-arg-completing-read-multiple', `TeX-arg-key-val' and > `TeX-arg-string', and all of them have a LEFTBRACE and RIGHTBRACE > argument. Maybe you can use them depending on your specific needs. Thanks for the follow-up. I was part way through adding some features to context.el and got yanked away on another project. But I'll study these when I'm back on the context.el and context-en.el job. One of the differences between ConTeXt and LaTeX that I am pondering is the following. I see there are about 350 style files for LaTeX, each of which (I assume) are only read when a document explicitly calls for those styles. In ConTeXt almost everything is "built in" all the time, and so one just uses a feature without having to explicitly call for it. TikZ is one of the notable counterexamples, and the only one I can think of without looking. This "everything all the time" aspect means that if I want AUCTeX to be able to complete environments and commands for me, context-en.el will get a lot bigger. So far I have only added the environment names (but not their optional arguments) and that has more than tripled the size on context-en.el (which was only 7.5K to start with), but I wonder how big it will get if "everything" is added. I will probably start adding arguments for the commands and environments I use and those I perceive to be "common", and see if that starts to noticeably affect performance. (Of course, I am always open to clever suggestions as well!) Cheers. Jim
