all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RFE: require and load-path-shadowing
@ 2013-01-10 21:07 Achim Gratz
  2013-01-10 23:43 ` Glenn Morris
  0 siblings, 1 reply; 96+ messages in thread
From: Achim Gratz @ 2013-01-10 21:07 UTC (permalink / raw)
  To: emacs-devel


There is currently a problem with package manager when a package is
installed from a package archive,that package is already installed
either in Emacs core or site-lisp, and when (parts of) said package have
already been loaded when ELPA tries to install: the byte-compiler will
use the already loaded definitions rather than the new ones from the
package to install.

Since this would seem a more general problem, I suggest that in a
situation similar to this:

(feature-file 'org-macs)
=> "/usr/local/share/emacs/site-lisp/org/org-macs.elc"
(find-library-name "org-macs")
=> "/home/lisp/org-mode/lisp/org-macs.el"

a subsequent (require 'org-macs) should not simply return "t", but
actually load the required feature again from the current load-path, at
least as an option (when require-reload-shadowed-feature bound to true
or something like that).  A workaround in package manager would need to
check and modify the features variable, which doesn't seem the right
thing to do.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables




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

end of thread, other threads:[~2013-01-21  6:53 UTC | newest]

Thread overview: 96+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 21:07 RFE: require and load-path-shadowing Achim Gratz
2013-01-10 23:43 ` Glenn Morris
2013-01-11  1:57   ` bug#10125: " Stefan Monnier
2013-01-11  1:57   ` Stefan Monnier
2011-11-24 12:12     ` 24.0.91; package.el (org): Macros in tar packages & order of byte compilation Jambunathan K
2002-01-01  0:33       ` bug#10125: " Jambunathan K
2011-11-24 13:05       ` Eli Zaretskii
2011-11-24 17:22         ` Jambunathan K
2011-11-24 17:22         ` Jambunathan K
2011-11-24 19:09           ` Glenn Morris
2011-11-24 19:09           ` Glenn Morris
2011-11-24 19:53             ` Glenn Morris
2011-11-24 19:53             ` Glenn Morris
2011-11-25 12:15               ` Jambunathan K
2011-11-25 12:15               ` Jambunathan K
2011-11-25 14:07               ` Chong Yidong
2011-11-25 14:07               ` Chong Yidong
2011-11-25 14:57                 ` Stefan Monnier
2011-11-25 14:57                 ` Stefan Monnier
2011-11-25 19:15                   ` Glenn Morris
2011-11-25 19:15                   ` Glenn Morris
2011-11-25 19:21                     ` Glenn Morris
2011-11-25 19:21                     ` Glenn Morris
2011-11-25 18:19                 ` Glenn Morris
2011-11-25 18:19                 ` Glenn Morris
2011-11-25 19:01                   ` Glenn Morris
2011-11-25 19:01                   ` Glenn Morris
2011-11-24 22:55             ` Stelian Iancu
2011-11-24 22:55             ` Stelian Iancu
2011-11-24 23:54               ` Glenn Morris
2011-11-24 23:54               ` Glenn Morris
2011-11-25  3:31               ` Jambunathan K
2011-11-25 12:32                 ` Stelian Iancu
2011-11-25 12:32                 ` Stelian Iancu
2011-11-25 12:58                   ` Jambunathan K
2011-11-25  3:31               ` Jambunathan K
2011-11-25  8:10             ` Eli Zaretskii
2011-11-25 18:20               ` Glenn Morris
2011-11-25 18:20               ` Glenn Morris
2011-11-25  8:10             ` Eli Zaretskii
2013-01-11 16:06       ` bug#10125: RFE: require and load-path-shadowing Achim Gratz
2013-01-11 16:56         ` Stefan Monnier
2013-01-11 16:56         ` Stefan Monnier
2013-01-11 16:06       ` Achim Gratz
2013-01-11 19:53       ` Achim Gratz
2013-01-11 22:52         ` Stefan Monnier
2013-01-11 22:52         ` Stefan Monnier
2013-01-12  8:15           ` Eli Zaretskii
2013-01-12  8:15           ` Eli Zaretskii
2013-01-11 19:53       ` Achim Gratz
2013-01-12 10:15       ` Achim Gratz
2013-01-12 10:15       ` Achim Gratz
2013-01-12 13:34         ` Bastien
2013-01-12 13:34         ` Bastien
2013-01-12 14:03           ` Stefan Monnier
2013-01-12 14:03           ` Stefan Monnier
2013-01-12 14:23             ` Bastien
2013-01-12 14:23             ` Bastien
2013-01-12 16:12               ` Stefan Monnier
2013-01-12 16:12               ` Stefan Monnier
2013-01-12 17:34                 ` Bastien
2013-01-12 17:34                 ` Bastien
2013-01-12 10:20       ` Achim Gratz
2013-01-12 10:20       ` Achim Gratz
2013-01-12 12:07         ` Eli Zaretskii
2013-01-12 12:07         ` Eli Zaretskii
2013-01-12 13:28           ` Stefan Monnier
2013-01-12 13:55             ` Eli Zaretskii
2013-01-12 13:55             ` Eli Zaretskii
2013-01-12 18:42             ` Glenn Morris
2013-01-12 18:42             ` Glenn Morris
2013-01-12 13:28           ` Stefan Monnier
2013-01-12 16:29       ` Achim Gratz
2013-01-12 16:29       ` Achim Gratz
2013-01-12 17:01       ` Achim Gratz
2013-01-12 17:01       ` Achim Gratz
2013-01-12 18:39         ` Eli Zaretskii
2013-01-12 18:39         ` Eli Zaretskii
2013-01-13  7:46       ` Achim Gratz
2013-01-13  7:46       ` Achim Gratz
2013-01-13  7:52       ` Achim Gratz
2013-01-13  7:52       ` Achim Gratz
2013-01-15 19:34       ` Achim Gratz
2013-01-15 19:34       ` Achim Gratz
2013-01-16  9:45         ` Kevin Rodgers
2013-01-16  9:45         ` Kevin Rodgers
2013-01-16 10:06           ` Andreas Schwab
2013-01-16 14:59             ` Kevin Rodgers
2013-01-16 14:59             ` Kevin Rodgers
2013-01-16 10:06           ` Andreas Schwab
2013-01-11  2:45     ` Jambunathan K
2013-01-11  2:45     ` Jambunathan K
2013-01-11  8:21   ` Achim Gratz
2013-01-20  7:38   ` Achim Gratz
2013-01-20 20:17     ` Glenn Morris
2013-01-21  6:53       ` Achim Gratz

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.