Subject: Byte compiler: warning message lacks line and column numbers.

From: Alan Mackenzie <[email-masked]>
Date: Mon, 23 Jun 2025 12:25:12 +0000

Hello, Mattias and Emacs.

On the master branch at this commit:

commit 1a8e8203a158f6bdc74e38f2cdb3214b6c06b9d8 (HEAD -> master,
origin/master, origin/HEAD)
Author: Alan Mackenzie <[email-masked]>
Date:   Fri Jun 20 21:13:45 2025 +0000

    CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs

..

With the attached file, at the command line in GNU/Linux, do:

$ cd .../path/to/emacs/lisp/progmodes
$ <Extract test-cc-awk.el to this directory.>
$ .../path/to/emacs/src/emacs -Q -batch -f batch-byte-compile test-cc-awk.el

..  This gives four warning messages, three of which are just artifacts
of the extraction of the test file.

The fourth looks like:

test-cc-awk.el: Warning: ‘font-lock-keyword-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-keyword-face

..  This message has no line and column numbers indicating where the
warning was detected.  This is a bug.

Mattias, could you look at this, please.

Thanks!

-- 
Alan Mackenzie (Nuremberg, Germany).