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: applying .dir-locals.el settings when buffer-file-name is nil Date: Sun, 19 Jul 2009 10:47:00 -0700 (PDT) Message-ID: <200907191747.n6JHl0SV019287@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1248025738 11615 80.91.229.12 (19 Jul 2009 17:48:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 17:48:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 19 19:48:51 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 1MSaVG-0006VZ-ML for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 19:48:50 +0200 Original-Received: from localhost ([127.0.0.1]:37667 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaVG-0000nz-3y for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 13:48:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSaVA-0000nh-Qh for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:48:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSaV5-0000hC-24 for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:48:43 -0400 Original-Received: from [199.232.76.173] (port=35996 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaV4-0000h4-U2 for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:48:38 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:46101) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MSaV4-0004OK-Cs for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:48:38 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n6JHl1oB008559 for ; Sun, 19 Jul 2009 10:47:01 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n6JHl0SV019287; Sun, 19 Jul 2009 10:47:00 -0700 (PDT) Original-Lines: 11 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n6JHl1oB008559 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (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: Solaris 10 (beta) 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:112761 Archived-At: .dir-locals.el settings do not apply to buffers when (null buffer-file-name) even when `default-directory' for those buffers is dominated by .dir-locals.el. VC for example creates buffers for which it would be good to be able to have .dir-locals.el. Examples: the log-edit-mode buffers - be able to set some checkin rules, or automatically add things to the commit message, the vc-diff buffers - show trailing whitespace, etc.