From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jay Lee Newsgroups: gmane.emacs.bugs Subject: bug#25005: 25.1; Support disabling bracketed paste mode. Date: Wed, 23 Nov 2016 23:47:37 +0900 Message-ID: <4BC74033-369D-4561-AA39-6BAF985EC07F@hanjaelee.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_F0387293-6FC2-40F2-BCAF-7E765EC6B367" X-Trace: blaine.gmane.org 1479918634 29468 195.159.176.226 (23 Nov 2016 16:30:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2016 16:30:34 +0000 (UTC) To: 25005@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 23 17:30:30 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 1c9aRH-0006Er-I6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2016 17:30:28 +0100 Original-Received: from localhost ([::1]:34816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9aRL-000323-32 for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2016 11:30:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9aR0-0002uf-AM for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 11:30:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9aQv-0006EP-7F for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 11:30:10 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52298) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9aQv-0006E7-2J for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 11:30:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c9aQu-0006aD-Qy for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 11:30:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jay Lee Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2016 16:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25005 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147991859125227 (code B ref -1); Wed, 23 Nov 2016 16:30:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2016 16:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:39460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9aQg-0006Yo-LA for submit@debbugs.gnu.org; Wed, 23 Nov 2016 11:29:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9YqC-00045F-51 for submit@debbugs.gnu.org; Wed, 23 Nov 2016 09:48:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9Yq0-0003zV-E1 for submit@debbugs.gnu.org; Wed, 23 Nov 2016 09:47:58 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c9Yq0-0003z8-99 for submit@debbugs.gnu.org; Wed, 23 Nov 2016 09:47:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c9Ypu-0002Do-Ss for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 09:47:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c9Ypq-0003kK-Ts for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 09:47:46 -0500 Original-Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:33346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c9Ypq-0003jP-Js for bug-gnu-emacs@gnu.org; Wed, 23 Nov 2016 09:47:42 -0500 Original-Received: by mail-pf0-x22e.google.com with SMTP id d2so4000607pfd.0 for ; Wed, 23 Nov 2016 06:47:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hanjaelee-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=E5+0/AWjd9MClp9CqI39ZPzqY3H2W3Xz7+AiGNoNp+w=; b=rcR/nV8VmJ5afzChWTsuMNBSg70E5sau0ujXv0/c6P4bgZA2gXxhm9nKA/7PdK5dKa qc0h3NtAnOnl2XOyl1LEZx45fee9ENZEvJKJ/hfKHFHjC7Nq103ZkRigj/P10JXwtwOC b++VyVDeXOslIPlQap82iTwM7BWeC/FbAiYFbMd8Gkv1TnQSpSavog6cauoYGFmotlRn rTRcyMWsJTMSln75KZb4F7eD5mtUeWNuvp/YXs9Sfr1aqKwThg6aCidd5De3JlUuKB6b +qlMb3gBWwXsM6k5WnEWZWfumE8LBSI3knbxWD9anPU5kxAEvoz3zzsMwxIt1ZitHnvd K7bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=E5+0/AWjd9MClp9CqI39ZPzqY3H2W3Xz7+AiGNoNp+w=; b=KCf3g+RDf4W8tN0p/McQjJ4Wm007ZQDauqdA6GjgF3pgLiacscnoBqiVm5fzSbLwnP Zq30XEQK4KR9mT94/6Kvssf4R6DHGsXyckh2B6ZovQsxA9rNaFGickzoT4SfnZaR+GYv 9O18fJ5ZJauk7EX8E/e1f9bgklbhfKWM8Xyc/QODw7kz9nO7CqNp/7efKM/8QiwUK/l/ 0cBVFSVveNOgLS6yvgwxB8Xbqyk1TD8n1hRillleGSf2CopxlxueyXvyaTJu4JLqDjHr b9CnVeqSiZqQ8bBMzYskfugTYunNzRZ4W1mIqaJ/w0c39A9SC7csY8a9BrdKBmLkCVm0 P5dQ== X-Gm-Message-State: AKaTC02guLzql8+3R6Fa6nokpho3ziKjqeNCvY6cwY/Op2ahjBw9pwsLOvNakb6NOZ9b7g== X-Received: by 10.84.143.233 with SMTP id 96mr7465834plz.27.1479912460596; Wed, 23 Nov 2016 06:47:40 -0800 (PST) Original-Received: from [192.168.1.5] ([59.6.237.94]) by smtp.gmail.com with ESMTPSA id y89sm53461265pfk.83.2016.11.23.06.47.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Nov 2016 06:47:40 -0800 (PST) X-Mailer: Apple Mail (2.3251) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 23 Nov 2016 11:29:49 -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: 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:126017 Archived-At: --Apple-Mail=_F0387293-6FC2-40F2-BCAF-7E765EC6B367 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I see that bracketed paste mode is automatically enabled in emacs 25.1 = running in terminal. I know this mode is very good at security. But while I=E2=80=99m editing = text, this mode annoy me. because something text is added. ex) 200~hello, world201~ I copy text frequently from safari or other applications and paste it to = emacs running in terminal. then I have to remove "200~ 201~=E2=80=9D. this process reduce my productivity. So I want to disable bracketed = paste mode in emacs running in terminal. I have googled this issue But there is no information. and I even make = questions in reddit and stackexchage. I think that No one know disabling bracketed paste mode. Below is my question links = https://www.reddit.com/r/emacs/comments/5eehv5/how_to_turn_off_bracketed_p= aste_mode/ = = http://emacs.stackexchange.com/questions/28851/how-to-turn-off-bracketed-p= aste-mode?noredirect=3D1#comment44234_28851 = There is no problem in emacs -q session. I think that bracketed paste = mode is not enabled in this case Because configuration about bracketed = paste mode is not loaded. If I have misunderstanding, please let me know. If there is solution for this issue, I want to know how to disabling = bracketed paste mode or Not, please create functions for disable = bracketed paste mode. Thank you. My development environment is macOS sierra, emacs 25.1 (running in = Terminal) In GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 = Version 10.12 (Build 16A323)) of 2016-11-04 built on Macs-iMac.local Configured using: 'configure --disable-dependency-tracking --disable-silent-rules --enable-locallisppath=3D/usr/local/share/emacs/site-lisp --infodir=3D/usr/local/Cellar/emacs/25.1/share/info/emacs --prefix=3D/usr/local/Cellar/emacs/25.1 --without-x --with-xml2 --without-dbus --without-gnutls --with-ns --disable-ns-self-contained' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: multi-web-global-mode: t show-paren-mode: t display-time-mode: t which-function-mode: t icomplete-mode: t iswitchb-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Checking 34 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/emulation... Checking 167 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/emacs-lisp... Checking 24 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/cedet... Checking 57 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/calendar... Checking 87 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/calc... Checking 120 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/obsolete... Checking for load-path shadows...done previous-line: Beginning of buffer [4 times] Auto-saving...done Buffer *unsent mail to bug-gnu-emacs@gnu.org* modified; kill anyway? (y = or n) y Load-path shadows: None found. Features: (url-util url-parse auth-source cl-seq eieio eieio-core url-vars pp shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils term/xterm xterm jade-mode sws-mode multi-web-mode easy-mmode cl-macs cl swift-mode derived smie comint ansi-color ring rx go-mode-autoloads advice find-file atom-dark-theme paren time time-date which-func imenu icomplete iswitchb edmacro kmacro finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win ucs-normalize term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 233992 15725) (symbols 48 23489 4) (miscs 40 51 193) (strings 32 25882 4560) (string-bytes 1 763153) (vectors 16 35757) (vector-slots 8 663111 6726) (floats 8 230 579) (intervals 56 230 8) (buffers 976 19)) --Apple-Mail=_F0387293-6FC2-40F2-BCAF-7E765EC6B367 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 I see that bracketed paste mode is automatically enabled in = emacs 25.1 running in terminal.
I know this mode is very = good at security. But while I=E2=80=99m editing text, this mode annoy = me. because something text is added.
ex) 200~hello, = world201~

I = copy text frequently from safari or other applications and paste it to = emacs running in terminal. then I have to remove "200~ = 201~=E2=80=9D.
this process reduce my productivity. = So I want to disable bracketed paste mode in emacs running in = terminal.

I = have googled this issue But there is no information. and I even make = questions in reddit and stackexchage.
I think that = No one know disabling bracketed paste mode.
Below = is my question links

There is no problem in = emacs -q session. I think that bracketed paste mode is not enabled in = this case Because configuration about bracketed paste mode is not = loaded.
If I have misunderstanding, please let me = know.

If there = is solution for this issue, I want to know how to disabling bracketed = paste mode or Not, please create functions for disable bracketed paste = mode.
Thank you.

My development environment is macOS = sierra, emacs 25.1 (running in Terminal)

In = GNU Emacs 25.1.1 (x86_64-apple-darwin16.0.0, NS appkit-1504.00 Version = 10.12 (Build 16A323))
of 2016-11-04 built on = Macs-iMac.local
Configured using:
= 'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=3D/usr/local/share/emacs/site-lisp
--infodir=3D/usr/local/Cellar/emacs/25.1/share/info/emacs
--prefix=3D/usr/local/Cellar/emacs/25.1 --without-x = --with-xml2
--without-dbus --without-gnutls --with-ns = --disable-ns-self-contained'

Configured = features:
NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS = NS

Important settings:
  value of $LC_ALL: = en_US.UTF-8
  value of $LANG: = en_US.UTF-8
  locale-coding-system: = utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  multi-web-global-mode: = t
  = show-paren-mode: t
  display-time-mode: t
  = which-function-mode: t
  icomplete-mode: t
  = iswitchb-mode: t
  tooltip-mode: t
  = global-eldoc-mode: t
  electric-indent-mode: t
  = mouse-wheel-mode: t
  tool-bar-mode: t
  = file-name-shadow-mode: t
  global-font-lock-mode: = t
  = font-lock-mode: t
  auto-composition-mode: = t
  = auto-encryption-mode: t
  auto-compression-mode: = t
  = column-number-mode: t
  line-number-mode: t
  = transient-mark-mode: t

Recent messages:
Checking 34 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/emulation...
Checking 167 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/emacs-lisp...
Checking 24 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/cedet...
Checking 57 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/calendar...
Checking 87 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/calc...
Checking 120 files in = /usr/local/Cellar/emacs/25.1/share/emacs/25.1/lisp/obsolete...
Checking for load-path shadows...done
previous-line: Beginning of buffer [4 times]
Auto-saving...done
Buffer *unsent mail to bug-gnu-emacs@gnu.org* modified; kill anyway? (y or n) = y

Load-path shadows:
None = found.

Features:
(url-util = url-parse auth-source cl-seq eieio eieio-core url-vars pp
shadow sort mail-extr emacsbug message dired format-spec = rfc822 mml
mml-sec password-cache epg gnus-util mm-decode = mm-bodies mm-encode
mail-parse rfc2231 mailabbrev = gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums = mm-util help-fns mail-prsvr mail-utils term/xterm
xterm = jade-mode sws-mode multi-web-mode easy-mmode cl-macs cl swift-mode
derived smie comint ansi-color ring rx go-mode-autoloads = advice
find-file atom-dark-theme paren time time-date = which-func imenu
icomplete iswitchb edmacro kmacro = finder-inf package epg-config seq
byte-opt gv bytecomp = byte-compile cl-extra help-mode easymenu cconv
cl-loaddefs = pcase cl-lib mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel ns-win = ucs-normalize
term/common-win tool-bar dnd fontset image = regexp-opt fringe
tabulated-list newcomment elisp-mode = lisp-mode prog-mode register page
menu-bar rfn-eshadow = timer select scroll-bar mouse jit-lock font-lock
syntax = facemenu font-core frame cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean = japanese eucjp-ms
cp51932 hebrew greek romanian slovak = czech european ethiopic indian
cyrillic chinese charscript = case-table epa-hook jka-cmpr-hook help
simple abbrev = minibuffer cl-preloaded nadvice loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 = base64 format
env code-pages mule custom widget = hashtable-print-readable backquote
kqueue cocoa ns = multi-tty make-network-process emacs)

Memory = information:
((conses 16 233992 15725)
= (symbols 48 23489 4)
(miscs 40 51 193)
= (strings 32 25882 4560)
(string-bytes 1 763153)
(vectors 16 35757)
(vector-slots 8 663111 = 6726)
(floats 8 230 579)
(intervals 56 230 = 8)
(buffers 976 19))
= --Apple-Mail=_F0387293-6FC2-40F2-BCAF-7E765EC6B367--