From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Blunderbuss ".dir-locals.el" raises everything in its path!! Date: Tue, 14 Jul 2009 15:04:27 +0900 Message-ID: <87ocrnkdg4.fsf@uwakimon.sk.tsukuba.ac.jp> References: <20090712144137.GB2524@muc.de> <87hbxhony6.fsf@stupidchicken.com> <20090712180623.GA1009@muc.de> <87k52dycha.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247551605 30276 80.91.229.12 (14 Jul 2009 06:06:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 14 Jul 2009 06:06:45 +0000 (UTC) Cc: Alan Mackenzie , Chong Yidong , Jan =?iso-8859-1?Q?Dj=E4rv?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 14 08:06:38 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQb9x-0002UG-Ac for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2009 08:06:38 +0200 Original-Received: from localhost ([127.0.0.1]:45850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQb9w-0006to-In for ged-emacs-devel@m.gmane.org; Tue, 14 Jul 2009 02:06:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQb9n-0006tV-Lm for emacs-devel@gnu.org; Tue, 14 Jul 2009 02:06:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQb9i-0006sY-Po for emacs-devel@gnu.org; Tue, 14 Jul 2009 02:06:26 -0400 Original-Received: from [199.232.76.173] (port=34171 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQb9i-0006sV-LR for emacs-devel@gnu.org; Tue, 14 Jul 2009 02:06:22 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:51383) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQb9i-0007Qf-0Y for emacs-devel@gnu.org; Tue, 14 Jul 2009 02:06:22 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id DE30D1535B3; Tue, 14 Jul 2009 15:06:18 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 4E8F11A3002; Tue, 14 Jul 2009 15:04:27 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 5bbff3553494 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:112443 Archived-At: Stefan Monnier writes: > I don't think it's a feature that dir-locals.el takes precedence over > mode-hooks FWIW, I think it *is* a feature. mode-hooks are globals, and having globals override more local configuration makes those local configurations unreliable and much less useful. Yes, we should give user tastes precedence unless we have very good reasons otherwise. That's a reason to be very careful about what one puts in dir-locals, not a reason to change the precedence of dir-locals vs. mode-hooks.