I am getting this message during startup of my Emacs, recently (since the update to Emacs 26?). I could not track down where is package is loaded and did not find anything related to this message in the web. It is not really a problem but I would like to know why my Emacs loads an obsolete package.
Asked
Active
Viewed 1,567 times
8
1 Answers
5
Add this to the top of your .emacs, you should get a backtrace when it loads:
(defun debug-on-load-obsolete (filename)
(when (equal (car (last (split-string filename "[/\\]") 2))
"obsolete")
(debug)))
(add-to-list 'after-load-functions #'debug-on-load-obsolete)

npostavs
- 9,203
- 1
- 24
- 53
-
That helped a lot! I could track down the loading to mu4e and will investigate it further. – Martin Buchmann Jul 01 '18 at 17:41
-
1It was indeed an old version of mu4e. Making sure that the recent version is loaded everything is fine. – Martin Buchmann Jul 06 '18 at 14:39
-
-
@alper oh, I guess
debug
wouldn't run in daemon mode. Maybe replacing the(debug)
call with(backtrace)
would work? – npostavs Aug 18 '20 at 21:52 -
The error I was getting: https://gist.github.com/avatar-lavventura/47792d4e5316a0b530c9ef2be1060aca – alper Aug 19 '20 at 00:09
-
1@alper well that's enough to figure out where the obsolete message is coming from: the
findr
package is loading the obsoletecl
package (it should switch tocl-lib
). – npostavs Aug 19 '20 at 17:08
emacs -q
/emacs -Q
, then bisecting towards the offending part of your init / site file. – wasamasa Jul 01 '18 at 10:03macports
on macOS and there is a mu-devel port which works for me. I not sure which package you could use on your system. But you could a) wait until your system is updated or b) try to get the most recent commit usinggit
. – Martin Buchmann Jul 09 '18 at 04:28