From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.bugs Subject: bug#16763: 24.3.50; electric-indent annoyance: C-j doesn't indent Date: Sat, 15 Feb 2014 13:48:53 -0800 Message-ID: <21247.57541.83209.804037@gargle.gargle.HOWL> References: <<87fvnkbbqx.fsf@gmail.com> Reply-To: tv.raman.tv@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1392501015 25825 80.91.229.3 (15 Feb 2014 21:50:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Feb 2014 21:50:15 +0000 (UTC) Cc: tv.raman.tv@gmail.com, 16763@debbugs.gnu.org To: drew.adams@oracle.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 15 22:50:17 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 1WEn7o-0005WV-Ha for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Feb 2014 22:50:16 +0100 Original-Received: from localhost ([::1]:58678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEn7o-0002YV-4U for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Feb 2014 16:50:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEn7f-0002QF-Nq for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 16:50:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEn7a-00086L-CA for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 16:50:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEn7a-000869-9G for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 16:50:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WEn7a-0005sQ-2w for bug-gnu-emacs@gnu.org; Sat, 15 Feb 2014 16:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "T. V. Raman" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Feb 2014 21:50:01 +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.139250094322504 (code B ref 16763); Sat, 15 Feb 2014 21:50:01 +0000 Original-Received: (at 16763) by debbugs.gnu.org; 15 Feb 2014 21:49:03 +0000 Original-Received: from localhost ([127.0.0.1]:53851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEn6c-0005qu-TV for submit@debbugs.gnu.org; Sat, 15 Feb 2014 16:49:03 -0500 Original-Received: from mail-pa0-f54.google.com ([209.85.220.54]:48239) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEn6b-0005qM-BR for 16763@debbugs.gnu.org; Sat, 15 Feb 2014 16:49:01 -0500 Original-Received: by mail-pa0-f54.google.com with SMTP id fa1so13636267pad.41 for <16763@debbugs.gnu.org>; Sat, 15 Feb 2014 13:48:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:content-type:content-transfer-encoding:message-id:date :to:cc:subject:in-reply-to:references:reply-to:from; bh=25AaTrQztP3HRhL6Lz5P6vE0un5UogCU2JwQLQ0kZCM=; b=pyLbKIHrGS/GJv38hDoJEyTASZZvp2/Xs1wGPqKNM3Ok3Atvn2bLppyJVudF8M7rDi NlkAKfcuDsNbB3JW01mhBdqT/qQ0xTasSJi9CXQMhol4wkYHzItPn55t2/g0kALl6nYG 0rVZY9q2jM45sIy/4Kmrri2PzkxE4zfQ/xDM0NShXGF3wFmM5IA2kFr8vI8WpkfNPspa 30MXAtcYjfhgTIUdvBwAWHd5UZ5RCzzHNHWiVv2oCfOTPTHTMGLSjPV9b6dq6Zcuu7PY 9UMQmrs859TgnQi+R3wso1kCiUxzUl2SwTU59v+I+0nIHcZSfmlOZj80Rlyx/9bZ5nDT mESQ== X-Received: by 10.69.0.10 with SMTP id au10mr17491693pbd.48.1392500935237; Sat, 15 Feb 2014 13:48:55 -0800 (PST) Original-Received: from labrador.google.com (c-71-202-188-217.hsd1.ca.comcast.net. [71.202.188.217]) by mx.google.com with ESMTPSA id ix5sm30021643pbd.36.2014.02.15.13.48.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 15 Feb 2014 13:48:54 -0800 (PST) In-Reply-To: X-Mailer: VM 8.1.1 under 24.3.50.2 (i686-pc-linux-gnu) x-attribution: tvr 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:85640 Archived-At: The source code docs need to be fixed too >>>>> "Drew" == Drew Adams writes: >> This has been bothering me for a while when writing lisp >> code -- started happening roughly a few months ago. Drew> Drew> Yup. Drew> >> 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. >> >> 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) Drew> Drew> It is not yet reflected in NEWS or the manuals, but Drew> `C-j' and `RET' have been effectively swapped: `RET' Drew> now indents and `C-j' does not indent. Drew> Drew> The new behavior was apparently adopted to make Emacs Drew> correspond better with what newbie users expect, based Drew> on their experience with other editors and IDEs. Drew> Drew> You are not alone in "feeling very Drew> confused". Hopefully, the NEWS entry covering this, and Drew> perhaps the manuals, will explain the best and simplest Drew> way to restore the previous, longstanding behavior for Drew> those who might prefer it. Otherwise, you can just Drew> retrain your fingers. ;-)