From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#12357: 24.2; list-load-path-shadow should ignore .dir-locals.el Date: Fri, 07 Sep 2012 21:13:32 -0400 Message-ID: References: <87harcsi6n.fsf@bredband.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1347066828 19643 80.91.229.3 (8 Sep 2012 01:13:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Sep 2012 01:13:48 +0000 (UTC) Cc: 12357@debbugs.gnu.org To: Johan Claesson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 08 03:13:50 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TA9cL-0004y7-Gf for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Sep 2012 03:13:49 +0200 Original-Received: from localhost ([::1]:50836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA9cI-0004FC-5m for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Sep 2012 21:13:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA9cF-0004F4-1K for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 21:13:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA9cD-0008Cr-Ll for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 21:13:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA9cD-0008Cn-I5 for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 21:13:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TA9cX-0007le-V3 for bug-gnu-emacs@gnu.org; Fri, 07 Sep 2012 21:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Sep 2012 01:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12357-submit@debbugs.gnu.org id=B12357.134706683529839 (code B ref 12357); Sat, 08 Sep 2012 01:14:01 +0000 Original-Received: (at 12357) by debbugs.gnu.org; 8 Sep 2012 01:13:55 +0000 Original-Received: from localhost ([127.0.0.1]:47449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA9cR-0007lE-3t for submit@debbugs.gnu.org; Fri, 07 Sep 2012 21:13:55 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49947) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TA9cP-0007l7-Jy for 12357@debbugs.gnu.org; Fri, 07 Sep 2012 21:13:54 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TA9c4-0005wQ-4F; Fri, 07 Sep 2012 21:13:32 -0400 X-Spook: FTS2000 credit card Bin Laden Dateline corporate security X-Ran: Y8j7q5{>@SG3:ZI.c:DTyL2tgv:xlTS:'e%a%uxi5oi">n8)\j+a[FD7p'p3]!+6xJL3c] X-Hue: yellow X-Attribution: GM In-Reply-To: <87harcsi6n.fsf@bredband.net> (Johan Claesson's message of "Wed, 05 Sep 2012 15:38:56 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63926 Archived-At: Johan Claesson wrote: > A minor suggestion for shadow.el. list-load-path-shadows will detect > if there are two lisp files with the same name in the load-path. Such > a clash could cause problems for normal lisp files. But i think it is > normal to have multiple .dir-locals.el files spread across the > load-path. In order to avoid false warnings list-load-path-shadows > could ignore the special file name .dir-locals.el. I think you are right, but if any one given directory has more than one dir-locals file above it in the directory tree, then the "lowest" one does indeed shadow all the "higher" ones. So it might be good to still report such cases?