From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: hack-local-variables Date: Sat, 7 May 2005 17:32:28 -0500 (CDT) Message-ID: <200505072232.j47MWS524175@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115505062 31776 80.91.229.2 (7 May 2005 22:31:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 May 2005 22:31:02 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 08 00:31:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DUXoo-0000kz-9p for ged-emacs-devel@m.gmane.org; Sun, 08 May 2005 00:30:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUXwo-00048t-8h for ged-emacs-devel@m.gmane.org; Sat, 07 May 2005 18:38:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DUXwC-0003zQ-TT for emacs-devel@gnu.org; Sat, 07 May 2005 18:38:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DUXw0-0003sk-KP for emacs-devel@gnu.org; Sat, 07 May 2005 18:38:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUXvz-0003pc-7h for emacs-devel@gnu.org; Sat, 07 May 2005 18:38:07 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DUXwV-000885-Gl for emacs-devel@gnu.org; Sat, 07 May 2005 18:38:39 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j47MWqog005349 for ; Sat, 7 May 2005 17:32:52 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j47MWS524175; Sat, 7 May 2005 17:32:28 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36841 The behavior of `hack-local-variables' has recently been changed. (hack-local-variables t) used to check, until recently, whether a mode was specified in the -*- line. In current CVS, it checks whether a mode is specified in the -*- line _or_ in the local variables list. This incompatible change was made without updating the Elisp manual or mention in the NEWS. The patch below updates the Elisp manual. I can install if desired. Since this is an incompatible change, should it also be mentioned in the NEWS? ===File ~/variables.texi-diff=============================== *** variables.texi 04 May 2005 09:37:03 -0500 1.60 --- variables.texi 07 May 2005 15:14:15 -0500 *************** *** 1804,1813 **** @code{enable-local-variables} into account. If the optional argument @var{mode-only} is non-@code{nil}, then all ! this function does is return @code{t} if the @w{@samp{-*-}} line ! specifies a mode and @code{nil} otherwise. It does not set the mode ! nor any other file local variable. It does not check whether a mode ! is specified in the local variables list at the end of the file. @end defun If a file local variable list could specify a function that would --- 1804,1812 ---- @code{enable-local-variables} into account. If the optional argument @var{mode-only} is non-@code{nil}, then all ! this function does is return @code{t} if the @w{@samp{-*-}} line or ! the local variables list specifies a mode and @code{nil} otherwise. ! It does not set the mode nor any other file local variable. @end defun If a file local variable list could specify a function that would ============================================================