Re: [Evolution] delete mail should move to trash



On 03 Jul 2001 09:42:12 -0400, Michael Leone wrote:

----- Original Message -----
From: "Mark Neill" <mark thisismyown com>
To: <evolution ximian com>
Sent: Tuesday, July 03, 2001 9:03 AM
Subject: Re: [Evolution] delete mail should move to trash




Check 'hide deleted mail' if you want this behaviour.

Doesn't this still leave the deleted mail in the folder it was deleted
from,
taking up space there instead of a separate "Trash" folder?

It would still take up the space - is there an "Expunge Trash on Exit"
option I've missed, or would it be difficult to add?

Yes, I realize. But it wouldn't be taking space in the folder it was deleted
from. With many deleted but not expunged mails in a particular folder, the
system has to go a longer distance to find the end of folder mailbox file,
to append any new incoming mail. (in the case of mbox filer, anyway). And
disk activity is always the slowest part of any program's work.

It's not like we have to parse the entire file everytime we append a
message, in fact - all we have to do is lseek() to the end of the file.

In the case of fetching a message, again, we lseek() to the point in the
file we want. We have all the offsets cached.

Btw, an lseek() isn't really all that slow.

Jeff




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]