Subject: Re: bug#6938: Emacs 24.0.50.1, wrong forced encoding in x-win.el?

From: Jan Djärv <[email-masked]>
Date: Sun, 29 Aug 2010 11:39:32 +0200

Andreas Röhler skrev 2010-08-29 09.43:
> GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-08-28
>
> Hi,
>
> hunting a bug which seems to occur around `kill-new',
>
> see the following bug-sourcing lines in
>
> x-win.el, line 1256
>
> ;; ICCCM says cut buffer always contain ISO-Latin-1
> (encode-coding-string text 'iso-latin-1))
>
> IMHO that recipe can't be valid yet.
>

It is. Remeber that cut buffers are deprecated and has been for a long time. 
Selections have replaced them.  If you look at the code in question, 
selections come after cut-buffer handling and there no translation takes 
place.  I don't think anybody would notice if Emacs removed all cut-buffer code.

	Jan D.