[Top][All Lists]

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

address@hidden: Fw: sh-script.el case indentation problem]

From: Richard Stallman
Subject: address@hidden: Fw: sh-script.el case indentation problem]
Date: Fri, 12 Sep 2003 17:05:16 -0400

Would anyone like to work on this?

------- Start of forwarded message -------
Date: Thu, 11 Sep 2003 20:56:32 +0200
From: address@hidden (Daniel Pfeiffer)
To: address@hidden
X-Seen: false
X-ID: TnRm-rZXQeuUN5Sv+JafzeEkQuunYrt-RH1eiayPZrCXj8HbYGSKoh
Cc: David James <address@hidden>
Subject: Fw: sh-script.el case indentation problem
Sender: address@hidden

Saluton, Moin,

sh-script-mode has evolved heavily since I wrote it.  Since I've shunned Shell 
for Perl, there's no point in me being maintainer any more.


> Dato: Wed, 10 Sep 2003 14:53:46 +0100
> De: address@hidden (David James)
> Al: address@hidden
> Temo: sh-script.el case indentation problem

> Hi,
> I'm using the sh-script.el v2.0f that comes with Gnu emacs v21.3 to try
> to indent lines automatically. I've hit a problem with case statements.
> Your name is in there as the maintainer, so I'm hoping you may be able
> to help.
> The small script below shows the problem. The statements after the
> case labels line up with the labels themselves rather than being indented
> according to the setting of sh-indent-for-case-alt.
> Hitting C-c ? with point on the e of 'echo' produces the message 'line has
> default indentation' so it appears that the line isn't recognised as a
> statment following a label.
> I've tried running with sh-debug on but my knowledge of Emacs Lisp is
> approximately zero and the learning curve for syntax tables etc is steep.
> Can you help?
> David James
> #!/bin/sh
> case $int in
>   abc*)
>   echo ok
>   ;;
>   def)
>   ;;
> esac

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

- -- 
lerne / learn / apprends / läramå    Esperanto:

Bug-gnu-emacs mailing list
------- End of forwarded message -------

reply via email to

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