From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22564: Fundamental mode isn't fundamental enough. Date: Mon, 08 Feb 2016 22:05:17 +0200 Message-ID: <83mvrbotmq.fsf@gnu.org> References: <20160206112110.9815.qmail@mail.muc.de> <20160206143657.GA1246@holos> <878u2xrd0n.fsf@Rainer.invalid> <834mdks5fw.fsf@gnu.org> <87bn7sqlnq.fsf@Rainer.invalid> <83lh6wqld0.fsf@gnu.org> <87si13xa87.fsf@Rainer.invalid> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454961987 24991 80.91.229.3 (8 Feb 2016 20:06:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 20:06:27 +0000 (UTC) Cc: 22564@debbugs.gnu.org To: Achim Gratz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 21:06:16 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 1aSs4X-0005Sc-V6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 21:06:10 +0100 Original-Received: from localhost ([::1]:48393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs4X-0007WV-CB for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 15:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs4T-0007W6-M6 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSs4Q-0006MQ-9u for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs4Q-0006ML-6C for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSs4P-00055C-VJ for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 20:06:01 +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: Original-Received: via spool by 22564-submit@debbugs.gnu.org id=B22564.145496194419510 (code B ref 22564); Mon, 08 Feb 2016 20:06:01 +0000 Original-Received: (at 22564) by debbugs.gnu.org; 8 Feb 2016 20:05:44 +0000 Original-Received: from localhost ([127.0.0.1]:60512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSs47-00054c-Nx for submit@debbugs.gnu.org; Mon, 08 Feb 2016 15:05:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51624) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSs46-00054Q-LM for 22564@debbugs.gnu.org; Mon, 08 Feb 2016 15:05:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSs3y-0006IT-7c for 22564@debbugs.gnu.org; Mon, 08 Feb 2016 15:05:37 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs3y-0006IN-4A; Mon, 08 Feb 2016 15:05:34 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1673 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSs3w-00088C-VM; Mon, 08 Feb 2016 15:05:33 -0500 In-reply-to: <87si13xa87.fsf@Rainer.invalid> (message from Achim Gratz on Mon, 08 Feb 2016 20:39:36 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:112741 Archived-At: > From: Achim Gratz > Date: Mon, 08 Feb 2016 20:39:36 +0100 > > >> 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. > > > > Sounds like a different bug, indeed. What is the init file in > > lisp/term/ that gets used for mintty? > > Mintty either responds with xterm-256colors or screen-256colors, > depending on the context. Other than that I don't know which init file > gets used or how to find out. Then it loads either xterm.el or screen.el (which loads xterm.el). xterm.el has a function called xterm--init-bracketed-paste-mode, can you see if it gets called at startup? > As another data point, konsole in KDE doesn't seem to be in bracketed > paste mode either when using 24.5 (is that supposed to be already > implemented there? I think not, at least NEWS doesn't mention it). This is new with Emacs 25, so 24.5 shouldn't have it. > A very recent 25.0.90 does have it, but completely messes up the > line endings (it inserts lots of spurious trailing whitespace). If > I remove the extraneous whitespace, then the paste is actually OK, > i.e. doesn't get indented. Whether or not the trailing whitespace > gets added seems to depend on where I copy from: copying from the > terminal window itself adds whitespace, copying from an Emacs GUI > frame doesn't. The stuff that gets put into the selection is up to the application that owns the selection, right?