From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David De La Harpe Golden Newsgroups: gmane.emacs.devel Subject: Re: Blunderbuss ".dir-locals.el" raises everything in its path!! Date: Sun, 12 Jul 2009 19:30:57 +0100 Message-ID: <4A5A2BE1.3050206@harpegolden.net> References: <20090712144137.GB2524@muc.de> <87hbxhony6.fsf@stupidchicken.com> <20090712180623.GA1009@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1247423492 7742 80.91.229.12 (12 Jul 2009 18:31:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 18:31:32 +0000 (UTC) Cc: Chong Yidong , =?ISO-8859-1?Q?Jan_Dj=E4rv?= , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 12 20:31:25 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 1MQ3pa-0005cD-RB for ged-emacs-devel@m.gmane.org; Sun, 12 Jul 2009 20:31:23 +0200 Original-Received: from localhost ([127.0.0.1]:52227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ3pZ-0006Vu-Oe for ged-emacs-devel@m.gmane.org; Sun, 12 Jul 2009 14:31:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ3pU-0006Vj-Lm for emacs-devel@gnu.org; Sun, 12 Jul 2009 14:31:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ3pP-0006V9-F8 for emacs-devel@gnu.org; Sun, 12 Jul 2009 14:31:15 -0400 Original-Received: from [199.232.76.173] (port=56168 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ3pP-0006V6-8M for emacs-devel@gnu.org; Sun, 12 Jul 2009 14:31:11 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:56539) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQ3pO-0006P8-Tf for emacs-devel@gnu.org; Sun, 12 Jul 2009 14:31:11 -0400 Original-Received: from harpegolden.net ([65.99.215.13]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ3pN-0006YX-1g for emacs-devel@gnu.org; Sun, 12 Jul 2009 14:31:09 -0400 Original-Received: from [87.198.47.81] (87-198-47-81.ptr.magnet.ie [87.198.47.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "David De La Harpe Golden", Issuer "David De La Harpe Golden Personal CA rev 3" (verified OK)) by harpegolden.net (Postfix) with ESMTP id 09A628609; Sun, 12 Jul 2009 19:31:05 +0100 (IST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) In-Reply-To: <20090712180623.GA1009@muc.de> X-Detected-Operating-System: by mx20.gnu.org: Genre and OS details not recognized. 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:112373 Archived-At: Alan Mackenzie wrote: > Yes, we both agree on what is happening. My point is that the contents > of .dir-locals.el should not override explicit values given by the user > in his .emacs. > Sorry, but isn't the point of .dir-locals.el to override settings on a project tree specific basis, like file locals only for whole directory trees? Wouldn't it'd be weird if .emacs "won" ? I mean, I can see that yes, one might ALSO want a different kind of .dir-local.el or file-local setting that doesn't (In the common lisp case that could be handled by defvar vs. defparameter, say...) (The thing that irritates me about dir-locals is their syntactic incompatiblity with file-locals. If I want to promote a file local I've been setting on a bunch of files to directory local, AFAIK I need to rejig the syntax.)