From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Default behaviour of RET. Date: Tue, 22 Oct 2013 00:04:32 +0400 Message-ID: <87k3h6xuen.fsf@yandex.ru> References: > <8361sqli02.fsf@gnu.org>> <1730ebf3-db44-498c-b2a9-4d288d83a946@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382385903 18038 80.91.229.3 (21 Oct 2013 20:05:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 20:05:03 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, monnier@iro.umontreal.ca, acm@muc.de, Eli Zaretskii , stephen@xemacs.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 21 22:05:04 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 1VYLii-00009j-Rh for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2013 22:04:56 +0200 Original-Received: from localhost ([::1]:41498 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYLii-0004hx-Dc for ged-emacs-devel@m.gmane.org; Mon, 21 Oct 2013 16:04:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33148) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYLia-0004hn-Pn for emacs-devel@gnu.org; Mon, 21 Oct 2013 16:04:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYLiS-0006KB-Q2 for emacs-devel@gnu.org; Mon, 21 Oct 2013 16:04:48 -0400 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:55761) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYLiS-0006Jx-IU; Mon, 21 Oct 2013 16:04:40 -0400 Original-Received: by mail-lb0-f182.google.com with SMTP id p9so5929530lbv.41 for ; Mon, 21 Oct 2013 13:04:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=HAYk8hBjq6F5tyDfq4a8brZYIdggOURzedTI1wxPKfM=; b=hG2V0IP5v3aEpStv8jlhjSmupVz8VN6wYzMrnsA87TjLcDMVjXk8jqqi/Il3t9H6am Ck8FsvNEmejBndKab9L86UIdGQvDz8xqYgx9G+3RMkSzE/7rjlCWErco6u9KdVZmqTRs Bkuw357JtYWoNrTTUvkHe/2UR1J5QtkC+L0+ky0p9P8vAEOInC/KRa5C2AGS6zJKpKWr MYKWQLgP3uNwKuU40SpS9TQg/gDdmDS7xhy44ZLPVb8F2J2upQuH0Uok0Ec0cyIQWFLL BIx74h6Za7UlXJQBiG2sFiAS9uTGHvWArVceeMXGvKbTQFWjNGOxgWeHIn5QwP0hPrKH TqWA== X-Received: by 10.152.116.109 with SMTP id jv13mr2830754lab.30.1382385879143; Mon, 21 Oct 2013 13:04:39 -0700 (PDT) Original-Received: from axl ([178.252.98.87]) by mx.google.com with ESMTPSA id ap7sm17524561lac.10.2013.10.21.13.04.37 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 21 Oct 2013 13:04:38 -0700 (PDT) In-Reply-To: <1730ebf3-db44-498c-b2a9-4d288d83a946@default> (Drew Adams's message of "Mon, 21 Oct 2013 10:01:25 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 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:164432 Archived-At: Drew Adams writes: >> I want a key that is easily reached and that >> performs newline-and-indent. Every modern IDE does that. > > Emacs does that too, with `C-j'. Easily reached by most, I think. Every IDE does that when the user presses RET. > But any user is free to bind some other key for this. If one finds > `' or `' (or even `RET') better, then it's easy enough > to substitute it. Yes, we've heard this argument loads of times already. Then'll also be able to rebind RET back to `newline', or disable `electric-indent-mode', or whatever. The question is what would be the sane default. > Sorry, I'm with Richard on this one. You seem to be viewing a local > mole hill (if even that) from a foreign vantage point and seeing a ^^^^^^^^^^^^^^^^^^^^^ > mountain. You seem to be under impression that Eli is somehow new to using Emacs. > `C-j' is a good choice for Emacs, here. Let's keep `RET' > for what it does and `C-j' for what it does. I really have to wonder when anyone would wish to use RET bound to newline. Why? Does some popular major mode provide inadequate indentation function, so that you have to pick whether to indent the next line automatically or not?