emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacs-unicode-2: copy & paste problem of non standard encoding ctext


From: Zhang Wei
Subject: Re: emacs-unicode-2: copy & paste problem of non standard encoding ctext
Date: Tue, 28 Feb 2006 10:32:23 +0800
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Kenichi Handa <address@hidden> writes:

>> 2, apply the patch below.
>
> I don't understand why you need it because the default value
> of selection-coding-system is compound-text-with-extensions,
> and thus the patch won't change the behavior.

Yes, the default value of selection-coding-system is
compound-text-with-extensions, but if I set selection coding system to
chinese-gbk, the coming in "compound text" is directly decoded by
chinese-gbk, and `ctext-post-read-conversion' is bypassed, so the "/2
gbk-0" con't be removed and polluted the emacs buffer.

If I don't set selection coding system to chinese-gbk, things turned
around, I can paste to emacs, but the coming out "compound text" is
not encoded properly, so crxvt-gb can't read them.




reply via email to

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