emacs-devel
[Top][All Lists]
Advanced

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

Re: Different (buffer-file-)coding-systems for different regions of one


From: Kenichi Handa
Subject: Re: Different (buffer-file-)coding-systems for different regions of one buffer? (for Rmail MIME)
Date: Wed, 21 May 2003 11:43:09 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.2.92 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, stktrc <address@hidden> writes:
> Is it possible to have different (buffer-file-)coding-systems for
> different regions of one buffer?

As buffer-file-coding-system is a coding system to use on
writing a buffer to a file, I think it's nonsense to have
different values in different regions.

> Why?  Trying to find a way of making Rmail handle MIME messages nicely
> (without modifying the underlying file or corresponding buffer by
> replacing the encoded data with decoded data, in place).

> The idea would be to let the region of each body part have a
> coding-system that makes the encoded text readable in Emacs.

I don't understand how buffer-file-coding-system is related
to that.  And, I think it's impossible to handle MIME
messages nicely without replacing the encoded data with
decoded data in some buffer.  Just displaying it may be
possible, but search/cut&paste etc. are impossible.

So, we have to decode the RMAIL buffer itself, or create a
separate view buffer that contains decoded text (as done by
Gnus).

---
Ken'ichi HANDA
address@hidden




reply via email to

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