From: Gernot Hassenpflug <gernot@mb3.seikyou.ne.jp>
To: info-gnus-english@gnu.org
Subject: Re: How to manually download new mail with nnml-get-new-mail set to nil?
Date: Sat, 03 Feb 2007 09:45:01 +0900 [thread overview]
Message-ID: <87fy9oxe5u.fsf@mb3.seikyou.ne.jp> (raw)
In-Reply-To: <y68veikab0e.fsf@all-night-tool.mit.edu>
>>>>> "David" == David Z Maze <dmaze@mit.edu> writes:
David> Gernot Hassenpflug <gernot@mb3.seikyou.ne.jp> 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!
David> You could write a Lisp function to do that for you
David> (untested):
David> (defun (gh-get-new-news &optional arg) (interactive) (let
David> ((nnml-get-new-mail t)) (gnus-group-get-new-news arg)))
David> (define-key gnus-group-mode-map "g" 'gh-get-new-news)
David> ...and similarly for M-g if you want to use that.
Hi David, that sounds like good idea. I thought it might be in gnus
already, since there are more functions there than I know about :-)
Anything to avoid lisp, initially, anyway.
Thanks again,
--
G Hassenpflug
next prev parent reply other threads:[~2007-02-03 0:45 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-02 9:29 Gernot Hassenpflug
2007-02-02 14:29 ` David Z Maze
2007-02-03 0:45 ` Gernot Hassenpflug [this message]
2007-02-04 10:37 ` John Sullivan
2007-02-05 2:16 ` Gernot Hassenpflug
2007-02-07 13:16 ` Gernot Hassenpflug
2007-02-10 6:40 ` John Sullivan
2007-02-11 15:48 ` Gernot Hassenpflug
2007-02-11 16:54 ` Gernot Hassenpflug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fy9oxe5u.fsf@mb3.seikyou.ne.jp \
--to=gernot@mb3.seikyou.ne.jp \
--cc=info-gnus-english@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).