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#14270: shadow.el, simple.el, shadows shadows Date: Thu, 25 Apr 2013 20:45:02 -0400 Message-ID: <9k3nqazn5.fsf@fencepost.gnu.org> References: <87033.1366918226@greg-minshalls-mbp.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1366937168 19864 80.91.229.3 (26 Apr 2013 00:46:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 00:46:08 +0000 (UTC) Cc: 14270@debbugs.gnu.org To: Greg Minshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 26 02:46:12 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 1UVWnk-0006N5-4c for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 02:46:12 +0200 Original-Received: from localhost ([::1]:47525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVWnj-0007Xe-QV for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 20:46:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVWnf-0007UF-78 for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 20:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVWnd-00066t-AY for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 20:46:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVWnd-00066n-7O for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 20:46:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UVWna-0007An-JY for bug-gnu-emacs@gnu.org; Thu, 25 Apr 2013 20:46:02 -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: Fri, 26 Apr 2013 00:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14270 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14270-submit@debbugs.gnu.org id=B14270.136693711027371 (code B ref 14270); Fri, 26 Apr 2013 00:46:02 +0000 Original-Received: (at 14270) by debbugs.gnu.org; 26 Apr 2013 00:45:10 +0000 Original-Received: from localhost ([127.0.0.1]:43841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVWmj-00077I-Jy for submit@debbugs.gnu.org; Thu, 25 Apr 2013 20:45:10 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:43907) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UVWmc-00076M-9U for 14270@debbugs.gnu.org; Thu, 25 Apr 2013 20:45:04 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UVWmd-0005S3-41; Thu, 25 Apr 2013 20:45:03 -0400 X-Spook: CNCIS event security counter intelligence rail gun X-Ran: wT7"M3nr (Greg Minshall's message of "Thu, 25 Apr 2013 15:30:26 -0400") 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.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:73694 Archived-At: Greg Minshall wrote: > 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. No, the simple.el check is for something else. list-load-path-shadows assuredly works fine with subdirs. It's actually because when Emacs was running uninstalled, it used to add the installation lisp directories to load-path if they existed. It doesn't do that since 2012-07-07, so this check can probably be removed anyway, but it should not cause the issue you describe by itself. > 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 > ---- This implies you have multiple copies of "simple.el" in directories directly specified in your load-path. Do you? If so, why? (cedet/ede/simple.el does not count, because cedet/ede is not in load-path.)