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: Philip Kaludercic
Subject: Re: [PATCH] * tex.el (TeX-insert-macro): Use 'atomic-change-group'
Date: Mon, 29 Aug 2022 16:51:34 +0000

Arash Esbati <arash@gnu.org> writes:

>
> 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.

No it didn't -- but sometimes it does.  I've had this issue for a
while and I couldn't ever pin down what the cause is, so I've never
reported it.

>>> Wrong patch attached?
>>
>> Yes, sorry about that:
>
> Thanks.  I'll give it roll and report back.  Maybe others can also try
> it as well.

I'll be trying it out, but as I say, most environments I use appear to
not be affected by this.

> Best, Arash



reply via email to

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