I configured Gnus to fetch mails from gmail account, and it works well, I can send and receive messages. However, one thing I'd like to improve is ability to add C-u 5 M-x gnus-group-list-all-groups command in my ~/.gnus so that I don't need to press the key combination every time I run Gnus. What should I add in config file to achieve this? Thanks.

  • 2
    Please do not cross-post to both this site and StackOverflow.
    – Drew
    Jun 27, 2016 at 17:43

1 Answer 1

(with-eval-after-load 'gnus-group
  (gnus-group-list-all-groups 5))

in modern GNU Emacs or

 (eval-after-load 'gnus-group
   '(gnus-group-list-all-groups 5))

in outdated GNU Emacs older than 24.4 (your case).

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.