emacs-devel
[Top][All Lists]
Advanced

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

Re: x-select-request-type


From: Kenichi Handa
Subject: Re: x-select-request-type
Date: Sun, 18 Nov 2007 20:22:50 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, Eli Zaretskii <address@hidden> 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'

If the value is one of the above symbols, try only the specified
type.

If the value is a list of them, try each of them in the specified
order until succeed.

The value nil is the same as the list:
  (UTF8_STRING COMPOUND_TEXT STRING)
------------------------------------------------------------

---
Kenichi Handa
address@hidden




reply via email to

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