🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #695

vm-pop-move-mail and vm-imap-move-mail confirmation message

#695
From: Kevin Rodgers
Date: Fri, 23 Jan 2004 18:19
53 lines
2547 bytes
When VM retrieves a large message from my POP server, it prints a series
of messages like this:

	Retrieving message 7 (of 9) from kevinr@pop1, 1234 of 567890...

But it never seems to print a final message confirming that the entire
message has been retrieved:

	Retrieving message 7 (of 9) from kevinr@pop1, 567890 of 567890...

I think the easiest way to give me the warm and fuzzy feeling I want is
to provide the conventional companion for the initial "Retrieving message
7 (of 9) from kevinr@pop1..." message:

	Retrieving message 7 (of 9) from kevinr@pop1...done

Here's a patch to add that for POP and IMAP servers:

*** vm-7.18/vm-pop.el.orig	Sat May 10 20:52:46 2003
--- vm-7.18/vm-pop.el	Fri Jan 23 10:37:05 2004
***************
*** 165,170 ****
--- 165,172 ----
   		(and (null (vm-pop-retrieve-to-target process destination
   		 
			      statblob))
   		     (throw 'done (not (equal retrieved 0))))
+ 		(message "Retrieving message %d (of %d) from %s...done"
+ 	 
	 n mailbox-count popdrop)
   		(vm-increment retrieved)
   		(and b-per-session
   		     (setq retrieved-bytes (+ retrieved-bytes message-size)))

*** vm-7.18/vm-imap.el.orig	Fri May 30 13:52:51 2003
--- vm-7.18/vm-imap.el	Fri Jan 23 11:15:31 2004
***************
*** 193,198 ****
--- 193,200 ----
   		 
		      "FETCH %d (RFC822.PEEK)" n))
   		       (vm-imap-retrieve-to-target process destination
   		 
			   statblob nil)))
+ 		(message "Retrieving message %d (of %d) from %s...done"
+ 	 
	 n mailbox-count imapdrop)
   		(vm-increment retrieved)
   		(and b-per-session
   		     (setq retrieved-bytes (+ retrieved-bytes message-size)))

-- 
Kevin Rodgers
Technical Details
Message-ID: <4011659B.7040707@yahoo.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,79294165cbb6c7e2,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2004-01-23 10:19:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail
From: Kevin Rodgers <ihs_4664@yahoo.com>
Newsgroups: gnu.emacs.vm.bug
Subject: vm-pop-move-mail and vm-imap-move-mail confirmation message
Date: Fri, 23 Jan 2004 11:19:07 -0700
Lines: 54
Message-ID: <4011659B.7040707@yahoo.com>
NNTP-Posting-Host: 170.207.51.80
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1074881941 22251479 170.207.51.80 ([82742])
User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2
X-Accept-Language: en-us