From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.devel Subject: Re: cut-and-paste german quotes Date: Wed, 04 Aug 2004 07:19:28 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <200404290244.LAA27861@etlken.m17n.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1091596585 9550 80.91.224.253 (4 Aug 2004 05:16:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Aug 2004 05:16:25 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 04 07:16:18 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BsE8Q-0000b2-00 for ; Wed, 04 Aug 2004 07:16:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsEBt-00077w-Ka for ged-emacs-devel@m.gmane.org; Wed, 04 Aug 2004 01:19:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BsEBm-00077m-Nf for emacs-devel@gnu.org; Wed, 04 Aug 2004 01:19:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BsEBk-00077X-Tr for emacs-devel@gnu.org; Wed, 04 Aug 2004 01:19:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BsEBk-00077U-Q8 for emacs-devel@gnu.org; Wed, 04 Aug 2004 01:19:44 -0400 Original-Received: from [193.175.24.41] (helo=elvis.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BsE80-0006RR-17 for emacs-devel@gnu.org; Wed, 04 Aug 2004 01:15:52 -0400 Original-Received: from uucp by elvis.franken.de with local-rmail (Exim 3.36 #1) id 1BsE7x-0003fc-00; Wed, 04 Aug 2004 07:15:49 +0200 Original-Received: by tux.gnu.franken.de (Postfix, from userid 270) id EFCC0D63F9; Wed, 4 Aug 2004 07:19:28 +0200 (CEST) Original-To: Kenichi Handa In-Reply-To: <200404290244.LAA27861@etlken.m17n.org> (Kenichi Handa's message of "Thu, 29 Apr 2004 11:44:54 +0900 (JST)") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26175 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26175 Kenichi Handa writes: [...] >> It has double width: [...] > 0xd0c8 is a character of charset japanese-jisx0208. Emacs > by default requests a selection of type COMPOUND_TEXT. It > seems that xterm, on responding to it, encodes U+201C into a > character of japanese-jisx0208. It itself is not a bug > because that that character can be mapped to U+201C > according to glibc's charset mapping table. > > Please try this: > > (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING)) > > Then Emacs requests a selection of type UTF8_STRING at first. In the past I used this setting successfully. Unfortunately, it does not seem to catch all the other characters properly; e.g., the 'lower d wit= h a dash' in "Dindic" (simplified) as cut from http://de.wikipedia.org/wiki/Zoran_%C4%90in%C4%91i%C4%87 is too wide: Zoran =C3=90in=C4=91i=C4=87 Char: =C4=91 (0212242, 70818, 0x114a2, file ...) point=3D1406 of 2969 (47%)= column 13=20 But "Zoran =C4=90in=C4=91i=C4=87" is the version wanted: Char: =C4=91 (01210061, 331825, 0x51031, file ...) point=3D1506 of 3096 (49= %) column 14 What can I do to work around this problem? --=20 | ,__o | _-\_<, http://www.gnu.franken.de/ke/ | (*)/'(*)