Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <simon@josefsson.org>
Cc: ding@gnus.org
Subject: Re: Problem entering some IMAP groups
Date: 30 Aug 2000 20:16:08 +0200	[thread overview]
Message-ID: <iluitsivclz.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <87n1hu63i2.fsf@quicksilver.pacbell.net>

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




      reply	other threads:[~2000-08-30 18:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30 17:52 Bruce Z. Lysik
2000-08-30 18:16 ` Simon Josefsson [this message]

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=iluitsivclz.fsf@barbar.josefsson.org \
    --to=simon@josefsson.org \
    --cc=ding@gnus.org \
    /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).