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

Full log


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.