From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#36879: 26.2; OSC 52 paste in term/xterm.el not working Date: Sat, 03 Aug 2019 17:00:22 -0400 Message-ID: References: <87lfwecfb7.fsf@mini.la.casa> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223431"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Philipp Stephani , Daniel =?UTF-8?Q?Ekl=C3=B6f?= , 36879@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 03 23:01:14 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 1hu19O-000w10-1F for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 23:01:14 +0200 Original-Received: from localhost ([::1]:41960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu19N-0006ri-1s for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2019 17:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50528) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hu19H-0006pa-LH for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 17:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hu19G-0001fW-Ew for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 17:01:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51280) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hu19C-0001cm-D0 for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 17:01:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hu19C-0006IW-A6 for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2019 17:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2019 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36879 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36879-submit@debbugs.gnu.org id=B36879.156486604623289 (code B ref 36879); Sat, 03 Aug 2019 21:01:02 +0000 Original-Received: (at 36879) by debbugs.gnu.org; 3 Aug 2019 21:00:46 +0000 Original-Received: from localhost ([127.0.0.1]:60099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu18v-00062h-1e for submit@debbugs.gnu.org; Sat, 03 Aug 2019 17:00:45 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:39284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hu18s-0005uZ-Pi; Sat, 03 Aug 2019 17:00:43 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0E3DE445CCE; Sat, 3 Aug 2019 17:00:37 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D2C78445CCA; Sat, 3 Aug 2019 17:00:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1564866031; bh=JTaoDu/DUi993gwwJLAbuY947lEGHfhcqSbrP0waSI4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GAc1s8AqLpjDaFH0wqlkaLNlnem8tm8ii+Ddr6/EyHKIcjKumUlKPtbLQpJ0jV58u XVl5cb9d02lUDXVuwfxW9LI8gYEV5Zd7w94376hixhWE29hxfMQKSc6A55+K07Ewnv hu+FiANFZB0bqW/Dj+uUWVetggfL4coUl+kZTOwW3Y6CFJtWYt8GF77C9gCKU1tJXR 4VdC2ly6r0a5Glie1Mr675lV93xTEZ6eLbZ9Dd5ULIAKCawR6ODZ0YcMB/N+F71ZZR 6nSZzfq7Edo/IjOEN8s/hD91mGnBvKb8Zs+Hv3PmGQ6qVB25nT2L1zdolaeyVYeax4 lPwY4YGPz/BsA== Original-Received: from alfajor (unknown [78.192.50.77]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 07E3D120846; Sat, 3 Aug 2019 17:00:30 -0400 (EDT) In-Reply-To: ("Mattias \=\?windows-1252\?Q\?Engdeg\=E5rd\=22's\?\= message of "Sat, 03 Aug 2019 13:41:03 +0200") 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:164494 Archived-At: > The question is rather, how did this code ever work in the first > place? Here's what I remember from it: - I did test the code with the xterm that comes with Debian. I definitely remember making it work it in one direction (paste or yank, can't remember), not sure if I did get it to work in both directions at the time. - The feature is fundamentally dodgy from a security perspective. - This is the first case I hear of someone actually using that feature (or trying to) since it was added to Emacs. So I'm not sure it's worth the trouble supporting this, really: In many/most cases `xclip-mode` can be used instead, and is much more straightforward. Stefan