From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#38335: Emacs term: bracketed paste not supported Date: Sun, 03 May 2020 03:13:55 +0200 Message-ID: <87o8r53jn0.fsf@stefankangas.se> References: <87eexypz42.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68501"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Gang Liang , 38335-done@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 03 03:15:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jV3E0-000HhS-0m for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 May 2020 03:15:20 +0200 Original-Received: from localhost ([::1]:43750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jV3Dz-0001Oz-1V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 May 2020 21:15:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jV3Dk-0001O2-NU for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:15:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jV3Di-0006qf-8m for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:15:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jV3Dh-0006pY-Qz for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jV3Dh-0006xo-MH for bug-gnu-emacs@gnu.org; Sat, 02 May 2020 21:15:01 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 May 2020 01:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 38335 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Mail-Followup-To: 38335@debbugs.gnu.org, stefan@marxist.se, randomizedthinking@gmail.com Original-Received: via spool by 38335-done@debbugs.gnu.org id=D38335.158846844526660 (code D ref 38335); Sun, 03 May 2020 01:15:01 +0000 Original-Received: (at 38335-done) by debbugs.gnu.org; 3 May 2020 01:14:05 +0000 Original-Received: from localhost ([127.0.0.1]:54294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3Cn-0006vv-KY for submit@debbugs.gnu.org; Sat, 02 May 2020 21:14:05 -0400 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:39726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV3Cm-0006up-Ab for 38335-done@debbugs.gnu.org; Sat, 02 May 2020 21:14:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6iBqLXsiMqgRWy2q4xuSKto8id2/KYOrwqf2h5hicwU=; b=thTmpU7bG0tO1HUHNmbbNFkmSR L0VMC1VOZixMByYWbdDFI7BK9lNOrlT2A+F+qeygVotnSgBECUQ21x/eJplkzYR9iiain6ksnubJi mGbBKbCbXapJtqHrBsJiCx9q6PlPj/pYy9ArOzwq9KAxFeap316ME0lHrzhFQPV/zr9v/NRIkYm7K 6WI6avyTAhgKWTMdcvW6MwPnj+LoKV8LcFIFdMho+UB+xDfgOAYbAZevCKJBVRvYaXzV357nYRS7J GySNQs+lthQZ9+GfvnR2sbsu0p/8PJ8cQt5X5n1dvk83CgWJV5WeHPSaG0WWJQYFSFG2AL288HkZv GI81QdRw==; Original-Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:55936 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jV3Cf-001DI6-72; Sat, 02 May 2020 21:13:57 -0400 In-Reply-To: <87eexypz42.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 23 Nov 2019 13:15:57 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179551 Archived-At: Lars Ingebrigtsen writes: > Gang Liang writes: > >> 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 > > You don't say what Emacs version you're using (please use M-x > report-emacs-bug when reporting Emacs bugs), and I'm not sure what you > mean by "run python", but I tried `M-x term RET python RET' and then > pasted the following with mouse-2 into the buffer, and the indentation > seems correct? > > So I'm not able to reproduce the bug. Are there some additional steps > necessary to reproduce? More information was requested, but none was given within 22 weeks, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. Best regards, Stefan Kangas