From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: x-select-request-type Date: Sun, 18 Nov 2007 13:36:06 +0100 Message-ID: <474031B6.1040704@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195389404 13808 80.91.229.12 (18 Nov 2007 12:36:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 12:36:44 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 13:36:50 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItjOE-00053s-RY for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 13:36:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItjO1-0003c9-Iy for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 07:36:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItjNy-0003bo-Pc for emacs-devel@gnu.org; Sun, 18 Nov 2007 07:36:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItjNx-0003b7-E5 for emacs-devel@gnu.org; Sun, 18 Nov 2007 07:36:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItjNx-0003ay-7v for emacs-devel@gnu.org; Sun, 18 Nov 2007 07:36:25 -0500 Original-Received: from av9-2-sn2.hy.skanova.net ([81.228.8.180]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItjNt-0003pW-9H; Sun, 18 Nov 2007 07:36:21 -0500 Original-Received: by av9-2-sn2.hy.skanova.net (Postfix, from userid 502) id 3A1BA3833C; Sun, 18 Nov 2007 13:36:20 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av9-2-sn2.hy.skanova.net (Postfix) with ESMTP id 0589037EF6; Sun, 18 Nov 2007 13:36:20 +0100 (CET) Original-Received: from husetbladh.homeip.net (90-231-102-24-no59.tbcn.telia.com [90.231.102.24]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id C83A537E43; Sun, 18 Nov 2007 13:36:18 +0100 (CET) User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) In-Reply-To: X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83530 Archived-At: Kenichi Handa skrev: > In article , Eli Zaretskii writes: > >> The doc string of x-select-request-type says, among other things: >> If the value is nil, try `COMPOUND_TEXT' and `UTF8_STRING', and >> use the more appropriate result. If both fail, try `STRING', and >> then `TEXT'. > >> But the code only falls back on `STRING', I don't see it trying >> `TEXT'. Am I missing something, or do we need to fix the doc string? > > For emacs-unicode-2, I'm just now improving selection > handling, and the docstring of x-select-request-type will > become as this: > > ------------------------------------------------------------ > *Data type request for X selection. > The value is one of the following data types, a list of them, or nil: > `COMPOUND_TEXT', `UTF8_STRING', `STRING', `TEXT' > Should we not try UTF8_STRING first? Jan D.