Gnus development mailing list
 help / color / mirror / Atom feed
* Check mail when unplugged
@ 1998-02-28 10:35 Shenghuo ZHU
  1998-02-28 12:22 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Shenghuo ZHU @ 1998-02-28 10:35 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Check mail when unplugged
  1998-02-28 10:35 Check mail when unplugged Shenghuo ZHU
@ 1998-02-28 12:22 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-02-28 12:22 UTC (permalink / raw)


Shenghuo ZHU <zsh@cs.rochester.edu> writes:

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

So many negatives confuse me.

So, when you are unplugged, `g' checks new mail?

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-02-28 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-28 10:35 Check mail when unplugged Shenghuo ZHU
1998-02-28 12:22 ` Lars Magne Ingebrigtsen

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).