From unknown Sat Jun 21 03:09:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17896 <17896@debbugs.gnu.org> To: bug#17896 <17896@debbugs.gnu.org> Subject: Status: sh-mode excessive indentation of {} Reply-To: bug#17896 <17896@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:09:33 +0000 retitle 17896 sh-mode excessive indentation of {} reassign 17896 emacs submitter 17896 Glenn Morris severity 17896 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 01 21:46:57 2014 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 08 14:38:49 2014 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 From unknown Sat Jun 21 03:09:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 06 Aug 2014 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator