auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FR] Recognize L3 \msg_line_context: on warning parsing


From: Gustavo Barros
Subject: [FR] Recognize L3 \msg_line_context: on warning parsing
Date: Tue, 07 Sep 2021 09:10:33 -0300
User-agent: mu4e 1.6.6; emacs 27.2

Hi All,

The LaTeX3 `l3msg' package defines the helper macro `\msg_line_context:' for use in messages, which is documented as:

"Prints the current line number when a message is given, and thus suitable for giving context to messages. The number itself is proceeded by the text 'on line'."

However, if one uses `\msg_line_context:' in their messages, AUCTeX fails to recognize the line of the message, and some convenience is lost because of that.

As far as I can tell, this is because this message differs from the traditional "on input line ...", and `TeX-warning' at `tex-buf.el' sets the let-bound `line-string' to `"on input line \\([0-9]*\\)\\."'.

WDYT, could `TeX-warning' be adjusted to accommodate `\msg_line_context:' too?

Best regards,
Gustavo.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]