all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Greg Minshall <minshall@umich.edu>
Cc: 14270@debbugs.gnu.org
Subject: bug#14270: shadow.el, simple.el, shadows shadows
Date: Thu, 25 Apr 2013 20:45:02 -0400	[thread overview]
Message-ID: <9k3nqazn5.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87033.1366918226@greg-minshalls-mbp.local> (Greg Minshall's message of "Thu, 25 Apr 2013 15:30:26 -0400")

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.)





  reply	other threads:[~2013-04-26  0:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-25 19:30 bug#14270: shadow.el, simple.el, shadows shadows Greg Minshall
2013-04-26  0:45 ` Glenn Morris [this message]
2013-04-26  3:12   ` Greg Minshall
2013-04-26  7:23     ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9k3nqazn5.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=14270@debbugs.gnu.org \
    --cc=minshall@umich.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.