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: .dir-locals.el Date: Thu, 08 Jan 2009 22:14:48 -0500 Message-ID: References: <200812271713.mBRHDnU3019200@mothra.ics.uci.edu> <87hc4ak6b9.fsf@gmail.com> <87aba1pk83.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1231470907 14246 80.91.229.12 (9 Jan 2009 03:15:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2009 03:15:07 +0000 (UTC) Cc: Eric Schulte , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 09 04:16:18 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 1LL7r8-0005BD-0i for ged-emacs-devel@m.gmane.org; Fri, 09 Jan 2009 04:16:18 +0100 Original-Received: from localhost ([127.0.0.1]:47271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL7ps-00062D-04 for ged-emacs-devel@m.gmane.org; Thu, 08 Jan 2009 22:15:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LL7pn-00060v-Bq for emacs-devel@gnu.org; Thu, 08 Jan 2009 22:14:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LL7pl-0005xF-7R for emacs-devel@gnu.org; Thu, 08 Jan 2009 22:14:54 -0500 Original-Received: from [199.232.76.173] (port=45061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LL7pl-0005wp-0t for emacs-devel@gnu.org; Thu, 08 Jan 2009 22:14:53 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:20442 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LL7pk-0007Xx-R7 for emacs-devel@gnu.org; Thu, 08 Jan 2009 22:14:52 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUFAANQZklFxJt//2dsb2JhbACBbM1YhXWBaQ X-IronPort-AV: E=Sophos;i="4.37,237,1231131600"; d="scan'208";a="32057091" Original-Received: from 69-196-155-127.dsl.teksavvy.com (HELO pastel.home) ([69.196.155.127]) by ironport2-out.teksavvy.com with ESMTP; 08 Jan 2009 22:14:49 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id DF33586E5; Thu, 8 Jan 2009 22:14:48 -0500 (EST) In-Reply-To: <87aba1pk83.fsf@jurta.org> (Juri Linkov's message of "Fri, 09 Jan 2009 00:45:16 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (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:107715 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. Why? This code is not expected to be run for new buffers. Stefan