Gnus development mailing list
 help / color / mirror / Atom feed
From: Christoph Conrad <C.Conrad@cli.de>
Subject: Re: function `nnml-retrieve-groups' missing
Date: 09 Nov 2000 12:36:04 +0100	[thread overview]
Message-ID: <uk8adjs2j.fsf@cli.de> (raw)
In-Reply-To: <uwvedigxc.fsf@cli.de>


    Christoph> ad-Orig-gnus-group-get-new-news(8)

The advice is:

(defadvice gnus-group-get-new-news( after
                                    ad-gnus-group-get-new-news
                                    activate )
  (cc-check-set-num-msgs))

(require 'pop3)

(defvar cc-check-num-msgs "0")

(defun cc-check-mail()
  (let ((pop3-password "clicli")
        num_msgs)
    (setq proc (pop3-open-server "cli3" 110))
    (pop3-user proc "cc")
    (pop3-pass proc)
    (setq num_msgs (pop3-stat proc))
    (pop3-quit proc)
    num_msgs))

(defun cc-check-set-num-msgs()
  (message "Checking new mail...")
  (setq cc-check-num-msgs (format "%s" (car (cc-check-mail))))
  (force-mode-line-update t)
  (message ""))

i. A.
Christoph Conrad
-- 
CLI-GmbH,  Matthiashofstr. 28-30,  D-52064 Aachen
Fon: +49 241 47051-0  Fax: +49 241 47051-89 Web: http://www.cli.de
(defvar my-computer '((OS . "GNU Emacs") (system-type . gnu/linux))
	"Programming environment.")



  reply	other threads:[~2000-11-09 11:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-09 10:22 Christoph Conrad
2000-11-09 11:36 ` Christoph Conrad [this message]
2000-11-09 14:48 ` ShengHuo ZHU
2000-11-09 15:47   ` Christoph Conrad
2000-11-09 22:21     ` ShengHuo ZHU
2000-11-10  7:23       ` Christoph Conrad

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=uk8adjs2j.fsf@cli.de \
    --to=c.conrad@cli.de \
    /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).