unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 20444@debbugs.gnu.org
Subject: bug#20444: paste error in emacs -nw
Date: Tue, 05 May 2015 22:41:17 -0400	[thread overview]
Message-ID: <jwvvbg6bg8k.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <75a8xjc08s.fsf@fencepost.gnu.org> (Glenn Morris's message of "Mon, 04 May 2015 20:54:27 -0400")

>> (lookup-key xterm-function-map "\e[200~")
> [xterm-paste]
[...]

Thanks, so xterm-function-map is fine.
The problem is that it's not properly added to input-decode-map for
some reason.

Could you try to add:

   (add-hook (quote terminal-init-xterm-hook)
             (lambda ()
               (message "t-i-x-h: %S"
                        (lookup-key input-decode-map
                                    "\e[200~"))))
   
   (advice-add (quote xterm-register-default-colors)
               :before
               (lambda (&rest _)
                 (message "x-r-d-c: %S"
                          (lookup-key input-decode-map
                                      "\e[200~"))))

to your ~/.emacs and then run "emacs -nw" (without the -Q), then check
the messages in *Messages*.


        Stefan





  reply	other threads:[~2015-05-06  2:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-27 20:18 bug#20444: paste error in emacs -nw Glenn Morris
2015-04-30 22:36 ` Stefan Monnier
2015-05-01 15:34   ` Glenn Morris
2015-05-04  1:28     ` Stefan Monnier
2015-05-04 17:09       ` Glenn Morris
2015-05-04 21:46         ` Stefan Monnier
2015-05-05  0:54           ` Glenn Morris
2015-05-06  2:41             ` Stefan Monnier [this message]
2015-05-06 18:46               ` Glenn Morris
2015-05-06 21:05                 ` Stefan Monnier
2015-05-07  2:03                   ` Glenn Morris
2015-05-08 22:34                     ` Stefan Monnier
2015-05-11  6:06                       ` Glenn Morris
2015-05-11 15:31                         ` Stefan Monnier
2015-05-11 17:19                           ` Glenn Morris
2015-05-11 20:36                             ` Stefan Monnier
2015-05-11 21:24                             ` Stefan Monnier

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=jwvvbg6bg8k.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=20444@debbugs.gnu.org \
    --cc=rgm@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).