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: Mon, 08 Feb 2016 20:39:36 +0100 Organization: Linux Private Site Message-ID: <87si13xa87.fsf@Rainer.invalid> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454960482 31891 80.91.229.3 (8 Feb 2016 19:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 19:41:22 +0000 (UTC) To: 22564@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 20:41:10 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 1aSrgL-0006Pl-Bo for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 20:41:09 +0100 Original-Received: from localhost ([::1]:48193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrgK-0004cp-OH for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 14:41:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrgH-0004cR-8a for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:41:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSrgE-0007CL-I8 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:41:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrgE-0007CH-El for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSrgE-0004Uh-AF for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:41: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: Mon, 08 Feb 2016 19:41: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.145496040417197 (code B ref -1); Mon, 08 Feb 2016 19:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2016 19:40:04 +0000 Original-Received: from localhost ([127.0.0.1]:60500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSrfI-0004TI-52 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 14:40:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42584) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSrfG-0004Sk-Dh for submit@debbugs.gnu.org; Mon, 08 Feb 2016 14:40:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSrfA-00071K-F9 for submit@debbugs.gnu.org; Mon, 08 Feb 2016 14:39:57 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrfA-00071G-Bz for submit@debbugs.gnu.org; Mon, 08 Feb 2016 14:39:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrf9-0004Pu-C7 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:39:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSrf6-00070t-L3 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:39:55 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:40025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrf6-00070l-Dc for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:39:52 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSrf2-0004m5-E9 for bug-gnu-emacs@gnu.org; Mon, 08 Feb 2016 20:39:48 +0100 Original-Received: from p54b4660e.dip0.t-ipconnect.de ([84.180.102.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 20:39:48 +0100 Original-Received: from Stromeko by p54b4660e.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 20:39:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54b4660e.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:xKKu09plFjx2RB3gEa3eMDn7JuY= 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:112739 Archived-At: Eli Zaretskii writes: >> 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? > > Emacs cannot determine these capabilities, AFAIK. We simply send the > enabling command to the terminal; those which don't support it will > ignore it. Hmm. The terminal doesn't seem to act like it has seen that sequence, then. >> 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. 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). 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. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds