auctex-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group'


From: Arash Esbati
Subject: Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group'
Date: Mon, 29 Aug 2022 18:36:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50

Philip Kaludercic <philipk@posteo.net> writes:

> Arash Esbati <arash@gnu.org> writes:
>
>> Not always, try:
>>
>> \documentclass[10pt]{article}
>> \usepackage{fancyvrb}
>> \begin{document}
>>
>> Hit C-c C-n to parse the document.  Then do:
>>
>>   C-c C-e Verbatim RET C-q
>>
>> which inserts the environment like this:
>>
>> \begin{Verbatim}
>> * is the position of point
>> \end{Verbatim}
>>
>> \end{document}
>>
>> %%% Local Variables:
>> %%% mode: latex
>> %%% TeX-master: t
>> %%% End:
>
> For some reason there seems something is wrong on my end, so that
> "Verbatim" is not even suggested as a known environment, but I belive
> you that it is possible.

Does it work when you hit C-u C-c C-n?  I'm just asking since using
AUCTeX is just half of the fun if it doesn't load package-specific
styles.

>> Wrong patch attached?
>
> Yes, sorry about that:

Thanks.  I'll give it roll and report back.  Maybe others can also try
it as well.

Best, Arash



reply via email to

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