GNU bug report logs - #76971
Removing deprecated use of -*- mode:foo -*- for minor modes

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefankangas <at> gmail.com>

Date: Wed, 12 Mar 2025 03:45:01 UTC

Severity: normal

To reply to this bug, email your comments to 76971 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 bug-gnu-emacs <at> gnu.org:
bug#76971; Package emacs. (Wed, 12 Mar 2025 03:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefankangas <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 12 Mar 2025 03:45:01 GMT) Full text and rfc822 format available.

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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Removing deprecated use of -*- mode:foo -*- for minor modes
Date: Tue, 11 Mar 2025 22:44:00 -0500
In Emacs 24.1 (Bug#8613), we deprecated setting minor modes in file
local variables (e.g., "-*- mode:flymake -*-").  See also the part it
played in Bug#37656.

Its deprecation is documented in comments in files.el, and
(info "(emacs) Specifying File Variables")
also warns against such use.

I propose that now is a good time to remove this feature.




This bug report was last modified 95 days ago.

Previous Next


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