auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature comparison Re: distribution of AUCTeX and built-in TeX/LaTeX


From: Jeremy Bryant
Subject: Re: Feature comparison Re: distribution of AUCTeX and built-in TeX/LaTeX modes
Date: Sat, 08 Jun 2024 13:25:25 +0100

Arash Esbati <arash@gnu.org> writes:

> Paul Nelson <ultrono@gmail.com> writes:
>
>> There is some relevant discussion at
>> https://www.reddit.com/r/emacs/comments/8wpatw/auctex_vs_texmode_or_giving_a_texmode_another/,
>> which notes the slower load time of AUCTeX (once per session), some
>> difference in the behavior of imenu (not an issue if you use
>> consult-imenu, for instance),
>
> In case this is about bug#32062, then you can mark it checked[1].
>
>> and some advantages of sexp-based navigation in tex-mode (not an issue
>> for me, since I use https://github.com/ultronozm/tex-parens.el).
>
> Maybe I'll ask Stefan M. about the relevant code in tex-mode.el and try
> to adjust AUCTeX, if that is still missing in AUCTeX.
>
>> There's also some psychological comfort to knowing all the entry
>> points to the software one uses, which is easier to do for tex-mode
>> than for AUCTeX.  When all else is equal,
>
> This is really my personal view on it (and I've never seriously used the
> built-in mode), but the things I like in AUCTeX are (and I think they're
> missing built-in tex-mode):
>
> • Support for LaTeX packages which are loaded on demand: Have a look at
>   the style-directory
> • Possibility to extend the parser, heavily used for commands provided
>   by packages.  Suppose you do:
>
>     \usepackage{fvextra}
>     \DefineVerbatimEnvironment{codesnippet}{Verbatim}{%
>       fontsize = \small  ,
>       frame    = topline ,
>       breaklines = false ,
>       framesep = 4.5pt
>     }
>
>   Now you only have to hit 'C-c C-n' and the new verbatim environment is
>   setup completely and ready to use
> • Completion support for (key=val) arguments
> • Customized Ispell skip additions (not for flyspell, though)
> • In-buffer completion for macros and their arguments, incl. user
>   defined stuff like colors etc.
> • Tight integration to RefTeX
> • Better support for `docTeX-mode'
> • Other minor issues which I think work better in AUCTeX, e.g., put this
>   in a file and hit M-q:
>
>     \begin{verbatim}
>       foobar foobar
>     foobar and hit M-q here
>     \end{verbatim}
>
>   Note also that the 2 spaces are added after 'C-c C-o verbatim RET'.
>

I find this summary useful, how about adding it to the manual?

I can make a patch, how about a new node in Introduction?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]