From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#24995: 25.1; Emacs manual: no doc on "bracketed paste mode" Date: Sun, 27 Nov 2016 21:11:36 +0000 Message-ID: References: <6f46675c-658e-4036-b03e-252a52170bc6@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0118454c8eca0005424ecd2a X-Trace: blaine.gmane.org 1480281138 20145 195.159.176.226 (27 Nov 2016 21:12:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2016 21:12:18 +0000 (UTC) Cc: 24995@debbugs.gnu.org To: Drew Adams , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 27 22:12:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cB6k8-0004H2-Et for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Nov 2016 22:12:12 +0100 Original-Received: from localhost ([::1]:55628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB6k9-0006GZ-9I for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Nov 2016 16:12:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cB6k1-0006FD-D7 for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2016 16:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cB6jy-0007TH-50 for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2016 16:12:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cB6jy-0007TB-1v for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2016 16:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cB6jx-0003rH-Sc for bug-gnu-emacs@gnu.org; Sun, 27 Nov 2016 16:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Nov 2016 21:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24995 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24995-submit@debbugs.gnu.org id=B24995.148028111414815 (code B ref 24995); Sun, 27 Nov 2016 21:12:01 +0000 Original-Received: (at 24995) by debbugs.gnu.org; 27 Nov 2016 21:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:43916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cB6jq-0003qt-6M for submit@debbugs.gnu.org; Sun, 27 Nov 2016 16:11:54 -0500 Original-Received: from mail-wj0-f175.google.com ([209.85.210.175]:33765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cB6jo-0003qf-QB for 24995@debbugs.gnu.org; Sun, 27 Nov 2016 16:11:53 -0500 Original-Received: by mail-wj0-f175.google.com with SMTP id xy5so99938913wjc.0 for <24995@debbugs.gnu.org>; Sun, 27 Nov 2016 13:11:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hbbEvwvOKYJRxyOCtbq3TYG6KhfT5F+/NyH1koRJrzY=; b=qUO0xpptHDjwhz3SxEpcLY1mu6/Y9N+DlLkZ56fhkoCu9Z3lnJi6tDoYBwEqO8w6C1 mP268F25ZEXwSN4201bWkqZU6Cjw2hlCPnpOKBq2AJOvR8igwcj8JDd3cocOU6htZ+wd 74CeS/hxsOuwVMccYRggZ/+U3IZYB05WWCqCKpD8TavAtHbB7oY86Yu/cxTzznVq6j3n GRgPyQte7UUw3VJhAn6KpQ0F6Hj3MmZCLdBFbBid3jKCXQAjabUGG7SOTnHugn34WDfq +4xBUJQLmycIm3HvpcFn8S9TMQeX6lgRKeNid5iHE131D2Ab8RAhOyEBR5se25/y3LFN Nn0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hbbEvwvOKYJRxyOCtbq3TYG6KhfT5F+/NyH1koRJrzY=; b=S42XiuWjWzMmP8S7WLwwW+//rSZGhIcG2zehg9Ikrx5Qjb+yLzSMG4B97zq4F7A0Za 80MKzB8t81nSP1xK8HKWqrbyM16Q49kQZQ5yjSAMn99gMdylFt1/Ke2K2BTVUOYZoq7P /uXFZY0T6mc6CNvEl+p483FtHpNxlcfwAxbqlHJrddPHzc3egMp57r4+a/FEIN2pyDvC syluCH+wmx15R0/zQV+40UhMYmGhaDzmgMYP8w2eKCWjbKsATnXTG+F7CztSSF68/pX1 /+aEzcvkYuY8bH1Yy2NH4k7qI31ldy3Diti2k7o2crL9h3bNw72isBxKndY7oVA+zNmY j2TQ== X-Gm-Message-State: AKaTC00mBppnlGFZNmmABNwdX6epNPgJWDActMJHNvhmjLOkRa+BLC4DreKGtevWZmqNzrv5ytTbISUiSZ6fCw== X-Received: by 10.194.148.4 with SMTP id to4mr15871381wjb.194.1480281107120; Sun, 27 Nov 2016 13:11:47 -0800 (PST) In-Reply-To: <6f46675c-658e-4036-b03e-252a52170bc6@default> 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: 208.118.235.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:126197 Archived-At: --089e0118454c8eca0005424ecd2a Content-Type: text/plain; charset=UTF-8 Drew Adams schrieb am Mi., 23. Nov. 2016 um 17:43 Uhr: > > > I do think it would be nice to let users disable use of this > > feature, even if the terminal supports it. Since we do that > > with other xterm extensions (see xterm-extra-capabilities), > > we should probably offer the same level of control for this > > capability, either as part of getSelection, or as a separate > > feature. > > Clearly. > > If Emacs can suddenly start supporting it then Emacs can > provide a way to turn it off (it was, in effect, off before). > > > Philipp, would you like to add this on the emacs-25 branch? > > Yes, thank you. > There shouldn't be any need for turning off bracketed pasting. It's just a separate input key sequence that is either sent or not sent by the terminal emulator. This isn't different from e.g. the Hyper key; there's also no option to disable the latter. The issue here is that the terminal emulator sends various escape sequences to the running program; such escape sequences cannot in general be used as custom key sequences, because they are intended to have a special predefined meaning. --089e0118454c8eca0005424ecd2a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Drew A= dams <drew.adams@oracle.com= > schrieb am Mi., 23. Nov. 2016 um 17:43=C2=A0Uhr:

> I do think it would be nice to let users disable use of this
> feature, even if the terminal supports it.=C2=A0 Since we do that
> with other xterm extensions (see xterm-extra-capabilities),
> we should probably offer the same level of control for this
> capability, either as part of getSelection, or as a separate
> feature.

Clearly.

If Emacs can suddenly start supporting it then Emacs can
provide a way to turn it off (it was, in effect, off before).

> Philipp, would you like to add this on the emacs-25 branch?

Yes, thank you.

The= re shouldn't be any need for turning off bracketed pasting. It's ju= st a separate input key sequence that is either sent or not sent by the ter= minal emulator. This isn't different from e.g. the Hyper key; there'= ;s also no option to disable the latter.
The issue here is that t= he terminal emulator sends various escape sequences to the running program;= such escape sequences cannot in general be used as custom key sequences, b= ecause they are intended to have a special predefined meaning.=C2=A0
<= /div>
--089e0118454c8eca0005424ecd2a--