unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@ni.aist.go.jp>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: x-select-request-type
Date: Sun, 18 Nov 2007 20:22:50 +0900	[thread overview]
Message-ID: <E1ItiEk-0001fh-15@etlken.m17n.org> (raw)
In-Reply-To: <ufxz5cg24.fsf@gnu.org> (message from Eli Zaretskii on Sat, 17 Nov 2007 12:38:43 +0200)

In article <ufxz5cg24.fsf@gnu.org>, Eli Zaretskii <eliz@gnu.org> 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
handa@ni.aist.go.jp

  parent reply	other threads:[~2007-11-18 11:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-17 10:38 x-select-request-type Eli Zaretskii
2007-11-17 15:10 ` x-select-request-type Jan Djärv
2007-11-18 11:22 ` Kenichi Handa [this message]
2007-11-18 12:36   ` x-select-request-type Jan Djärv
2007-11-19  2:14     ` x-select-request-type Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1ItiEk-0001fh-15@etlken.m17n.org \
    --to=handa@ni.aist.go.jp \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).