Gnus development mailing list
 help / color / mirror / Atom feed
From: Nevin Kapur <nevin@jhu.edu>
Subject: [PATCH] Re: nnimap: error/warning while trying to quit group
Date: Mon, 16 Sep 2002 11:39:55 -0400	[thread overview]
Message-ID: <m3ptve9c50.fsf@fermat.mts.jhu.edu> (raw)
In-Reply-To: <m365x6avl2.fsf@fermat.mts.jhu.edu>

Nevin Kapur <nevin@jhu.edu> writes:

> Since updating this morning (last update was last Monday) I get the
> following error when quitting a group:
>
> (5) (error/warning) Error in process filter: (error Internal error,
>     tag 598 status BAD code nil text Bogus criteria list in UID
>     SEARCH)

The following patch fixes this for me.  I'm not sure if this is the
"right" thing to do.  Would someone review it and apply it if
appropriate?

2002-09-16  Nevin Kapur <nevin@jhu.edu>

	* nnimap.el (nnimap-request-expire-articles): Don't call
	nnimap-expiry-target unless needed.

Index: nnimap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnimap.el,v
retrieving revision 6.39
diff -u -r6.39 nnimap.el
--- nnimap.el	2002/09/11 08:13:03	6.39
+++ nnimap.el	2002/09/16 16:14:52
@@ -1337,7 +1337,8 @@
 					 (nnimap-date-days-ago days))))
 		       (imap-fetch-data-hook
 			'(nnimap-request-expire-articles-progress)))
-		   (nnimap-expiry-target oldarts group server)
+		   (when oldarts
+		     (nnimap-expiry-target oldarts group server))
 		   (and oldarts
 			(imap-message-flags-add
 			 (imap-range-to-message-set

-Nevin




  reply	other threads:[~2002-09-16 15:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-16 13:54 Nevin Kapur
2002-09-16 15:39 ` Nevin Kapur [this message]
2002-09-17 10:26   ` [PATCH] " Simon Josefsson
2002-09-17 20:31     ` Nevin Kapur
2002-09-18  9:53       ` Simon Josefsson

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=m3ptve9c50.fsf@fermat.mts.jhu.edu \
    --to=nevin@jhu.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).