From unknown Sat Aug 16 13:51:17 2025 X-Loop: help-debbugs@gnu.org Subject: bug#17896: sh-mode excessive indentation of {} Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jul 2014 01:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17896 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 17896@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.140426561829187 (code B ref -1); Wed, 02 Jul 2014 01:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jul 2014 01:46:58 +0000 Received: from localhost ([127.0.0.1]:39751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X29dR-0007ag-Iw for submit@debbugs.gnu.org; Tue, 01 Jul 2014 21:46:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58090 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X29dP-0007aY-LM for submit@debbugs.gnu.org; Tue, 01 Jul 2014 21:46:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X29dO-0004YE-NT; Tue, 01 Jul 2014 21:46:54 -0400 From: Glenn Morris X-Spook: Becker InfoSec import terrorism Saudi Arabia kilderkin X-Ran: 1)%cU*s?pwW_tZ$_+X|f.|7>Cd=B^vJv@ckn=y*[OHd}h&MgL*v1egD>c_QkSNmmbRomnF X-Hue: cyan X-Attribution: GM Date: Tue, 01 Jul 2014 21:46:54 -0400 Message-ID: <4esimk8rch.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Package: emacs Version: 24.3.92 Severity: minor I don't know if this is a related to any of the previous sh-mode indent reports I made, so I'm making a new report. emacs -Q foo.sh: for foo in bar; do [ -e $foo ] && [ -e $bar ] && { echo way too much indent here } done Compare with 24.3: for foo in bar; do [ -e $foo ] && [ -e $bar ] && { echo just fine thanks } done From unknown Sat Aug 16 13:51:17 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Glenn Morris Subject: bug#17896: closed (Re: bug#17896: sh-mode excessive indentation of {}) Message-ID: References: <4esimk8rch.fsf@fencepost.gnu.org> X-Gnu-PR-Message: they-closed 17896 X-Gnu-PR-Package: emacs Reply-To: 17896@debbugs.gnu.org Date: Tue, 08 Jul 2014 18:39:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1404844743-21534-1" This is a multi-part message in MIME format... ------------=_1404844743-21534-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #17896: sh-mode excessive indentation of {} which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 17896@debbugs.gnu.org. --=20 17896: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17896 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1404844743-21534-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 17896-done) by debbugs.gnu.org; 8 Jul 2014 18:38:49 +0000 Received: from localhost ([127.0.0.1]:47245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4aHs-0005aJ-2b for submit@debbugs.gnu.org; Tue, 08 Jul 2014 14:38:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:2839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X4aHi-0005Zm-PJ for 17896-done@debbugs.gnu.org; Tue, 08 Jul 2014 14:38:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVNLd+D9/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="76892855" Received: from 75-119-224-253.dsl.teksavvy.com (HELO pastel.home) ([75.119.224.253]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Jul 2014 14:38:28 -0400 Received: by pastel.home (Postfix, from userid 20848) id 8FA5260337; Tue, 8 Jul 2014 14:38:28 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#17896: sh-mode excessive indentation of {} Message-ID: References: <4esimk8rch.fsf@fencepost.gnu.org> Date: Tue, 08 Jul 2014 14:38:28 -0400 In-Reply-To: <4esimk8rch.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 01 Jul 2014 21:46:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 17896-done Cc: 17896-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > for foo in bar; do > [ -e $foo ] && [ -e $bar ] && { > echo way too much indent here > } > done I believe this is now fixed, thanks, Stefan ------------=_1404844743-21534-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Jul 2014 01:46:58 +0000 Received: from localhost ([127.0.0.1]:39751 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X29dR-0007ag-Iw for submit@debbugs.gnu.org; Tue, 01 Jul 2014 21:46:57 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:58090 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X29dP-0007aY-LM for submit@debbugs.gnu.org; Tue, 01 Jul 2014 21:46:56 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1X29dO-0004YE-NT; Tue, 01 Jul 2014 21:46:54 -0400 From: Glenn Morris To: submit@debbugs.gnu.org Subject: sh-mode excessive indentation of {} X-Spook: Becker InfoSec import terrorism Saudi Arabia kilderkin X-Ran: 1)%cU*s?pwW_tZ$_+X|f.|7>Cd=B^vJv@ckn=y*[OHd}h&MgL*v1egD>c_QkSNmmbRomnF X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 01 Jul 2014 21:46:54 -0400 Message-ID: <4esimk8rch.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Package: emacs Version: 24.3.92 Severity: minor I don't know if this is a related to any of the previous sh-mode indent reports I made, so I'm making a new report. emacs -Q foo.sh: for foo in bar; do [ -e $foo ] && [ -e $bar ] && { echo way too much indent here } done Compare with 24.3: for foo in bar; do [ -e $foo ] && [ -e $bar ] && { echo just fine thanks } done ------------=_1404844743-21534-1--