From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/14351 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Check mail when unplugged Date: 28 Feb 1998 05:35:46 -0500 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nhg5k81a5.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035153556 14412 80.91.224.250 (20 Oct 2002 22:39:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:39:16 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id CAA08123 for ; Sat, 28 Feb 1998 02:39:33 -0800 Original-Received: from sina.hpc.uh.edu (root@Sina.HPC.UH.EDU [129.7.3.5]) by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA12529 for ; Sat, 28 Feb 1998 04:35:21 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id EAH02279; Sat, 28 Feb 1998 04:35:16 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 28 Feb 1998 04:34:48 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id EAA02266 for ; Sat, 28 Feb 1998 04:34:36 -0600 (CST) Original-Received: (qmail 26004 invoked by uid 504); 28 Feb 1998 10:34:29 -0000 Original-Received: (qmail 26001 invoked from network); 28 Feb 1998 10:34:28 -0000 Original-Received: from cayuga.cs.rochester.edu (192.5.53.209) by claymore.vcinet.com with SMTP; 28 Feb 1998 10:34:28 -0000 Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/M) with ESMTP id FAA04158 for ; Sat, 28 Feb 1998 05:34:27 -0500 Original-Received: from brain.cs.rochester.edu (hecto.cs.rochester.edu [192.5.53.183]) by slate.cs.rochester.edu (8.6.9/M) with ESMTP id FAA14991 for ; Sat, 28 Feb 1998 05:34:20 -0500 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.8.5/8.8.5) id FAA07509; Sat, 28 Feb 1998 05:35:48 -0500 Original-To: ding@gnus.org X-Attribution: ZSH Original-Lines: 45 X-Mailer: Quassia Gnus v0.34/Emacs 20.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:14351 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:14351 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