When I'm in gnus and type m I got the following error gnus-group-mail: Autoloading failed to define function gnus-nnir-group-p

I couldn't not find the function gnus-nnir-group-p

From this post , i tried M-x list-load-path-shadows and think I've found the culprit. I'm still trying to sort this out. Any idea?

/usr/share/emacs/site-lisp/gnus-bonus/spam-stat hides /usr/share/emacs/24.5/lisp/gnus/spam-stat
/usr/share/emacs/site-lisp/gnus-bonus/nnir hides /usr/share/emacs/24.5/lisp/gnus/nnir
/usr/share/emacs/site-lisp/gnus-bonus/nnnil hides /usr/share/emacs/24.5/lisp/gnus/nnnil

1 Answer 1


Apologies, I was too quick to rely on your help. I found the answer here. It was indeed a problem of conflicting libraries. I just put the "right" library up the load-path in my .emacs as recommended :

(setcar load-path "/usr/share/emacs/24.5/lisp/gnus")
(add-to-list 'load-path "~/.emacs.d/elpa/pdf-tools-20150716.643/")

I'll modify a little bit the title for the question to be more general. Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.