[Top][All Lists]

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

Re: buffer-swap-text and multibyteness

From: Eli Zaretskii
Subject: Re: buffer-swap-text and multibyteness
Date: Sun, 01 Feb 2009 00:02:50 +0200

> X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,
>       FORGED_RCVD_HELO,SPF_SOFTFAIL autolearn=no version=3.1.0
> From: Stefan Monnier <address@hidden>
> Cc: address@hidden
> Date: Sat, 31 Jan 2009 16:28:59 -0500
> >> In tar-mode (and the way I imagine buffer-swap-text to be used),
> >> swapping the buffer is a rare operation that's basically only done
> >> when the the major mode changes.
> > In Rmail, we do it each time a new message is being displayed.
> Why???

Because each message needs to be decoded before it is shown.  The
decoded text goes to the rmail-view-buffer, and we then call
rmail-swap-buffers to show the decoded text in the rmail-buffer.  See
rmail-show-message for the gory details.

reply via email to

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