unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gang Liang <randomizedthinking@gmail.com>
To: 38335@debbugs.gnu.org
Subject: bug#38335: Emacs term: bracketed paste not supported
Date: Fri, 22 Nov 2019 15:01:54 -0800	[thread overview]
Message-ID: <CACs1p2QGz_kMjP1UK8rEMogi_+rBTurJXaFdiUW7P7gVE_eWYA@mail.gmail.com> (raw)

Bracketed paste is well supported in emacs, yet not in the term
buffer. The reason I assume is that the terminal buffers need to be
processed differently that special escape sequences need to be sent to
the underlying process, so the program running inside a term buffer
can tell the difference between manual typing and pasting.

Steps to reproduce the issue:

1. M-x term
2. run python (or any program which differentiates typing from pasting)
3. paste some codes with indentation into the python
4. verify the indentation is messed up





             reply	other threads:[~2019-11-22 23:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-22 23:01 Gang Liang [this message]
2019-11-23 12:15 ` bug#38335: Emacs term: bracketed paste not supported Lars Ingebrigtsen
2020-05-03  1:13   ` Stefan Kangas

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=CACs1p2QGz_kMjP1UK8rEMogi_+rBTurJXaFdiUW7P7gVE_eWYA@mail.gmail.com \
    --to=randomizedthinking@gmail.com \
    --cc=38335@debbugs.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).