From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jannis Newsgroups: gmane.emacs.help Subject: indentation not working if parentheses are already closed Date: Mon, 15 Apr 2013 19:06:43 +0200 Message-ID: <516C33A3.2030504@yahoo.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366045626 24508 80.91.229.3 (15 Apr 2013 17:07:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 17:07:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 15 19:07:10 2013 Return-path: Envelope-to: geh-help-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 1URms0-0003xZ-7y for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 19:07:08 +0200 Original-Received: from localhost ([::1]:44985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmrz-0000lm-HU for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 13:07:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URmrl-0000dT-AP for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 13:06:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URmrj-0007fr-Lk for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 13:06:53 -0400 Original-Received: from nm12-vm0.bullet.mail.ird.yahoo.com ([77.238.189.196]:32740) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1URmrj-0007f9-7y for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 13:06:51 -0400 Original-Received: from [77.238.189.52] by nm12.bullet.mail.ird.yahoo.com with NNFMP; 15 Apr 2013 17:06:48 -0000 Original-Received: from [217.146.188.163] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 15 Apr 2013 17:06:48 -0000 Original-Received: from [127.0.0.1] by smtp131.mail.ird.yahoo.com with NNFMP; 15 Apr 2013 17:06:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1366045608; bh=qtCh+tfA7ZiHTLYbmcUK87z2R76aPZcw+MSk2t2k2ZE=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=0knrnX9ysOa+N0+7IsQKReCYP/oK62EoIDRwt7v6+Hp87oMF54+WEMXK5BIGGraogTgmwUxXpgTT+qYouchAJS88qGRQmDLxCyeqMQcR9q8Kjo/RaWgOgCEa8XL7mTBOx2Gc6fE/R0P+6Hu25al0PXVYQimp1ZfAObeZEK+FGj4= X-Yahoo-Newman-Id: 723057.46547.bm@smtp131.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: o1x2CMEVM1nT_zcOhqIGoGbrtX9kJMJhWJ7ILcq8DI4W.8K lDHmBwGlD9EquwLDv0he.D4XW90HvXAim41dshyB11q0mEoAO_YSRZQGnHZ_ pmY.a87s_pIOEqdJ4gxNft16338YxOhmdmxA.Iuh0AjPfEjhipB9L4TU0DBZ fUMD2TeA_SZ99EKLjTDgc4lhnskMqSusu5TnwoNLtvDA4M2TaqWY28E827aK .RZiKKK0DP4s7VsDRd8jdg3i_swFGF00KacpTr02odM97R1ilKgFX8xgGM3m yUO1YVgd1cBDaBIppQfrpDGm_YrLsAo2QABH2XlSQzA5SBSPJcmLNlzSs9os thf7qKd7KwS657VKCnXUGeqhMMyeWUlwMAAmh5sM2q2kP8wjMPLnxcqsYr73 GtrDKpdowb43NVd79l9NBSzByWZYwtSQIDASe5T.yXGkgjg-- X-Yahoo-SMTP: fIxn8LWswBDp6Flfc1j6EuZ8HSO7cw-- X-Rocket-Received: from [141.5.18.190] (bt_jannis@141.5.18.190 with plain) by smtp131.mail.ird.yahoo.com with SMTP; 15 Apr 2013 10:06:48 -0700 PDT User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 X-detected-operating-system: by eggs.gnu.org: FreeBSD 8.x X-Received-From: 77.238.189.196 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90178 Archived-At: Dear ess community, usually the automatic indentation in ess works like a charm. I have however, experienced that it does not work in case I add a newline and the matching parenthesis is already closed. E.g. hitting Return after foo = function() { would indent the following line correctly, but placing the cursor between the two curly braces here: foo = function() {} and hitting enter, results in a non indented new line. Is this a bug? Or intended? Or is there a way to switch it off? I ask as I just installed smartparens.el which creates balanced parentheses automatically and, hence, would switch off the really helpful indentation behavior. Cheers jannis