From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16763: 24.3.50; electric-indent annoyance: C-j doesn't indent Date: Sat, 15 Feb 2014 11:27:02 -0800 (PST) Message-ID: References: <<87fvnkbbqx.fsf@gmail.com>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392492499 3710 80.91.229.3 (15 Feb 2014 19:28:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Feb 2014 19:28:19 +0000 (UTC) To: raman , 16763@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 15 20:28:25 2014 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 1WEkuW-0002JX-Ug for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Feb 2014 20:28:25 +0100 Original-Received: from localhost ([::1]:58111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEkuV-0007du-Pe for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Feb 2014 14:28:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEkuK-0007db-0n for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 14:28:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEkuB-0007wL-AL for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 14:28:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEkuB-0007vF-6w for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 14:28:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WEkuA-0001rQ-9K for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 14:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2014 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16763 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16763-submit@debbugs.gnu.org id=B16763.13924924387090 (code B ref 16763); Sat, 15 Feb 2014 19:28:02 +0000 Original-Received: (at 16763) by debbugs.gnu.org; 15 Feb 2014 19:27:18 +0000 Original-Received: from localhost ([127.0.0.1]:53755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEktQ-0001qH-TD for submit@debbugs.gnu.org; Sat, 15 Feb 2014 14:27:17 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:39354) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEktM-0001q1-JM for 16763@debbugs.gnu.org; Sat, 15 Feb 2014 14:27:13 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s1FJR555012803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 15 Feb 2014 19:27:06 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s1FJRBRs025411 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 15 Feb 2014 19:27:13 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s1FJR28S022282; Sat, 15 Feb 2014 19:27:03 GMT In-Reply-To: <<87fvnkbbqx.fsf@gmail.com>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:85632 Archived-At: > This has been bothering me for a while when writing lisp code -- > started happening roughly a few months ago. Yup. > I always hit C-j for newline, and a couple of months ago, this > stopped indenting -- by default C-j runs control j runs the > command electric-indent-just-newline when electric-indent-mode > is on. >=20 > The documentation for electric-mode indicates that indentation > will be invoked when you type any of the chars in > electric-indent-chars -- and that variable is set to a list > containing ?\n which is ascii 10; yet, C-j invokes a command > that explicitly only inserts a newline? (feeling very confused) It is not yet reflected in NEWS or the manuals, but `C-j' and `RET' have been effectively swapped: `RET' now indents and `C-j' does not indent. The new behavior was apparently adopted to make Emacs correspond better with what newbie users expect, based on their experience with other editors and IDEs. You are not alone in "feeling very confused". Hopefully, the NEWS entry covering this, and perhaps the manuals, will explain the best and simplest way to restore the previous, longstanding behavior for those who might prefer it. Otherwise, you can just retrain your fingers. ;-)