From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help Subject: UTF8_STRING vs. COMPOUND_TEXT Date: Tue, 11 Jan 2011 15:29:18 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1294752609 18928 80.91.229.12 (11 Jan 2011 13:30:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 13:30:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 11 14:30:05 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PceIX-00021W-Al for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 14:30:05 +0100 Original-Received: from localhost ([127.0.0.1]:58849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PceIR-0008V8-Im for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Jan 2011 08:29:59 -0500 Original-Received: from [140.186.70.92] (port=57063 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PceI2-0008T9-0C for help-gnu-emacs@gnu.org; Tue, 11 Jan 2011 08:29:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PceI0-0008RW-DL for help-gnu-emacs@gnu.org; Tue, 11 Jan 2011 08:29:33 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:39818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PceI0-0008RC-4d for help-gnu-emacs@gnu.org; Tue, 11 Jan 2011 08:29:32 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PceHy-0001pl-Ni for help-gnu-emacs@gnu.org; Tue, 11 Jan 2011 14:29:30 +0100 Original-Received: from 91.193.68.214 ([91.193.68.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2011 14:29:30 +0100 Original-Received: from gavenko by 91.193.68.214 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Jan 2011 14:29:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.193.68.214 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78388 Archived-At: When I use Debian Etch/Lenny with fvwm I use: (when (equal window-system 'x) (progn (prefer-coding-system 'utf-8-unix) (setq selection-coding-system 'compound-text-with-extensions) (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) (modify-coding-system-alist 'process ".*" 'utf-8-unix) )) to allow properly put text from clipboard to Emacs. When I give my .emacs to my friend with Ubuntu 10.10 and GNOME he report trouble with paste to Emacs. To fix I just remove 'UTF8_STRING': (setq x-select-request-type '(COMPOUND_TEXT TEXT STRING)) WTF: COMPOUND_TEXT. It make me mad many times. How I can know which encoding used by X Window? On which this depend?