From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: log-edit-strip-single-file-name Date: Fri, 29 Jan 2010 00:20:12 -0800 (PST) Message-ID: <201001290820.o0T8KCv1022959@godzilla.ics.uci.edu> 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 1264753424 17121 80.91.229.12 (29 Jan 2010 08:23:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jan 2010 08:23:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 29 09:23:41 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 1Nam8i-0003Zy-El for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2010 09:23:40 +0100 Original-Received: from localhost ([127.0.0.1]:51738 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nam8h-0004IO-Rt for ged-emacs-devel@m.gmane.org; Fri, 29 Jan 2010 03:23:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nam8c-0004HQ-E8 for emacs-devel@gnu.org; Fri, 29 Jan 2010 03:23:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Nam8Y-0004GV-NK for emacs-devel@gnu.org; Fri, 29 Jan 2010 03:23:34 -0500 Original-Received: from [199.232.76.173] (port=50448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nam8Y-0004GN-IT for emacs-devel@gnu.org; Fri, 29 Jan 2010 03:23:30 -0500 Original-Received: from paul-mcgann-v0.ics.uci.edu ([128.195.1.147]:51975) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nam8W-0004qd-EK; Fri, 29 Jan 2010 03:23:28 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by paul-mcgann-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id o0T8KCQh008835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 29 Jan 2010 00:20:13 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id o0T8KCv1022959; Fri, 29 Jan 2010 00:20:12 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Thu, 28 Jan 2010 14:25:51 -0500") Original-Lines: 20 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: o0T8KCQh008835 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:120629 Archived-At: Stefan Monnier writes: > >>> Should I be setting log-edit-strip-single-file-name to nil when using > > [...] > >>> If so, it should probably be in Emacs's .dir-locals.el. > >> Agreed, > > 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. How about solvin specific instances of this problem by calling `hack-dir-local-variables' from `log-edit-mode' and other VC related modes?