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: log-edit-strip-single-file-name Date: Sun, 31 Jan 2010 00:57:35 +0200 Organization: JURTA Message-ID: <87eil7gp10.fsf@mail.jurta.org> References: <3a26oiti.fsf@fencepost.gnu.org> <12bpggw4wg.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1264895907 29753 80.91.229.12 (30 Jan 2010 23:58:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 23:58:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 31 00:58:23 2010 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.69) (envelope-from ) id 1NbNCp-0000GJ-5z for ged-emacs-devel@m.gmane.org; Sun, 31 Jan 2010 00:58:23 +0100 Original-Received: from localhost ([127.0.0.1]:35541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbNCo-0002jI-HN for ged-emacs-devel@m.gmane.org; Sat, 30 Jan 2010 18:58:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NbNBB-0002Ba-HP for emacs-devel@gnu.org; Sat, 30 Jan 2010 18:56:41 -0500 Original-Received: from [199.232.76.173] (port=41861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbNBA-0002BL-UW for emacs-devel@gnu.org; Sat, 30 Jan 2010 18:56:40 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NbNB6-0007Qd-8g for emacs-devel@gnu.org; Sat, 30 Jan 2010 18:56:40 -0500 Original-Received: from smtp-out4.starman.ee ([85.253.0.6]:37794 helo=mx2.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NbNB5-0007QI-Nu; Sat, 30 Jan 2010 18:56:36 -0500 X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Original-Received: from mail.starman.ee (82.131.68.107.cable.starman.ee [82.131.68.107]) by mx2.starman.ee (Postfix) with ESMTP id 48DDD3F40CE; Sun, 31 Jan 2010 01:56:29 +0200 (EET) In-Reply-To: (Stefan Monnier's message of "Thu, 28 Jan 2010 14:25:51 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (x86_64-pc-linux-gnu) 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:120731 Archived-At: >> It doesn't work. I guess dir-locals doesn't affect buffers not >> visiting files. > > This is a "general" problem that we may want to solve: non-file (nor > dired) buffers that are (loosely) associated with a particular > directory should probably obey .dir-locals.el. Does this mean that a buffer should be associated with .dir-locals.el when its `default-directory' is a subdirectory of `default-directory' of .dir-locals.el? Then what about file local variables (in the first line or a local variables list)? Should a non-file buffer obey them? -- Juri Linkov http://www.jurta.org/emacs/