From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Pfeiffer Newsgroups: gmane.emacs.bugs Subject: bug#753: [Fwd: sh-script.el: indentation of ( )] Date: Wed, 20 Aug 2008 23:36:40 +0200 Message-ID: <48AC8E68.8080503@t-online.de> Reply-To: occitan@esperanto.org, 753@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------070605070605080903090106" X-Trace: ger.gmane.org 1219378820 1428 80.91.229.12 (22 Aug 2008 04:20:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 04:20:20 +0000 (UTC) Cc: Darren Stuart Embry To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 06:21:10 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWO91-0003nH-SB for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 06:21:04 +0200 Original-Received: from localhost ([127.0.0.1]:51370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWO84-00088Y-6E for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 00:20:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVvWd-0007Ml-JZ for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:47:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVvWc-0007Li-G0 for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:47:31 -0400 Original-Received: from [199.232.76.173] (port=53709 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVvWc-0007LX-AD for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:47:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55410) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVvWb-0003Uu-Md for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 17:47:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7KLlRFh024978; Wed, 20 Aug 2008 14:47:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7KLj4VX023772; Wed, 20 Aug 2008 14:45:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Daniel Pfeiffer Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 20 Aug 2008 21:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 753 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121926822021885 (code B ref -1); Wed, 20 Aug 2008 21:45:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 20 Aug 2008 21:37:00 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 User-Agent: Thunderbird 2.0.0.16 (X11/20080724) 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) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 20 Aug 2008 17:47:31 -0400 X-Mailman-Approved-At: Fri, 22 Aug 2008 00:18:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19626 Archived-At: 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 m7KLlRFh024978 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 m7KLlRFh024978 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--