Bug#312718: xterm pasting of 8-bit characters from X clipboard interacts poorly with emacs
On Thu, Jun 09, 2005 at 07:53:05PM -0400, Thomas Dickey wrote:
> On Thu, Jun 09, 2005 at 10:30:34PM +0200, Frederik Eaton wrote:
> > Package: xterm
> > Version: 4.3.0.dfsg.1-13
> > Severity: normal
> >
> > Often when I paste text from a web browser or PDF document into my
> > terminal, and the terminal is running an 'emacs' process, the
> > clipboard text contains special characters which are interpreted as
> > control-key or meta-key commands by emacs. For instance, a bullet
> > character from xpdf turns into M-b, "backward-word". Obviously, this
>
> That depends. There's a lot of information here, but not necessarily
> what's needed. You're reporting against xterm, but using a UTF-8 locale.
>
> Is xterm setup to run in that locale?
> (normally one would use uxterm)
>
> Is emacs also setup to run in that locale?
>
> What is the code for a "bullet" character?
>
> What is actually pasted?
Huh. I guess I'd thought that reproducing wouldn't be a problem.
- When I run
perl -le 'print "\x{c2}\x{b7}"'
I get a bullet. When I paste an xpdf bullet into hexdump it is the
same byte sequence.
- I tried running emacs in uxterm, same results.
- Emacs thinks that the bullet is M-b M-7.
Thanks,
Frederik
Reply to: