Subject: bug#61400: Different filling for verbatim macros

From: Arash Esbati <[email-masked]>
Date: Fri, 10 Feb 2023 09:52:17 +0100

Hi all,

please set `TeX-parse-self' to t and load this small file:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{url}
\usepackage{fvextra}

\begin{document}

Now we can write some text foo and \path{bar}

Now we can write some text foo and \path|bar|

Now we can write some text foo and \Verb|bar|

Now we can write some text foo and \Verb{bar}

Now we can write some text foo and \verb|bar|

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% fill-column: 40
%%% End:
--8<---------------cut here---------------end--------------->8---

Now mark the five lines and hit 'M-q'.  I get:

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{url}
\usepackage{fvextra}

\begin{document}

Now we can write some text foo
and \path{bar}

Now we can write some text foo
and \path|bar|

Now we can write some text foo
and \Verb|bar|

Now we can write some text foo
and \Verb{bar}

Now we can write some text foo and
\verb|bar|

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% fill-column: 40
%%% End:
--8<---------------cut here---------------end--------------->8---

Any idea what the reason is for the different break points?  This is
with Emacs 30 (emacs -Q) and latest AUCTeX from Git.

TIA.  Best, Arash