Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

"Package assoc is obsolete!" #143

Closed
bixuanzju opened this Issue · 11 comments

5 participants

@bixuanzju

I find in Messages buffer "Package assoc is obsolete!". What does that mean? are there any problems with my config?
Thanks!

@bbatsov
Owner

When do you see that message? Is it during initialization or later on?

@bixuanzju

Every time I start it, I then switch to the message buffer to see if everything is working right. So then I see "Package assoc is obsolete" in the buffer...But anyway, so far it has no obvious impact on me. I am just curious...

@4e6

I can see the same message, it appears in the very end, after initialization.

Prelude is powering up... Be patient, Master _4e6!
Warning: ad-Orig-kill-region called with 3 arguments, but accepts only 2
Loading /home/_4e6/.emacs.d/recentf...done
Cleaning up the recentf list...done (0 removed)
Warning: ad-Orig-kill-region called with 3 arguments, but accepts only 2
[yas] Loaded /home/_4e6/.emacs.d/elpa/yasnippet-20120422/snippets
[yas] Loaded ~/.emacs.d/snippets
[yas] Loaded /home/_4e6/.emacs.d/snippets/
[yas] Reloaded everything....
Loading /home/_4e6/.emacs.d/personal/auctex.el (source)...done
Loading /home/_4e6/.emacs.d/personal/ensime.el (source)...done
Loading /home/_4e6/.emacs.d/personal/jade-mode.el (source)...done
Loading /home/_4e6/.emacs.d/personal/tuareg-mode.el (source)...done
Prelude is ready to do thy bidding, Master _4e6!
Starting Emacs daemon.
Package assoc is obsolete!
When done with this frame, type C-x 5 0
@bbatsov
Owner

It's probably just a deprecation warning in Emacs. I'll investigate it further.

@malcook

FWIW: I can reproduce with

emacs --quick --eval "(require 'url)"

using GNU Emacs 24.1.50.2 HEAD in OSX

in my case i found it comes from the 'url package being required by

(require 'auto-install)

which in turn calls

(require 'url)

indeed, the file assoc.el is found in

/usr/local/share/emacs/24.1.50/lisp/obsolete/assoc.el

one way of not getting such warnings is given in http://stackoverflow.com/questions/5468952/how-do-i-hide-emacs-obsolete-variable-warnings

@bbatsov
Owner

I don't recall the use of auto-install anywhere in Prelude.

@malcook
@bbatsov
Owner

Yep, I imagined that package.el might be involved :-) Anyways - nothing we can do about that, Emacs's maintainers will probably update the affected packages soon enough.

@donpicoro

Hello,
I have no recall of using package.el However the problematic package indeed stop my full .emacs from being loaded completely.
I narrow the problem down to the line:
(setq org-log-done t
org-agenda-files (list "~/org/work.org
"~/org/home.org))
If I remove that line it works although I have some other functions that rely on "assoc" but now it is just a warning.

If assoc is no longer there, do we have a replacement for it that you know?

Thanks in advance

@malcook
@bixuanzju

That worked! Thank you @malcook

@bbatsov bbatsov closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.