bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20444: paste error in emacs -nw


From: Stefan Monnier
Subject: bug#20444: paste error in emacs -nw
Date: Tue, 05 May 2015 22:41:17 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

>> (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 via email to

[Prev in Thread] Current Thread [Next in Thread]