Gernot Hassenpflug <[EMAIL PROTECTED]> writes:

> If I set
>
> (setq nnml-get-new-mail t)
>
> then M-g does work on mail groups, but unfortunately this setting also
> automatically downloads all mail messages when I start up gnus for the
> first time.
>
> I did not find any command relevant to downloading mail manually on
> demand, so I am at the moment using the above variable set to nil on
> gnus startup and then switch it to t when I want to download mail, and
> then switch it back to nil again. Not very elegant!

You could write a Lisp function to do that for you (untested):

(defun (gh-get-new-news &optional arg)
  (interactive)
  (let ((nnml-get-new-mail t))
    (gnus-group-get-new-news arg)))
(define-key gnus-group-mode-map "g" 'gh-get-new-news)

...and similarly for M-g if you want to use that.

  --dzm
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to