From: Simon Josefsson <simon@josefsson.org>
Cc: Jake Colman <colman@ppllc.com>, ding@gnus.org
Subject: Re: Imap Problem
Date: 02 Jun 2001 01:24:42 +0200 [thread overview]
Message-ID: <iluu21zol4o.fsf@barbar.josefsson.org> (raw)
In-Reply-To: <ypk4ru0w6c2.fsf@spip.netinsight.se> (Mats Lidell's message of "01 Jun 2001 17:46:53 +0200")
Mats Lidell <Mats.Lidell@contactor.se> writes:
> OK. To be complete. Here is how it looks when it failes.
Thanks (to both of you) for your very detailed bug report!
A guess would be that this is the same bug as nntp.el has been
including a workaround for:
(nntp-accept-response)
;; On some Emacs versions the preceding function has a
;; tendency to change the buffer. Perhaps. It's quite
;; difficult to reproduce, because it only seems to happen
;; once in a blue moon.
It might be `accept-process-output' causing this. Does the attached
patch do anything useful?
Index: imap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/imap.el,v
retrieving revision 6.6
diff -u -u -w -r6.6 imap.el
--- imap.el 2001/04/16 00:00:45 6.6
+++ imap.el 2001/05/31 23:21:52
@@ -480,6 +480,7 @@
"^\\(Authenticat.*\\)" nil t))
(setq response (match-string 1)))))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
@@ -539,6 +540,7 @@
"^\\(Authenticat.*\\)" nil t)
(setq response (match-string 1)))))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
@@ -586,6 +588,7 @@
(forward-line -1)
(not (imap-parse-greeting)))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
@@ -616,6 +619,7 @@
(goto-char (point-min))
(not (imap-parse-greeting)))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
@@ -652,6 +656,7 @@
(goto-char (point-min))
(not (imap-parse-greeting)))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
@@ -689,6 +694,7 @@
(goto-char (point-min))
(not (imap-parse-greeting)))
(accept-process-output process 1)
+ (set-buffer buffer) ;; XXX "blue moon" nntp.el bug
(sit-for 1))
(and imap-log
(with-current-buffer (get-buffer-create imap-log)
next prev parent reply other threads:[~2001-06-01 23:24 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 23:55 Jake Colman
2001-06-01 6:41 ` Kai Großjohann
2001-06-01 15:52 ` Jake Colman
2001-06-01 7:00 ` Mats Lidell
2001-06-01 13:22 ` Jake Colman
2001-06-01 15:01 ` Kai Großjohann
2001-06-01 16:00 ` Jake Colman
2001-06-01 15:46 ` Mats Lidell
2001-06-01 16:09 ` Jake Colman
2001-06-01 18:04 ` Jake Colman
2001-06-01 23:24 ` Simon Josefsson [this message]
2001-06-02 20:03 ` Mats Lidell
2001-06-02 20:13 ` Mats Lidell
2001-06-02 21:05 ` Simon Josefsson
2001-06-04 15:21 ` Jake Colman
2001-06-05 18:10 ` Simon Josefsson
2001-06-04 16:06 ` Jake Colman
2001-06-04 16:18 ` Jake Colman
2001-06-05 8:34 ` Mats Lidell
2001-06-05 14:58 ` Nevin Kapur
2001-06-05 15:20 ` Jake Colman
2001-06-05 18:20 ` Simon Josefsson
2001-06-05 19:06 ` Jake Colman
2001-06-05 19:39 ` Simon Josefsson
2001-06-05 23:20 ` Jake Colman
2001-06-05 23:56 ` Mats Lidell
2001-06-05 18:19 ` Simon Josefsson
2001-06-05 19:07 ` Jake Colman
2004-10-07 11:36 imap problem walter.franzini-M4bTUdDEyImonA0d6jMUrA
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=iluu21zol4o.fsf@barbar.josefsson.org \
--to=simon@josefsson.org \
--cc=colman@ppllc.com \
--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).