bug#61400: Different filling for verbatim macros

2023-02-12 Thread Ikumi Keita
Following up myself. > Ikumi Keita writes: > (2) `LaTeX-verbatim-p' is currently used only in > `fill-nobreak-predicate', `LaTeX-search-forward-comment-start' and > `TeX-in-comment' (through `TeX-verbatim-p-function'): Sorry, there is another instance of usage in `TeX-insert-dollar'. That

bug#61400: Different filling for verbatim macros

2023-02-12 Thread Ikumi Keita
Hi Arash and all, > Arash Esbati writes: > I think this should be our course of action: Make > `LaTeX-current-verbatim-macro' and `TeX-current-macro' work identical. I'm now thinking a different approach. Please see below. > Here is another idea: We don't use `LaTeX-verbatim-p' in >

bug#61400: Different filling for verbatim macros

2023-02-12 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > I realized that multiple players are involved in this issue. First of all, many thanks for your (as always) precise analysis  > We can fix this inconsistency by the following code: > -- >

bug#61410: texmathp and literal $

2023-02-12 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Yes. As far as I can see, texmathp.el doesn't pay attention to verbatim > constructs at all. I think that's an intention of Carsten Dominik. Thanks for confirming. I'm not sure about the intention behind it, but I think we should if we can fix this issue. >