I'm wondering why this hook never works:
(add-hook 'gnus-group-prepared-hook 'gnus-group-list-all-groups)
Description of the hook:
is called as the very last thing after the group buffer has been generated. It may be used to move point around, for instance.
I've also tried gnus-group-mode-hook
(specified function is called, but no effect) and gnus-group-prepare-hook
(never called).
Expected behavior: when I start Gnus via M-x gnus, it should list all groups immediately.
hooks
, and it already exists :) – itsjeyd Nov 13 '14 at 20:10gnus-group-prepared-hook
. More significantly, my Gnus does list all groups, but only after erroring due to max recursion depth.) Please post a minimum working example for me to debug the problem ... I should be able to start emacs withemacs -Q
, eval your code in the *scratch* buffer, and see what you're talking about. – purple_arrows Nov 13 '14 at 21:12gnus-group-prepared-hook
. – Mark Karpov Nov 14 '14 at 8:05.emacs
that you can evaluate in*scratch*
, it should include.gnus
file and.authinfo
. – Mark Karpov Nov 14 '14 at 8:47