emacs-devel
[Top][All Lists]
Advanced

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

Re: Rmail-mbox branch


From: Eli Zaretskii
Subject: Re: Rmail-mbox branch
Date: Mon, 01 Sep 2008 22:19:03 +0300

> From: Evil Boris <address@hidden>
> Date: Mon, 01 Sep 2008 07:46:23 -0400
> 
> I guess in absense of such support (and hoping etach or equivalent will
> magically support mbox format :-), my main concern would be handling of
> different character sets (Unicode, ISO-8859-x, KOI8-R, are most popular)
> in plain text msgs, so that I can see the text without jumping through
> hoops.

I don't see why the mbox branch would support this any worse than the
trunk.  The decoding stuff is pretty much stable and well understood,
after so many releases.

> PS. Reading a multipart/alternative email with a text/plain component
> encoded in quoted-printable [in a non-latin-based character set] or
> base64 is currently a pain, as I have to detach and then play around
> with decoding the character set in the raw RMAIL file...

??? For me, it's as easy as

  . Type 'e' to make the message editable

  . Make region around the attachment

    . For base64-encoded attachments:

        M-x base64-decode-region RET

    . For quoted-printable: 

        M-: (mail-unquote-printable-region (mark) (point) nil nil t) RET

  . C-c (to exit rmail-edit)

  . M-x rmail-redecode-body RET CHARSET-NAME RET

where CHARSET-NAME is whatever appears in the charset= header of the
attachment, if different from US-ASCII.

(Of course, the above are just the primitives; wrapping them with a
single command is left as an exercise for the interested readers.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]