bug#61410: texmathp and literal $

2023-02-10 Thread Arash Esbati
Hi all, please consider this small example: --8<---cut here---start->8--- \documentclass{article} \begin{document} text \verb|$| \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: --8<---cut

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Arash Esbati
Tassilo Horn writes: > Yes, I can. BTW, only the last sentence is broken correctly, all others > are wrapped around at a too early position. Thanks for checking. > Hm, (fill-nobreak-p) returns nil only on the \ of the \verb|bar| but > returns non-nil on each \ of the other verbatim macros.

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Ikumi Keita
> Tassilo Horn writes: >> It moves the point to different positions. In the example above, put >> point after \path{bar} and do: >> >> M-: (fill-move-to-break-point (line-beginning-position)) RET >> >> and the point before and. Now go after \verb|bar| and do the same, no >> is point after

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Tassilo Horn
Arash Esbati writes: > thanks for pushing me into that again. I did already but I missed > what's happening in that function directly in the first form: > > (fill-move-to-break-point linebeg) > > It moves the point to different positions. In the example above, put > point after \path{bar}

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Arash Esbati
Tassilo Horn writes: > Arash Esbati writes: > >> \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

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Tassilo Horn
Arash Esbati writes: Hi Arash, > \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

bug#61400: Different filling for verbatim macros

2023-02-10 Thread Arash Esbati
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