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

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

Re: Pasting texts into terminal emacs buffer


From: Kevin Shell
Subject: Re: Pasting texts into terminal emacs buffer
Date: Sun, 20 Sep 2020 22:56:45 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.2


Eli Zaretskii 於 2020/9/20 22:37 寫道:
From: Kevin Shell <kshell@gmx.com>
Date: Sun, 20 Sep 2020 22:32:59 +0800

Does it mean site config file cause this issue?(global-set-key (kbd "M-[") 
'scroll-down-line)
Either the site config, or one of your customizations, yes.

Hello again.

I have found the issue.

The problem is my config line:

   (global-set-key (kbd "M-[") 'scroll-down-line)

but I don't understand why it relates to texts pasting?
Pasting text on a text-mode terminal sends escape sequences to the
terminal, which are interpreted by the terminal emulator.
What escape sequuences are sent?
Your
binding "steals" the beginning of the escape sequence (recall that the
ESC key acts as the Meta modifier on a TTY), so the paste command is
not seen by the emulator.

I have changed binding now。Pasting is now working.

I'm so unlucky。😥





reply via email to

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