From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Minshall Newsgroups: gmane.emacs.bugs Subject: bug#14270: shadow.el, simple.el, shadows shadows Date: Thu, 25 Apr 2013 15:30:26 -0400 Message-ID: <87033.1366918226@greg-minshalls-mbp.local> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1366919342 10385 80.91.229.3 (25 Apr 2013 19:49:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Apr 2013 19:49:02 +0000 (UTC) To: 14270@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 25 21:49:06 2013 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 1UVSAA-00065Q-Cn for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 21:49:02 +0200 Original-Received: from localhost ([::1]:43754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVSA9-0004Xj-UI for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 15:49:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVSA3-0004S7-Ur for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:48:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVSA1-0006Jl-5p for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:48:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVSA1-0006Jf-38 for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:48:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UVSEz-00041Z-RW for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Greg Minshall Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Apr 2013 19:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14270 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136691963315448 (code B ref -1); Thu, 25 Apr 2013 19:54:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Apr 2013 19:53:53 +0000 Original-Received: from localhost ([127.0.0.1]:43573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVSEq-000410-9E for submit@debbugs.gnu.org; Thu, 25 Apr 2013 15:53:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33866) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVRxL-0003Rh-Ir for submit@debbugs.gnu.org; Thu, 25 Apr 2013 15:35:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVRsJ-0000tc-F0 for submit@debbugs.gnu.org; Thu, 25 Apr 2013 15:30:38 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:49100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVRsJ-0000tX-CW for submit@debbugs.gnu.org; Thu, 25 Apr 2013 15:30:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVRsG-0007bP-RI for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:30:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVRsD-0000sg-UP for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:30:32 -0400 Original-Received: from relay03.pair.com ([209.68.5.17]:2759) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UVRsD-0000sQ-O9 for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 15:30:29 -0400 Original-Received: (qmail 20195 invoked by uid 0); 25 Apr 2013 19:30:27 -0000 Original-Received: from 99.19.69.197 (HELO gregair.cliq.com) (99.19.69.197) by relay03.pair.com with SMTP; 25 Apr 2013 19:30:27 -0000 X-pair-Authenticated: 99.19.69.197 Original-Received: from greg-minshalls-mbp.local (localhost [127.0.0.1]) by gregair.cliq.com (Postfix) with ESMTP id 8CFDB10A67569 for ; Thu, 25 Apr 2013 15:30:26 -0400 (EDT) X-Mailer: MH-E 8.5; nmh 1.5; GNU Emacs 24.3.2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 25 Apr 2013 15:53:50 -0400 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.x 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:73689 Archived-At: hi. in shadow.el, list-load-path-shadows has some code to look for the (originally, first; now last) ---- http://lists.gnu.org/archive/html/bug-gnu-emacs/2002-03/msg00507.html ---- directory with simple.el in it. i *assume* that originally, there were no directories underneath, e.g., /usr/local/share/emacs/24.3/lisp. but now, subsystems seem to live in directories. i.e., in my case, the following are subdirectories: ---- calc calendar cedet emacs-lisp emulation erc eshell gnus international language mail mh-e net nxml obsolete org play progmodes term textmodes url vc ---- in my setup, i have local copies of mh-e and org. if i say M-x list-load-path-shadows, i get the message that ---- No Emacs Lisp load-path shadowings were found ---- but, if i disable the search for simple.el, i instead get the more accurate: ---- 118 Emacs Lisp load-path shadowings were found ---- i wonder if the test for simple.el might be removed? it appears that it was designed to help in the case where a developer's own load-path includes his/her source directory (and, with the above change from first to last, i'm not sure if it even fulfills that desire). if there's still a desire for that behavior, maybe a customizable list of directories to ignore, similar to (but markedly different from) the suggestion in ---- http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-09/msg00135.html ---- cheers, Greg Minshall