all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: kaloian@gnu.org, 6802@debbugs.gnu.org
Subject: bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to	unicode	escapes
Date: Mon, 09 Aug 2010 19:26:39 +0200	[thread overview]
Message-ID: <4C603A4F.20006@swipnet.se> (raw)
In-Reply-To: <83wrrzvj74.fsf@gnu.org>



Eli Zaretskii skrev 2010-08-09 18.34:

> Why does x-get-selection default to 'STRING?  Is that sensible
> behavior?
>
>> -  (let ((primary (x-get-selection 'PRIMARY)))
>> +  (let ((primary (x-get-selection 'PRIMARY 'TEXT)))
>
> Would it make sense to have x-get-selection default to 'TEXT instead?

TEXT can be in any encoding which can make it diffcult.  Nowdays I think the 
default should be UTF8_STRING, and if that fails, try TEXT and then STRING.

But I think the application should not offer STRING (which implies Latin-1) if 
the data isn't in latin-1.

	Jan D.





  reply	other threads:[~2010-08-09 17:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-05 13:56 bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes Kaloian Doganov
2010-08-09  1:46 ` David De La Harpe Golden
2010-08-09  2:57 ` Kenichi Handa
2010-08-09 14:06   ` bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicodeescapes Drew Adams
2010-08-09 16:34   ` bug#6802: 24.0.50; Yanking non-ASCII text from other X application leads to unicode escapes Eli Zaretskii
2010-08-09 17:26     ` Jan Djärv [this message]
2010-08-10  2:29       ` Kenichi Handa
2010-08-10  6:15         ` Jan D.
2010-10-28 12:10           ` Štěpán Němec
2010-10-29  2:18             ` Kenichi Handa
2010-10-31  0:38               ` David De La Harpe Golden
2010-10-31 16:05                 ` Jan Djärv
2010-11-05 11:58                   ` 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

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

  git send-email \
    --in-reply-to=4C603A4F.20006@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=6802@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=kaloian@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.