emacs-devel
[Top][All Lists]
Advanced

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

Re: buffer-swap-text and multibyteness


From: Stefan Monnier
Subject: Re: buffer-swap-text and multibyteness
Date: Tue, 10 Feb 2009 16:57:26 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)

>> >> In my poiunt of view, the way "edit" should work is that it should
>> >> basically be put into `message-mode' and then "saving" would simply
>> >> encode the whole message (as if preparing to send it).
>> > I'm not sure this isn't an overkill.
>> 
>> Not sure why you'd think so.

> When did you last look at the code you were describing?  It does a lot
> more then just encode the message and add/rewrite the Content-Type
> headers.

But... why do you think this "a lot more" is not needed/useful in the
case of rmailedit?

> We don't, but IIRC the code each of these places has is tightly
> coupled with other package-specific processing.  If we want a single
> general-purpose one, we need first to refactor it.  Again, please take
> a look at each of these packages.

Yes, I'm aware of this problem.  Some refactoring will be needed.
But such a refactoring would be a good thing.  Whereas adding another
implementation would just not benefit anyone else.


        Stefan




reply via email to

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