GNU bug report logs - #5239
23.1.50; compile-command Local Variables must be after mode

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 17 Dec 2009 19:57:02 UTC

Severity: normal

Merged with 8586

Found in version 23.3.50

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: jidanni <at> jidanni.org
To: juri <at> jurta.org
Cc: 5239 <at> debbugs.gnu.org
Subject: bug#5239: 23.1.50; compile-command Local Variables must be after mode
Date: Fri, 18 Dec 2009 08:25:45 +0800
JL> This is already documented in (info "(emacs) Specifying File Variables"):

JL>      If `mode' is used to set a major mode, it should be the first
JL>   "variable" in the list.  Otherwise, the entries that precede it will
JL>   usually be ignored, since most modes kill all local variables as part
JL>   of their initialization.

JL> It makes no sense to duplicate this information in the docstrings of
JL> every variable that may be used in Local Variables.

OK, then the "responsible" thing to do would be to emit a warning if detected:
"mode used after others, see info page...".




This bug report was last modified 14 years and 54 days ago.

Previous Next


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