From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25005: 25.1; Support disabling bracketed paste mode. Date: Thu, 24 Nov 2016 18:06:45 +0200 Message-ID: <83h96w6ewa.fsf@gnu.org> References: <4BC74033-369D-4561-AA39-6BAF985EC07F@hanjaelee.com> <83tway5f00.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1480003698 20859 195.159.176.226 (24 Nov 2016 16:08:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 24 Nov 2016 16:08:18 +0000 (UTC) Cc: 25005@debbugs.gnu.org To: Jay Lee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 24 17:08:12 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 1c9wZE-0003wc-QL for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 17:08:08 +0100 Original-Received: from localhost ([::1]:40829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9wZI-0006Gv-8c for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Nov 2016 11:08:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9wZC-0006Gc-JO for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 11:08:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9wZ8-0004am-IW for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 11:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9wZ8-0004ae-FO for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 11:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c9wZ8-0006d4-7J for bug-gnu-emacs@gnu.org; Thu, 24 Nov 2016 11:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Nov 2016 16:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25005-submit@debbugs.gnu.org id=B25005.148000362825414 (code B ref 25005); Thu, 24 Nov 2016 16:08:02 +0000 Original-Received: (at 25005) by debbugs.gnu.org; 24 Nov 2016 16:07:08 +0000 Original-Received: from localhost ([127.0.0.1]:40607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9wYG-0006bq-JV for submit@debbugs.gnu.org; Thu, 24 Nov 2016 11:07:08 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9wYE-0006bR-UJ for 25005@debbugs.gnu.org; Thu, 24 Nov 2016 11:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9wY6-00045Z-Mr for 25005@debbugs.gnu.org; Thu, 24 Nov 2016 11:07:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9wY6-00045R-Jh; Thu, 24 Nov 2016 11:06:58 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4041 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c9wY5-0004sC-V2; Thu, 24 Nov 2016 11:06:58 -0500 In-reply-to: (message from Jay Lee on Thu, 24 Nov 2016 09:27:31 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:126047 Archived-At: > From: Jay Lee > Date: Thu, 24 Nov 2016 09:27:31 +0900 > Cc: 25005@debbugs.gnu.org > > If I start from emacs -q, It works well. > I checked again yesterday, I found reason about this issue. > > (global-set-key (kbd "M-[") 'previous-multiframe-window) this keybindings affect this issue. > after removing this configuration, It works well. Not added “200~201~” I don't understand why is this reason. I think It is just keybinding. The bracketed paste sequence also starts with M-[, so when you paste, Emacs invokes previous-multiframe-window instead of the function that handles the paste. The function that handles the paste knows about the “200~201~” stuff, and removes it from the pasted text. But previous-multiframe-window doesn't. > So in this case, is my emacs bracketed paste mode disabled? No, I think it's enabled. That's why you get those garbled characters when you paste. > if so I want to know why bracketed paste mode is disabled. I just remove configuration for keybinding. When you remove the key binding, bracketed pastes should work correctly. Do they? > And is there way to turn off bracketed paste mode officially? No, not yet. Not through Emacs, anyway.