From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: .dir-locals.el Date: Fri, 09 Jan 2009 00:45:16 +0200 Organization: JURTA Message-ID: <87aba1pk83.fsf@jurta.org> References: <200812271713.mBRHDnU3019200@mothra.ics.uci.edu> <87hc4ak6b9.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231456075 10995 80.91.229.12 (8 Jan 2009 23:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Jan 2009 23:07:55 +0000 (UTC) Cc: Eric Schulte , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 09 00:09:04 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 1LL3zE-0007i6-UM for ged-emacs-devel@m.gmane.org; Fri, 09 Jan 2009 00:08:25 +0100 Original-Received: from localhost ([127.0.0.1]:36835 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL3xz-00011S-4g for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 18:07:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL3xt-000119-In for emacs-devel@gnu.org; Thu, 08 Jan 2009 18:07:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL3xs-00010w-M4 for emacs-devel@gnu.org; Thu, 08 Jan 2009 18:07:01 -0500 Original-Received: from [199.232.76.173] (port=59691 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL3xs-00010t-Is for emacs-devel@gnu.org; Thu, 08 Jan 2009 18:07:00 -0500 Original-Received: from relay02.kiev.sovam.com ([62.64.120.197]:60901) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LL3xs-0004Pc-4J for emacs-devel@gnu.org; Thu, 08 Jan 2009 18:07:00 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay02.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1LL3xo-000IVb-GR; Fri, 09 Jan 2009 01:06:56 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 08 Jan 2009 11:30:46 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: be98704d0ffb13ed258a3fe1bd3e20b6 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 6682 [Jan 08 2009] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1) 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:107711 Archived-At: > Maybe your suggestion to change hack-dir-local-variables so it uses > default-directory rather than buffer-file-name is a good one. It seems > like it would be a safe change and would allow the above advice to feel > a tiny bit less hackish. This will also set the directory-wide file-variable values in newly created buffers, for good or bad. -- Juri Linkov http://www.jurta.org/emacs/