From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.bugs Subject: bug#22564: Fundamental mode isn't fundamental enough. Date: Sun, 07 Feb 2016 22:02:17 +0100 Organization: Linux Private Site Message-ID: <87bn7sqlnq.fsf@Rainer.invalid> References: <20160206112110.9815.qmail@mail.muc.de> <20160206143657.GA1246@holos> <878u2xrd0n.fsf@Rainer.invalid> <834mdks5fw.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454879014 25235 80.91.229.3 (7 Feb 2016 21:03:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2016 21:03:34 +0000 (UTC) To: 22564@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 07 22:03:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aSWUD-0005QJ-Ol for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 22:03:14 +0100 Original-Received: from localhost ([::1]:38261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWU9-0006jr-TM for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 16:03:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWU5-0006iK-MT for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:03:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSWU2-0005nc-H3 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:03:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWU2-0005nY-De for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSWU2-0008OX-87 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:03:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <20160205125559.GC7727@acm.fritz.box> Resent-From: Achim Gratz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Feb 2016 21:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22564 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.145487895832238 (code B ref -1); Sun, 07 Feb 2016 21:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Feb 2016 21:02:38 +0000 Original-Received: from localhost ([127.0.0.1]:37595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSWTe-0008Nu-Fb for submit@debbugs.gnu.org; Sun, 07 Feb 2016 16:02:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36793) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSWTd-0008Ni-2t for submit@debbugs.gnu.org; Sun, 07 Feb 2016 16:02:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSWTX-0005jh-0D for submit@debbugs.gnu.org; Sun, 07 Feb 2016 16:02:32 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWTW-0005jd-Tw for submit@debbugs.gnu.org; Sun, 07 Feb 2016 16:02:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWTV-0006eU-RM for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:02:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSWTS-0005j5-Lq for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:02:29 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:44108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSWTS-0005ix-Eb for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 16:02:26 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSWTR-0004QH-DJ for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 22:02:25 +0100 Original-Received: from p54b463fb.dip0.t-ipconnect.de ([84.180.99.251]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Feb 2016 22:02:25 +0100 Original-Received: from Stromeko by p54b463fb.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 Feb 2016 22:02:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 44 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54b463fb.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:j6hMxqKYcx/E/VPOJtzHMSttR1o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112660 Archived-At: Eli Zaretskii writes: >> That entry does absolutely nothing to explain what "bracketed paste >> mode" actually is or how it can be used in Emacs. > > I tried to clarify that entry. Thank you. >> A cursory search leads me to believe that this is something that >> some terminal emulators optionally can do and is switched off by >> default even then. In other words, it is completely useless if >> you're not using one of those terminal emulators that do support it >> or on those that do and have it switched off. > > The mode is always turned off by default; Emacs automatically turns it > on if the terminal supports it. OK, then it seems that this doesn't work on mintty. How to tell for sure from within Emacs? How does Emacs determine the capabilities of the terminal? > Do you see the indentation happen when you paste into a GUI session? > I don't think this happens on GUI frames; in particular, I cannot > reproduce Alan's original report when I paste the text he provided > into a GUI frame. I can only try with Emacs 24.5 at the moment and there pasting works indeed correctly in a GUI frame, but not in mintty. > AFAIK, this problem is specific to pasting into a TTY frame, so the > bracketed paste mode is indeed relevant. Mintty has implemented bracketed paste mode, but Emacs doesn't seem to recognize and/or use it, then. Feel free to split this off into another bug. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables