Gnus development mailing list
 help / color / mirror / Atom feed
From: dme@dme.org
Subject: more information during IMAP downloads
Date: 22 Nov 2000 09:37:01 +0000	[thread overview]
Message-ID: <873dgke4aq.fsf@serafina-pekkala.dme.org> (raw)

A small change to imap-wait-for-tag generates (to me) useful
information during more lengthy article downloads (sometimes I
retrieve multi-megabyte messages over a 64k link).

It is similar to code in nntp.el, but it seems as though management of
the message output could perhaps be better.

Comments ?

Index: imap.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/imap.el,v
retrieving revision 6.1
diff -c -r6.1 imap.el
*** imap.el	2000/10/28 17:59:27	6.1
--- imap.el	2000/11/22 08:36:16
***************
*** 1595,1601 ****
  		(< imap-reached-tag tag))
        (or (and (not (memq (process-status imap-process) '(open run)))
  	       (sit-for 1))
! 	  (accept-process-output imap-process 1)))
      (or (assq tag imap-failed-tags)
  	(if imap-continuation
  	    'INCOMPLETE
--- 1595,1605 ----
  		(< imap-reached-tag tag))
        (or (and (not (memq (process-status imap-process) '(open run)))
  	       (sit-for 1))
! 	  (let ((len (/ (point-max) 1024)))
! 	    (unless (< len 10)
! 	      (message "imap read: %dk" len))
! 	    (accept-process-output imap-process 1))))
!     (message "")
      (or (assq tag imap-failed-tags)
  	(if imap-continuation
  	    'INCOMPLETE

dme.



             reply	other threads:[~2000-11-22  9:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-22  9:37 dme [this message]
2000-11-22 11:18 ` 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=873dgke4aq.fsf@serafina-pekkala.dme.org \
    --to=dme@dme.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).