* some size calc error in pop3.el?
@ 2012-04-24 17:35 Sivaram Neelakantan
2012-04-24 17:39 ` Adam Sjøgren
2012-04-24 22:38 ` Katsumi Yamaoka
0 siblings, 2 replies; 4+ messages in thread
From: Sivaram Neelakantan @ 2012-04-24 17:35 UTC (permalink / raw)
To: ding
So, I was idly looking at the Messages buffer(yep, slow day) and see
this
Opening TLS connection to `pop.gmail.com'...done
pop3 retrieved 0KB (0%) [2 times]
pop3 retrieved 1KB (3%)
pop3 retrieved 5KB (13%)
pop3 retrieved 9KB (22%)
...
pop3 retrieved 42KB (103%)
Wrote c:/Documents and Settings/s/Application Data/Mail/sas-l/2440
Wrote c:/Documents and Settings/s/Application Data/Mail/sas-l/2441
What's with 103%? Shouldn't it be 100%? Just asking....
sivaram
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: some size calc error in pop3.el?
2012-04-24 17:35 some size calc error in pop3.el? Sivaram Neelakantan
@ 2012-04-24 17:39 ` Adam Sjøgren
2012-04-24 18:32 ` Sivaram Neelakantan
2012-04-24 22:38 ` Katsumi Yamaoka
1 sibling, 1 reply; 4+ messages in thread
From: Adam Sjøgren @ 2012-04-24 17:39 UTC (permalink / raw)
To: ding
On Tue, 24 Apr 2012 23:05:37 +0530, Sivaram wrote:
> pop3 retrieved 42KB (103%)
> What's with 103%? Shouldn't it be 100%? Just asking....
Maybe it was, ahem, enlargement spam?
:-),
Adam
--
"You have to photosynthesize" Adam Sjøgren
asjo@koldfront.dk
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: some size calc error in pop3.el?
2012-04-24 17:39 ` Adam Sjøgren
@ 2012-04-24 18:32 ` Sivaram Neelakantan
0 siblings, 0 replies; 4+ messages in thread
From: Sivaram Neelakantan @ 2012-04-24 18:32 UTC (permalink / raw)
To: ding
On Tue, Apr 24 2012,Adam Sjøgren wrote:
> On Tue, 24 Apr 2012 23:05:37 +0530, Sivaram wrote:
>
>> pop3 retrieved 42KB (103%)
>
>> What's with 103%? Shouldn't it be 100%? Just asking....
>
> Maybe it was, ahem, enlargement spam?
>
LOL, made me snort, good one that!
sivaram
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: some size calc error in pop3.el?
2012-04-24 17:35 some size calc error in pop3.el? Sivaram Neelakantan
2012-04-24 17:39 ` Adam Sjøgren
@ 2012-04-24 22:38 ` Katsumi Yamaoka
1 sibling, 0 replies; 4+ messages in thread
From: Katsumi Yamaoka @ 2012-04-24 22:38 UTC (permalink / raw)
To: ding
Sivaram Neelakantan wrote:
> What's with 103%? Shouldn't it be 100%? Just asking....
I found pop3.el counts the size of a process buffer that contains
not only mail data but also:
A response the server answers to the STAT command that pop3.el
issues, i.e., the number of mails and the total size.
plus
The end mark, i.e., ".<CR><LF>".
So, the size pop3.el counts is always larger than the real data
size. Since the difference is not so large, it is truncated into
less than 1% if mail data are large. But the case the percentage
exceeds 100% will arise when receiving a small mail. It might be
able to fix.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-24 22:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-24 17:35 some size calc error in pop3.el? Sivaram Neelakantan
2012-04-24 17:39 ` Adam Sjøgren
2012-04-24 18:32 ` Sivaram Neelakantan
2012-04-24 22:38 ` Katsumi Yamaoka
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).