X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.5 required=4.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 20 Aug 2008 21:37:00 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7KLatPK021873 for ; Wed, 20 Aug 2008 14:36:57 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVvMN-0001y6-DB for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:36:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVvMM-0001xu-O7 for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:36:55 -0400 Received: from [199.232.76.173] (port=56602 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVvMM-0001xr-IJ for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:36:54 -0400 Received: from mailout05.t-online.de ([194.25.134.82]:41440) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVvML-0001Dn-Tw for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:36:54 -0400 Received: from fwd25.aul.t-online.de by mailout05.sul.t-online.de with smtp id 1KVvMI-0005Nq-01; Wed, 20 Aug 2008 23:36:50 +0200 Received: from [192.168.0.162] (VyvTomZDrh5gChjk8DZVPu0C7aphC-Zn6AsccONGLTp9ex4wnXJ-Xk-NDtFv8H6g1I@[91.35.210.35]) by fwd25.aul.t-online.de with esmtp id 1KVvMD-0LeBiS0; Wed, 20 Aug 2008 23:36:45 +0200 Message-ID: <48AC8E68.8080503@t-online.de> Date: Wed, 20 Aug 2008 23:36:40 +0200 From: Daniel Pfeiffer Reply-To: occitan@esperanto.org User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org CC: Darren Stuart Embry Subject: [Fwd: sh-script.el: indentation of ( )] Content-Type: multipart/alternative; boundary="------------070605070605080903090106" X-ID: VyvTomZDrh5gChjk8DZVPu0C7aphC-Zn6AsccONGLTp9ex4wnXJ-Xk-NDtFv8H6g1I X-TOI-MSGID: 6604c84a-1d18-4e7c-95c4-a914ee2407e1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) This is a multi-part message in MIME format. --------------070605070605080903090106 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id m86JRV8K016912 Hi, since I abandoned Shell in favour of Perl, over to you maintainers: -------- Original-Nachricht -------- Betreff: sh-script.el: indentation of ( ) Datum: Wed, 20 Aug 2008 12:12:12 -0400 Von: Darren Stuart Embry An: Daniel Pfeiffer Hello, I'd like to report an issue regarding indentation of compound commands surrounded with parenthesis. Desired indentation: #!/bin/sh ( true ) { true } What indent-region on the entire buffer yields: #!/bin/sh =09 ( true ) { true } Note that the same behavior does not happen with the { } pair. You have any idea why this is happening and/or how to fix this? Version of emacs: GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-04-27 on raven, modified by Debian Version of sh-script.el: ;; Author: Daniel Pfeiffer ;; Version: 2.0f Thanks in advance. --=20 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in email? coralament / best Gr=C3=B6tens / liebe Gr=C3=BC=C3=9Fe / best regards / e= lkorajn salutojn Daniel Pfeiffer --=20 lerne / learn / apprends / l=C3=A4r dig / ucz si=C4=99 Esperanto: http://lernu.net / http://ikurso.net --------------070605070605080903090106 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id m86JRV8K016912 Hi,

since I abandoned Shell in favour of Perl, over to you maintainers:

-------- Original-Nachricht --------
Betreff: = sh-script.el: indentation of ( )
Datum: Wed, 20 Aug 2008 12:12:12 -0400
Von: Darren Stuart Embry <dse@webonastick.com>
An: Daniel Pfeiffer <occitan@esperanto.org>


Hello,

I'd like to report an issue regarding indentation of compound commands
surrounded with parenthesis.

Desired indentation:

	#!/bin/sh

	(
	    true
	)
	{
	    true
	}

What indent-region on the entire buffer yields:

	#!/bin/sh
=09
	(
	    true
	    )
	{
	    true
	}

Note that the same behavior does not happen with the { } pair.

You have any idea why this is happening and/or how to fix this?

Version of emacs:
	GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll
	bars) of 2008-04-27 on raven, modified by Debian

Version of sh-script.el:
	;; Author: Daniel Pfeiffer <occitan@esperanto.org>
	;; Version: 2.0f

Thanks in advance.

--=20
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in email?


coralament / best Gr=C3=B6tens /=
 liebe Gr=C3=BC=C3=9Fe / best regards / elkorajn salutojn
Daniel Pfeiffer

--=20
lerne / learn / apprends / l=C3=A4r dig / ucz si=C4=99    Esperanto:
                    http://lernu.net  /  http://ikurso.net
--------------070605070605080903090106--