From: Kenichi Handa <handa@m17n.org>
Cc: rms@gnu.org, emacs-devel@gnu.org, pmr@pajato.com
Subject: Re: Rmail changes for Emacs 22
Date: Wed, 16 Oct 2002 16:19:37 +0900 (JST) [thread overview]
Message-ID: <200210160719.QAA05776@etlken.m17n.org> (raw)
In-Reply-To: <Pine.SUN.3.91.1021016080428.20518C-100000@is> (message from Eli Zaretskii on Wed, 16 Oct 2002 08:09:02 +0200 (IST))
In article <Pine.SUN.3.91.1021016080428.20518C-100000@is>, Eli Zaretskii <eliz@is.elta.co.il> writes:
>> How will the mbox file encoding be treated?
>>
>> I don't know, and that is a good question. I did not work on that
>> aspect of Rmail before, and I am not sure what to do about it now.
>> We might want to save these files normally in emacs-mule encoding,
>> or maybe we would want to decode each message individually when
>> displaying it. pmr@pajato.com is the person doing it.
> If this aspect wasn't discussed before, it's probably a good idea to
> discuss that now.
> Personally, I think emacs-mule is not a good idea in this case, since
> mbox is not Emacs-private format, so some other software should be able
> to read it. A good alternative would be to encode each message as what
> the charset= header says (and add/fix such a header if there is none, or
> if the one that's there lies).
I agree with that approach. I think we can proceed the
modification of rmail in these steps.
(1) Divide the current code into BABYL format handler
(babyl-backend) and rmail user-interface provider
(rmail-frontend). Babyl-backend reads a BABYL file
without any code conversion in an unibyte buffer, and
provides various functions (e.g. extract message
headers, extract a specific message header, extract a
message body, get new messages, etc).
(2) Make mbox-backend that provides the same facilities as
babyl-backend.
(3) Make rmail-frontend to use babyl-backend or mbox-backend
depending on users mail file. Rmail-frontend displays a
message in a different buffer (rmail-view-buffer) than
the original mail file buffer. Rmail-frontend utilizes
MIME handler to decode message headers and body.
This way, we can easiy add more backends, for instance,
IMAP, per-message files (like MH or GNUS), etc.
---
Ken'ichi HANDA
handa@m17n.org
next prev parent reply other threads:[~2002-10-16 7:19 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <rzqu1jseva6.fsf@albion.dl.ac.uk>
2002-10-13 4:08 ` Rmail changes for Emacs 22 Richard Stallman
2002-10-15 17:40 ` Dave Love
2002-10-16 4:38 ` Richard Stallman
2002-10-16 6:09 ` Eli Zaretskii
2002-10-16 7:19 ` Kenichi Handa [this message]
2002-10-19 4:25 ` Paul Michael Reilly
2002-10-19 4:55 ` Richard Stallman
2002-10-20 7:03 ` Eli Zaretskii
2002-10-18 22:59 ` Richard Stallman
2002-10-20 19:40 ` Stefan Monnier
2002-10-22 3:12 ` Richard Stallman
2002-10-22 6:33 ` Kai Großjohann
2002-10-22 18:48 ` Eli Zaretskii
2002-10-22 14:32 ` Stefan Monnier
2002-10-23 7:12 ` Richard Stallman
2002-10-23 8:13 ` Kenichi Handa
2002-10-25 5:36 ` Richard Stallman
2002-10-23 9:57 ` Paul Michael Reilly
2002-10-23 16:58 ` Eli Zaretskii
2002-10-24 7:29 ` Stefan Monnier
2002-10-24 17:30 ` Eli Zaretskii
2002-10-21 15:33 ` Dave Love
2002-10-21 16:37 ` Kai Großjohann
2002-10-21 20:50 ` Stefan Monnier
2002-10-22 6:28 ` Kai Großjohann
2002-10-22 6:31 ` Kai Großjohann
2002-10-22 18:40 ` Eli Zaretskii
2002-10-23 5:24 ` Kai Großjohann
2002-10-16 12:21 ` Paul Michael Reilly
2002-10-19 4:56 ` Richard Stallman
2002-10-21 15:34 ` Dave Love
2002-10-22 16:36 ` Richard Stallman
2002-10-24 21:37 ` Dave Love
2002-10-16 4:38 ` Richard Stallman
2002-10-21 15:31 ` Dave Love
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200210160719.QAA05776@etlken.m17n.org \
--to=handa@m17n.org \
--cc=emacs-devel@gnu.org \
--cc=pmr@pajato.com \
--cc=rms@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).