master 0cb158fd: Improve fontification of verbatim macros with braces

2023-05-11 Thread Arash Esbati
branch: master commit 0cb158fd96ff8c1c7f0bf8c0dd152a301e82f562 Author: Arash Esbati Commit: Arash Esbati Improve fontification of verbatim macros with braces * font-latex.el (font-latex-set-syntactic-keywords): Support one level of balanced braces inside the argument of verbatim

Re: Syntax classes of text in href

2023-05-11 Thread Arash Esbati
Hi all, Al Haji-Ali writes: > Thanks! The fontification is indeed better, though a bit inconsistent > (nevertheless I think the behaviour is better for me personally, even > with the inconsistency). > > This command: > > \href{pre\cmd{test}post}{foo} > > has the correct character class for the b

Re: AUCTeX and "builtin latex mode" integration

2023-05-11 Thread Stefan Monnier
> d. Directory local variables >> Maybe the simplest option is to get used to the idea of setting >> `derived-mode-parent` manually for those modes which are "morally" >> a child mode, even though the implementation (and behavior) does not >> inherit much if anything? > > Do you mean > (put 'La

master 715a88a5: Treat backslash in verbatim macro arguments correctly

2023-05-11 Thread Arash Esbati
branch: master commit 715a88a5f265135a13e860119a252c3fbf8b4e41 Author: Arash Esbati Commit: Arash Esbati Treat backslash in verbatim macro arguments correctly * tex.el (TeX-brace-count-line): Check if the ?\\ char is inside a verbatim construct where the backslash doesn't escape