GNU bug report logs - #61410
texmathp and literal $

Previous Next

Package: auctex;

Reported by: Arash Esbati <arash <at> gnu.org>

Date: Fri, 10 Feb 2023 20:18:02 UTC

Severity: normal

Done: Arash Esbati <arash <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Arash Esbati <arash <at> gnu.org>
Subject: bug#61410: closed (Re: bug#61410: texmathp and literal $)
Date: Mon, 13 Feb 2023 21:43:02 +0000
[Message part 1 (text/plain, inline)]
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 61410 <at> debbugs.gnu.org.

-- 
61410: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61410
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: 61410-done <at> debbugs.gnu.org
Subject: Re: bug#61410: texmathp and literal $
Date: Mon, 13 Feb 2023 22:42:07 +0100
Ikumi Keita <ikumi <at> ikumi.que.jp> 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

[Message part 3 (message/rfc822, inline)]
From: Arash Esbati <arash <at> gnu.org>
To: auctex-bugs <bug-auctex <at> gnu.org>
Subject: texmathp and literal $
Date: Fri, 10 Feb 2023 21:16:22 +0100
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



This bug report was last modified 2 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.