Subject: bug#61410: closed (Re: bug#61410: texmathp and literal $)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 13 Feb 2023 21:43:02 +0000

Your bug report

#61410: texmathp and literal $

which was filed against the auctex package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
61410: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61410
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#61410: texmathp and literal $
From: Arash Esbati <[email-masked]>
To: Ikumi Keita <[email-masked]>
Cc: [email-masked]
Date: Mon, 13 Feb 2023 22:42:07 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Ikumi Keita <[email-masked]> writes:

> This looks good to me. It takes care of all possible difficulties I
> worried. :-)

What, maximum score? ;-) I installed the change incl. a test with commit
de6aa05d7 and closing this report.  Many thanks for your comments.

Best, Arash

Subject: texmathp and literal $
From: Arash Esbati <[email-masked]>
To: auctex-bugs <[email-masked]>
Date: Fri, 10 Feb 2023 21:16:22 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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 here---------------end--------------->8---

Now do:

  M-: (goto-char 58) RET
  C-c C-f C-t

and AUCTeX insert \mathtt{} at point.  Doing 'M-x texmathp RET' returns:

  math-mode is on: $ begins at buffer position 55

texmathp ignores the verb macro completely.  The similar scenario can be
created for a verbatim-like environment.  Can others reproduce this?
And if yes, any idea about course of action?

Best, Arash