From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Blunderbuss ".dir-locals.el" raises everything in its path!! Date: Thu, 16 Jul 2009 09:53:44 -0400 Message-ID: References: <20090712144137.GB2524@muc.de> <87hbxhony6.fsf@stupidchicken.com> <20090712180623.GA1009@muc.de> <87k52dycha.fsf@stupidchicken.com> <20090712212103.GB1009@muc.de> <8763dx6wi9.fsf@stupidchicken.com> <20090713082501.GD1803@muc.de> <5629A21B-960E-4D20-8BCB-E5B3D736DE3B@mit.edu> <87hbxg74i2.fsf@mail.jurta.org> <87fxcxievu.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1247752446 32400 80.91.229.12 (16 Jul 2009 13:54:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Jul 2009 13:54:06 +0000 (UTC) Cc: Chad Brown , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 16 15:53:58 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 1MRRPH-0007EP-R9 for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 15:53:56 +0200 Original-Received: from localhost ([127.0.0.1]:40252 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRRPH-0000ye-Ck for ged-emacs-devel@m.gmane.org; Thu, 16 Jul 2009 09:53:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRRPC-0000uB-Qz for emacs-devel@gnu.org; Thu, 16 Jul 2009 09:53:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRRP7-0000jz-VY for emacs-devel@gnu.org; Thu, 16 Jul 2009 09:53:50 -0400 Original-Received: from [199.232.76.173] (port=48890 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRRP7-0000jd-R2 for emacs-devel@gnu.org; Thu, 16 Jul 2009 09:53:45 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:55745 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRRP7-0003a7-HJ for emacs-devel@gnu.org; Thu, 16 Jul 2009 09:53:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEABLOXkpFxL+I/2dsb2JhbACBUdAYhAsFgh2EWA X-IronPort-AV: E=Sophos;i="4.42,411,1243828800"; d="scan'208";a="41723716" Original-Received: from 69-196-191-136.dsl.teksavvy.com (HELO ceviche.home) ([69.196.191.136]) by ironport2-out.teksavvy.com with ESMTP; 16 Jul 2009 09:53:44 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3C707B41BF; Thu, 16 Jul 2009 09:53:44 -0400 (EDT) In-Reply-To: <87fxcxievu.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 16 Jul 2009 03:30:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:112526 Archived-At: > The patch below adds this information to the output of `C-h v'. > It distinguishes file-local variables from dir-local variables > by subtracting `file-local-variables-alist' from `dir-local-variables-alist', > i.e. a file-local variable with its value is a member of only > `file-local-variables-alist', but a dir-local variable with its value > is a member of both. If the variable is set in both, we should be careful to say it's "file-local" and not "dir-local". > `dir-local-variables-alist' is a new function refactored from > `hack-dir-local-variables'. It seems it should not be a variable > since it is required now only for documentation purposes. The problem with that is that if the dir-local.el file changes between the time you open the file and the C-h v, you'll get incorrect results. Stefan