Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Check mail when unplugged
Date: 28 Feb 1998 05:35:46 -0500	[thread overview]
Message-ID: <2nhg5k81a5.fsf@zsh.cs.rochester.edu> (raw)


I am unable to not check new mail when gnus-agent is unplugged. 

My emacs is GNU Emacs 20.2.1, qgnus-0.34; gnus-agent-covered-methods
is ((nntp "slate")); slate is the news server. I check email by the
method of (nnml ""), which is not covered by gnus-agent.

I do not know whether it is a bug. If it is, the patch may be the
following.

*** gnus-int.el	1998/02/28 10:15:01	1.1
--- gnus-int.el	1998/02/28 10:16:54
***************
*** 361,373 ****
  (defun gnus-request-scan (group gnus-command-method)
    "Request a SCAN being performed in GROUP from GNUS-COMMAND-METHOD.
  If GROUP is nil, all groups on GNUS-COMMAND-METHOD are scanned."
!   (when gnus-plugged
!     (let ((gnus-command-method
! 	   (if group (gnus-find-method-for-group group) gnus-command-method))
! 	  (gnus-inhibit-demon t))
!       (funcall (gnus-get-function gnus-command-method 'request-scan)
! 	       (and group (gnus-group-real-name group))
! 	       (nth 1 gnus-command-method)))))
  
  (defsubst gnus-request-update-info (info gnus-command-method)
    "Request that GNUS-COMMAND-METHOD update INFO."
--- 361,374 ----
  (defun gnus-request-scan (group gnus-command-method)
    "Request a SCAN being performed in GROUP from GNUS-COMMAND-METHOD.
  If GROUP is nil, all groups on GNUS-COMMAND-METHOD are scanned."
!   (let ((gnus-command-method
! 	 (if group (gnus-find-method-for-group group) gnus-command-method))
! 	(gnus-inhibit-demon t))
!       (when (or gnus-plugged (not (member gnus-command-method 
! 					  gnus-agent-covered-methods)))
! 	(funcall (gnus-get-function gnus-command-method 'request-scan)
! 		 (and group (gnus-group-real-name group))
! 		 (nth 1 gnus-command-method)))))
  
  (defsubst gnus-request-update-info (info gnus-command-method)
    "Request that GNUS-COMMAND-METHOD update INFO."

-- 
Shenghuo


             reply	other threads:[~1998-02-28 10:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-28 10:35 Shenghuo ZHU [this message]
1998-02-28 12:22 ` Lars Magne Ingebrigtsen

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=2nhg5k81a5.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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).