From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Default behaviour of RET. Date: Tue, 22 Oct 2013 10:02:57 -0400 Message-ID: References: <8361sqli02.fsf@gnu.org> <1730ebf3-db44-498c-b2a9-4d288d83a946@default> <87k3h6xuen.fsf@yandex.ru> <1878e4fa-50f2-4655-a4ff-30d1db708ee8@default> <5D2595BD-AC11-4FB6-B363-31EBE28A0AE0@mit.edu> <20131022005911.63239c56@forcix.kollektiv-hamburg.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382450597 9582 80.91.229.3 (22 Oct 2013 14:03:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Oct 2013 14:03:17 +0000 (UTC) Cc: chad , "emacs-devel@gnu.org devel" To: Jorgen Schaefer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 22 16:03:20 2013 Return-path: Envelope-to: ged-emacs-devel@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 1VYcYK-00082h-Qk for ged-emacs-devel@m.gmane.org; Tue, 22 Oct 2013 16:03:20 +0200 Original-Received: from localhost ([::1]:44942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYcYK-0003U0-EJ for ged-emacs-devel@m.gmane.org; Tue, 22 Oct 2013 10:03:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYcYB-0003KB-7N for emacs-devel@gnu.org; Tue, 22 Oct 2013 10:03:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYcXz-00006r-SF for emacs-devel@gnu.org; Tue, 22 Oct 2013 10:03:11 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:23628) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYcXz-00006k-Om for emacs-devel@gnu.org; Tue, 22 Oct 2013 10:02:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpYVR/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFFpYVR/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJIgeBrEfkA6RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="36071270" Original-Received: from 69-165-133-81.dsl.teksavvy.com (HELO pastel.home) ([69.165.133.81]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 22 Oct 2013 10:02:58 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 9A17760293; Tue, 22 Oct 2013 10:02:57 -0400 (EDT) In-Reply-To: <20131022005911.63239c56@forcix.kollektiv-hamburg.de> (Jorgen Schaefer's message of "Tue, 22 Oct 2013 00:59:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164455 Archived-At: > If the default binding of RET changes, please do make sure that there > is a simple and easily accessible way of toggling this, to enable > correct pasting of multi-line text in tty versions of Emacs. Indeed, very good point. So we have the following issues if we want to enable electric-indent-mode: - C-j's default binding becomes useless. - need for a new tty-paste command. I recently wrote a tty-paste command (the main purpose of which was to speed up the process rather than to avoid RET's indentation), but it would need some polishing. Even better would be if we could auto-detect a "tty paste", tho this would inevitably be unreliable since the only difference is timing. Stefan