GNU bug report logs - #78872
Byte compiler: warning message lacks line and column numbers.

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Mon, 23 Jun 2025 12:27:06 UTC

Severity: normal

To reply to this bug, email your comments to 78872 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to mattiase <at> acm.org, bug-gnu-emacs <at> gnu.org:
bug#78872; Package emacs. (Mon, 23 Jun 2025 12:27:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to mattiase <at> acm.org, bug-gnu-emacs <at> gnu.org. (Mon, 23 Jun 2025 12:27:08 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Byte compiler: warning message lacks line and column numbers.
Date: Mon, 23 Jun 2025 12:25:12 +0000
[Message part 1 (text/plain, inline)]
Hello, Mattias and Emacs.

On the master branch at this commit:

commit 1a8e8203a158f6bdc74e38f2cdb3214b6c06b9d8 (HEAD -> master,
origin/master, origin/HEAD)
Author: Alan Mackenzie <acm <at> muc.de>
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).

[test-cc-awk.el (text/plain, attachment)]

This bug report was last modified 1 day ago.

Previous Next


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