From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Gang Liang Newsgroups: gmane.emacs.bugs Subject: bug#38335: Emacs term: bracketed paste not supported Date: Fri, 22 Nov 2019 15:01:54 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="245350"; mail-complaints-to="usenet@blaine.gmane.org" To: 38335@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 23 00:07:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iYI1G-0011db-3h for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Nov 2019 00:07:18 +0100 Original-Received: from localhost ([::1]:55406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYI1E-0007BF-A9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Nov 2019 18:07:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47637) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYI16-0007Ax-ES for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:07:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYI14-0006Rd-Lw for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:07:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46872) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYI12-0006Qm-PZ for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:07:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iYI12-00074p-JV for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:07:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gang Liang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Nov 2019 23:07:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38335 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157446401827189 (code B ref -1); Fri, 22 Nov 2019 23:07:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Nov 2019 23:06:58 +0000 Original-Received: from localhost ([127.0.0.1]:55693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYI0u-00074S-Ry for submit@debbugs.gnu.org; Fri, 22 Nov 2019 18:06:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iYHwW-0006y6-Mh for submit@debbugs.gnu.org; Fri, 22 Nov 2019 18:02:24 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47143) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYHwV-00060r-Kr for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:02:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYHwU-0004vB-Pg for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:02:23 -0500 Original-Received: from mail-ot1-x343.google.com ([2607:f8b0:4864:20::343]:33645) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYHwU-0004uk-LN for bug-gnu-emacs@gnu.org; Fri, 22 Nov 2019 18:02:22 -0500 Original-Received: by mail-ot1-x343.google.com with SMTP id q23so1792963otn.0 for ; Fri, 22 Nov 2019 15:02:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ig1JMBsdyItPx/Uh9mm8R+RovCmfsYNXNOLgzxG5OG0=; b=cq6FfXXnxOX5ybsLqp1re7KtyJBO1lmRfoSJlHVpqHAhyF+1d1+Chonv5TCChqOQMe 0HrdUPYcLXPmiDc6E8N8sS43Hg4KGWJq5Xs0Pv7ds6zJQWeEmMlA+AJL7Aa+4K5HGqer C2xalDnxnEgDRhGSLmROOlP2OxnRIPFAwjSo7Xa+8PWTShNb1HTuGK6GOjWfBDzC4Qp1 iaAb5av4tli8+RaqobtDy4BoSucTNFbe0f8WE0UALDQQtkpjz0Tbnhh9gPra2pXLf+xQ /QYd2KgSW7RJIaqKQVGNgZHa/YgzXL6kLZDYIzH39qbJVXn4NK3KUBSUPLy8og94EEo2 qGhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ig1JMBsdyItPx/Uh9mm8R+RovCmfsYNXNOLgzxG5OG0=; b=augAJ4WlwibXiyj182v7gSK2iZWcHraPgwtcxETYY1Inn4KIce0E8B4FIoIznU/s8B 9JNI53TWlxXYo+UmocW5ocG4+8BaVUsL4ME88qaWsguWJrNyhZ1/lfFku/CKIlLtSmo7 D+cNu/DMFbodlrfE/4bzzZnpv4VyOvCbFXJpVyZOMZ6Mj1beY4WovUMWiBtnKxHNL9Gt hx0xgQI5Re3EN76jouQT/KGiCjDOvJ/r+X8PlLoT4jWEC/ZXrR9LVayY2cmK01/9YyOv YVVfWUQTuiu4/+5vNJzz3+pdgIb2P2vY4121rEbU7X8qSFRniTw1U31rOiWccqLOn7Mm l2NQ== X-Gm-Message-State: APjAAAX2R8L8G/2zSBycJUZDmZsikXdzEwLS6/7eWQ6c28xWowZ5o3V8 nLFrqc5mC9RjcYyOARuMRlFSmKZP96nUF4M1jyvgMj6k X-Google-Smtp-Source: APXvYqxgFTrn37DWfM4zZJiY55OUCNNDz6Ddv033QQl0IWQIItAXQPKjfEadp9632M0qdcGep2tghKya/ilF5Xd6A8I= X-Received: by 2002:a05:6830:110e:: with SMTP id w14mr12152051otq.137.1574463738063; Fri, 22 Nov 2019 15:02:18 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Fri, 22 Nov 2019 18:06:55 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172266 Archived-At: 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