* bug#25109: 25.1.50; `symbol-file' is sometimes lying
@ 2016-12-04 18:12 Michael Heerdegen
2016-12-08 7:19 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Michael Heerdegen @ 2016-12-04 18:12 UTC (permalink / raw
To: 25109
Hi,
emacs -Q:
(symbol-file 'pcase)
==> "pcase"
(require 'subr-x)
==> subr-x
(symbol-file 'pcase)
==> "/usr/local/share/emacs/25.1.50/lisp/emacs-lisp/subr-x.elc"
`pcase' is not (re)defined in subr-x.
Seems the reason for the wrong result is that the entry
(require . pcase)
in subr-x's entry in `load-history' is mistakenly treated as a
definition of the symbol "pcase".
Dunno if there are other cases like this (or unlike this). If we can't
be sure that `symbol-file' returns the correct value in any case, we
should say in the documentation that it works only heuristically. But I
guess we just need to be more accurate.
TIA,
Michael.
In GNU Emacs 25.1.50.10 (x86_64-pc-linux-gnu, GTK+ Version 3.22.3)
of 2016-11-22 built on drachen
Repository revision: 3f2b497cdddcf1f124f1c9f94354d5f457a4070f
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Debian GNU/Linux testing (stretch)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#25109: 25.1.50; `symbol-file' is sometimes lying
2016-12-04 18:12 bug#25109: 25.1.50; `symbol-file' is sometimes lying Michael Heerdegen
@ 2016-12-08 7:19 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2016-12-08 7:19 UTC (permalink / raw
To: 25109-done
Version: 26.1
Fixed in e63c489.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-08 7:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-04 18:12 bug#25109: 25.1.50; `symbol-file' is sometimes lying Michael Heerdegen
2016-12-08 7:19 ` Glenn Morris
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.