unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mike FABIAN <mfabian@redhat.com>
Cc: 20906@debbugs.gnu.org
Subject: bug#20906: 25.0.50;
Date: Mon, 05 Oct 2015 14:39:09 +0300	[thread overview]
Message-ID: <83k2r1zgrm.fsf@gnu.org> (raw)
In-Reply-To: <s9dfv1pimso.fsf@ari.site>

> From: Mike FABIAN <mfabian@redhat.com>
> Cc: 20906@debbugs.gnu.org
> Date: Mon, 05 Oct 2015 13:20:55 +0200
> 
> > What is the value of 'property', btw?
> 
> (gdb) p	property
> $2 = 602

Can you look in the X headers what that means?  IOW, what is the
symbolic name of this value?

> > Could it be that some agent unrelated to Emacs produces these strings?
> > Maybe the selection owner itself (Firefox, right?)?
> 
> And rxvt-unicode.
> 
> > Do other X programs work OK with pasting from the primary selection
> > via the mouse?
> 
> No.
> 
> Pasting from gedit, gnome-terminal, ... (probably all gtk3 programs)
> behaves the same way as pasting from firefox (Stuff like
> \u6708\u66dc\u65e5 is inserted).

Sounds like a problem unrelated to Emacs directly.

We could, of course, "decode" these escapes "by hand" in select.el.
But it would be better to understand what causes this "translation" in
the first place.

Does this happen for any characters above u+007F?  If not, at which
codepoint does this start happening?

> When pasting from xterm, I get only question marks for the non-ASCII
> characters. Even worse.

Can you look at the original data in xselect.c in that case?  Does it
already include the question marks?





  reply	other threads:[~2015-10-05 11:39 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26 20:35 bug#20906: 25.0.50; Pasting unicode from external applications with mouse wheel on Unix Boris Kheyfets
2015-06-26 21:37 ` Kaushal
2015-06-26 21:41   ` Boris Kheyfets
2015-06-27  7:27     ` Eli Zaretskii
2015-06-27  7:58       ` Boris Kheyfets
2015-06-27  8:12         ` Eli Zaretskii
     [not found]           ` <CADVzOS83fAf1na7ThotyD3mGOJak-U=ZayhGd=cC3=xT2JZuKQ@mail.gmail.com>
2015-06-27  8:33             ` Eli Zaretskii
2015-06-27  8:34             ` Eli Zaretskii
2015-06-27 10:02               ` Boris Kheyfets
2015-06-27 11:44                 ` Eli Zaretskii
2015-10-03 13:15 ` bug#20906: 25.0.50; Mike FABIAN
2015-10-03 14:00   ` Eli Zaretskii
2015-10-05  4:34     ` Mike FABIAN
2015-10-05  6:21       ` Eli Zaretskii
2015-10-05  6:30         ` Mike FABIAN
2015-10-05  7:06           ` Eli Zaretskii
2015-10-05 10:07             ` Mike FABIAN
2015-10-05 10:29               ` Eli Zaretskii
2015-10-05 11:20                 ` Mike FABIAN
2015-10-05 11:39                   ` Eli Zaretskii [this message]
2015-10-05 12:04                     ` Andreas Schwab
2015-10-05 12:30                       ` Eli Zaretskii
2015-10-05 15:08                         ` Mike FABIAN
2015-10-05 17:06                           ` Eli Zaretskii
2015-10-06  6:30                             ` Mike FABIAN
2015-10-06 16:29                               ` Eli Zaretskii
2015-10-06 19:44                                 ` Mike FABIAN
2015-10-07  6:35                                   ` Mike FABIAN
2015-10-07 15:33                                     ` Eli Zaretskii
2015-10-08  8:10                                       ` Mike FABIAN
2015-10-08 13:15                                 ` Mike FABIAN
2015-10-08 13:25                                   ` Mike FABIAN
2015-10-08 14:02                                   ` Andreas Schwab
2015-10-08 14:58                                     ` Eli Zaretskii
2015-10-08 15:08                                       ` Andreas Schwab
2015-10-08 15:15                                         ` Eli Zaretskii
2015-10-08 15:33                                           ` Andreas Schwab
2015-10-08 15:42                                             ` Eli Zaretskii
2015-10-08 16:56                                               ` Mike FABIAN
2015-10-09 15:34                                                 ` Mike FABIAN
2015-10-12  8:39                                                   ` Andreas Schwab
2015-10-12 12:20                                                     ` Mike FABIAN
2015-10-12 15:56                                                       ` Eli Zaretskii
2015-10-05 14:24                       ` Mike FABIAN
2015-10-05 14:55                     ` Mike FABIAN
2015-10-05 15:01                     ` Mike FABIAN
2015-10-05 15:05                     ` Mike FABIAN
2015-10-05 17:05                       ` Eli Zaretskii

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=83k2r1zgrm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=20906@debbugs.gnu.org \
    --cc=mfabian@redhat.com \
    /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).