From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/32287 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Problem entering some IMAP groups Date: 30 Aug 2000 20:16:08 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87n1hu63i2.fsf@quicksilver.pacbell.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035168583 18886 80.91.224.250 (21 Oct 2002 02:49:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:49:43 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id BE600D051E for ; Wed, 30 Aug 2000 14:14:50 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAC03473; Wed, 30 Aug 2000 13:14:37 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 30 Aug 2000 13:13:59 -0500 (CDT) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA00263 for ; Wed, 30 Aug 2000 13:13:49 -0500 (CDT) Original-Received: from vic20.blipp.com (unknown [195.163.165.35]) by mailhost.sclp.com (Postfix) with ESMTP id C7B1ED051E for ; Wed, 30 Aug 2000 14:14:09 -0400 (EDT) Original-Received: from barbar.josefsson.org (localhost [127.0.0.1]) by vic20.blipp.com (8.10.1/8.10.1) with SMTP id e7UIE5927866; Wed, 30 Aug 2000 20:14:05 +0200 Original-To: eldrik@logrus.com (Bruce Z. Lysik) In-Reply-To: <87n1hu63i2.fsf@quicksilver.pacbell.net> Mail-Copies-To: nobody Original-Lines: 36 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Channel Islands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:32287 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:32287 eldrik@logrus.com (Bruce Z. Lysik) writes: > I'm running XEmacs 21.1.10 at work with gnus right out of CVS. > > When I try to enter some of my IMAP groups I get an error. Here's the > result of debug-on-error set to t. Any help would be appreciated. Does the attached patch work? Out of curiosity, when you get that error, could you mail me the content of your " *nntp*" buffer? I think your NOV cache might be corrupted. Index: nnimap.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/nnimap.el,v retrieving revision 1.30 diff -w -u -u -w -r1.30 nnimap.el --- nnimap.el 2000/08/21 21:53:27 1.30 +++ nnimap.el 2000/08/30 18:11:43 @@ -458,13 +458,11 @@ (when (file-exists-p nov) (mm-insert-file-contents nov) (set-buffer-modified-p nil) - (let ((min (progn (goto-char (point-min)) - (when (not (eobp)) - (read (current-buffer))))) - (max (progn (goto-char (point-max)) + (let ((min (ignore-errors (goto-char (point-min)) + (read (current-buffer)))) + (max (ignore-errors (goto-char (point-max)) (forward-line -1) - (when (not (bobp)) - (read (current-buffer)))))) + (read (current-buffer))))) (if (and (numberp min) (numberp max)) (cons min max) ;; junk, remove it, it's saved later