Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@ga.sony.co.jp>
Subject: Re: Getting new mail without checking the news
Date: 22 Aug 1996 17:31:16 +0900	[thread overview]
Message-ID: <28wwyr2524.fsf@ganews.ga.sony.co.jp> (raw)
In-Reply-To: <yoy20gzykm2.fsf@world.std.com>

How about this?

(defun gnus-group-get-new-mail ()
  (interactive)
  (message "Checking new mail...")
  (let ((gnus-select-method '(nntp nil)))
    (gnus-group-get-new-news))
  (gnus-group-set-mode-line)
  (prog1
      (gnus-group-first-unread-group)
    (message "Checking new mail...done")))

(add-hook 'gnus-group-mode-hook
	  (lambda ()
	    (define-key (current-local-map) "\eG" 'gnus-group-get-new-mail)
	    ) t)
-- 
Katsumi Yamaoka <yamaoka@ga.sony.co.jp>
MD Dep., Personal A&V Products Company, Sony Corporation, Tokyo, Japan.
# Pub key: mailto:pgp-public-keys@icat.or.jp (Subject: GET 0x08820A9D)


  reply	other threads:[~1996-08-22  8:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-20  4:33 Gnus (Emacs Newsreader) FAQ Steven L Baur
1996-08-21  3:48 ` Getting new mail without checking the news Miguel de Icaza
1996-08-21  7:30   ` Ed Donovan
1996-08-21 14:49     ` Peter Svaar
1996-08-22  6:18       ` Hans de Graaff
1996-08-22  6:54       ` Ed Donovan
1996-08-22  8:31         ` Katsumi Yamaoka [this message]
1996-08-21 13:26   ` Richard Pieri
1996-08-21 13:58   ` d. hall

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=28wwyr2524.fsf@ganews.ga.sony.co.jp \
    --to=yamaoka@ga.sony.co.jp \
    /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).