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: lisp/gnus/.dir-locals.el shadows top-level .dir-locals.el Date: Fri, 26 Apr 2013 15:00:15 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1367002821 9646 80.91.229.3 (26 Apr 2013 19:00:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 19:00:21 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 26 21:00:26 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UVnsf-0006dw-Py for ged-emacs-devel@m.gmane.org; Fri, 26 Apr 2013 21:00:25 +0200 Original-Received: from localhost ([::1]:41031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnsf-0003O9-7g for ged-emacs-devel@m.gmane.org; Fri, 26 Apr 2013 15:00:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnsY-0003NH-2J for emacs-devel@gnu.org; Fri, 26 Apr 2013 15:00:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVnsW-0001OL-JH for emacs-devel@gnu.org; Fri, 26 Apr 2013 15:00:17 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:56783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVnsW-0001OB-Fg for emacs-devel@gnu.org; Fri, 26 Apr 2013 15:00:16 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r3QJ0Fwk008192; Fri, 26 Apr 2013 15:00:15 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 6A526B40E2; Fri, 26 Apr 2013 15:00:15 -0400 (EDT) In-Reply-To: (Glenn Morris's message of "Fri, 26 Apr 2013 13:04:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4561=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4561> : streams <948833> : uri <1404794> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159170 Archived-At: > lisp/gnus has this vital .dir-locals.el: > ((emacs-lisp-mode . ((show-trailing-whitespace . t)))) > (Which seems like personal preference to me.) I tend to agree, tho it might actually reflect a coding convention used for all of Gnus code. > Anyway, this prevents the actually-has-useful-content > (log-edit-rewrite-fixes etc) top-level Emacs .dir-locals.el from > being seen. Indeed (I didn't notice it because I always commit from a vc-dir buffer showing the whole of `emacs' rather than a particular subdirectory). > The simplest solution seems not to have lisp/gnus/.dir-locals.el in the > Emacs repo. (Rather than duplicating all the top-level content into the > Gnus one, or implementing .dir-locals inheritance, desirable though that > might be.) I'll let the Gnus people decide what they prefer in the short term, but dir-locals inheritance would be very welcome. Stefan