unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Pasting texts into terminal emacs buffer
Date: Sun, 20 Sep 2020 14:14:15 -0400	[thread overview]
Message-ID: <jwvzh5k5ne3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: e8dedafd-cb5e-13e1-ded1-f1252e85e815@gmx.com

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

`M-[` is also known as the sequence of two bytes `ESC [`.

Many (probably most?) terminal escape sequences begin with this
sequence, so you're in for a lot of disappointment with this binding.
Pasting is just the tip of the iceberg.


        Stefan




  parent reply	other threads:[~2020-09-20 18:14 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-20  5:57 Pasting texts into terminal emacs buffer kevin shell
2020-09-20  6:14 ` Eli Zaretskii
2020-09-20 12:00   ` Kevin Shell
2020-09-20 12:11     ` Eli Zaretskii
2020-09-20 13:26       ` Kevin Shell
2020-09-20 13:54         ` Eli Zaretskii
2020-09-20 14:32           ` Kevin Shell
2020-09-20 14:37             ` Eli Zaretskii
2020-09-20 14:56               ` Kevin Shell
2020-09-20 15:49                 ` Eli Zaretskii
2020-09-22 10:00                   ` Kevin Shell
2020-09-20 18:14             ` Stefan Monnier [this message]
2020-09-20 16:38 ` Benjamín Buccianti
2020-09-21 15:00   ` Leo Butler
2020-09-21 18:38     ` Colin Baxter
2020-09-21 23:26       ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-22  6:21         ` Colin Baxter
2020-09-22  6:55           ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-09-24 15:26 ` Jean Louis

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=jwvzh5k5ne3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@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.
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).