bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#753: [Fwd: sh-script.el: indentation of ( )]


From: Daniel Pfeiffer
Subject: bug#753: [Fwd: sh-script.el: indentation of ( )]
Date: Wed, 20 Aug 2008 23:36:40 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

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
	
	(
	    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.

-- 
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ötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / lär dig / ucz się    Esperanto:
                    http://lernu.net  /  http://ikurso.net

reply via email to

[Prev in Thread] Current Thread [Next in Thread]