unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14270: shadow.el, simple.el, shadows shadows
@ 2013-04-25 19:30 Greg Minshall
  2013-04-26  0:45 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Minshall @ 2013-04-25 19:30 UTC (permalink / raw)
  To: 14270

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-26  7:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-25 19:30 bug#14270: shadow.el, simple.el, shadows shadows Greg Minshall
2013-04-26  0:45 ` Glenn Morris
2013-04-26  3:12   ` Greg Minshall
2013-04-26  7:23     ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).