[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rmail changes for Emacs 22
From: |
Kenichi Handa |
Subject: |
Re: Rmail changes for Emacs 22 |
Date: |
Wed, 23 Oct 2002 17:13:58 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> I said it should never *en*code. Obviously, it will have to decode
> somewhere on the way between the mbox file and the display.
> The question at hand is when and how to do the decoding.
I have not yet thought of it deeply, but it seems that we
have these options.
(1) A simple way:
Decode only when we need the contents of a message (e.g. for
displaying or searching).
This may be slow on searching all messages repeatedly.
Morioka-san's rmail-mime package is implemented by this way.
Actually, the current rmail code already contains necessary
code to implement it easily (see
rmail-XXX-mime-YYY-function).
(2) Another simple but memory consuming way:
Have a parallel decoded buffer that contains all messaages
decoded.
This may cause a memory shortage if RMAIL file is large,
(3) Not simple but efficient way:
Have a parallel decoded buffer but make it grow on demand.
(4) More efficient way:
Same as (3), but make rmail-backend not to keep the original
RMAIL file in a buffer. It read the file once, scan it and
keep file positions of all messages, then kill the buffer.
Later, on request, rmail-backend reads portion of the RMAIL
file one by one.
---
Ken'ichi HANDA
address@hidden
- Re: Rmail changes for Emacs 22, (continued)
- Re: Rmail changes for Emacs 22, Paul Michael Reilly, 2002/10/19
- Re: Rmail changes for Emacs 22, Richard Stallman, 2002/10/18
- Re: Rmail changes for Emacs 22, Stefan Monnier, 2002/10/20
- Re: Rmail changes for Emacs 22, Richard Stallman, 2002/10/21
- Re: Rmail changes for Emacs 22, Kai Großjohann, 2002/10/22
- Re: Rmail changes for Emacs 22, Eli Zaretskii, 2002/10/22
- Re: Rmail changes for Emacs 22, Stefan Monnier, 2002/10/22
- Re: Rmail changes for Emacs 22, Richard Stallman, 2002/10/23
- Re: Rmail changes for Emacs 22,
Kenichi Handa <=
- Re: Rmail changes for Emacs 22, Richard Stallman, 2002/10/25
- Re: Rmail changes for Emacs 22, Paul Michael Reilly, 2002/10/23
- Re: Rmail changes for Emacs 22, Eli Zaretskii, 2002/10/23
- Re: Rmail changes for Emacs 22, Stefan Monnier, 2002/10/24
- Re: Rmail changes for Emacs 22, Eli Zaretskii, 2002/10/24
- Re: Rmail changes for Emacs 22, Dave Love, 2002/10/21
- Re: Rmail changes for Emacs 22, Kai Großjohann, 2002/10/21
- Re: Rmail changes for Emacs 22, Stefan Monnier, 2002/10/21
- Re: Rmail changes for Emacs 22, Kai Großjohann, 2002/10/22
- Re: Rmail changes for Emacs 22, Kai Großjohann, 2002/10/22