From: Lloyd Zusman <ljz@asfast.com>
Subject: Altered patch for nnimap.
Date: 22 Jul 2000 12:14:31 -0400 [thread overview]
Message-ID: <ltaefagn14.fsf@asfast.com> (raw)
On and off over the past few months I've been having problems using
`nnimap': the message count wasn't getting updated in my `nnimap'
groups when I'd type `g' in the Groups buffer (i.e.,
`gnus-group-get-new-news'). I originally thought that this was solely
a function of the fact that I was using the University of Washington
imap software on my machine, but recently I converted to Courier imap,
with the same incorrect behavior.
A few weeks ago, Simon Josefsson sent me a suggested patch which was
hoped to be a fix for this problem. Unfortunately, that patch didn't
work, but when I altered the patch to apply his changes to a different
function within `nnimap.el' than they were orginally applied to, then
things began to work correctly for me ... and with both the UoW and
Courier imap software, I'd like to add.
I then sent Mr. Josefsson my altered patch and this discussion in two
private emails about a week apart, but for some reason, either my
emails to him or his replies never made it. Therefore, I'm posting
the altered patch here (below).
Comments?
*** nnimap.el- Mon Jul 17 22:02:53 2000
--- nnimap.el Mon Jul 17 22:46:40 2000
***************
*** 331,338 ****
--- 331,342 ----
(defun nnimap-find-minmax-uid (group &optional examine)
"Find lowest and highest active article nummber in GROUP.
If EXAMINE is non-nil the group is selected read-only."
(with-current-buffer nnimap-server-buffer
+ ;; XXX this `or' is for UoW imapd problem, it doesn't notice
+ ;; new mail in currently selected mailbox without a re-select/examine.
+ (or (null (imap-current-mailbox nnimap-server-buffer))
+ (imap-mailbox-unselect nnimap-server-buffer))
(when (imap-mailbox-select group examine)
(let (minuid maxuid)
(when (> (imap-mailbox-get 'exists) 0)
(imap-fetch "1,*" "UID" nil 'nouidfetch)
--
Lloyd Zusman
ljz@asfast.com
reply other threads:[~2000-07-22 16:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=ltaefagn14.fsf@asfast.com \
--to=ljz@asfast.com \
/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).