all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [dapfy@t-online.de: Fw: sh-script.el case indentation problem]
@ 2003-09-12 21:05 Richard Stallman
  2003-09-12 21:22 ` Andreas Schwab
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Stallman @ 2003-09-12 21:05 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]

Would anyone like to work on this?

------- Start of forwarded message -------
Date: Thu, 11 Sep 2003 20:56:32 +0200
From: dapfy@t-online.de (Daniel Pfeiffer)
To: bug-gnu-emacs@gnu.org
X-Seen: false
X-ID: TnRm-rZXQeuUN5Sv+JafzeEkQuunYrt-RH1eiayPZrCXj8HbYGSKoh
Cc: David James <david.w.james@door.nissenhut.com>
Subject: Fw: sh-script.el case indentation problem
Sender: bug-gnu-emacs-bounces+rms=gnu.org@gnu.org

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.

Plusendata:

> Dato: Wed, 10 Sep 2003 14:53:46 +0100
> De: david.w.james@door.nissenhut.com (David James)
> Al: occitan@esperanto.org
> 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:
                              http://lernu.net/


_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-09-16  2:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-12 21:05 [dapfy@t-online.de: Fw: sh-script.el case indentation problem] Richard Stallman
2003-09-12 21:22 ` Andreas Schwab
2003-09-12 21:45   ` Miles Bader
2003-09-12 22:12     ` Stefan Monnier
2003-09-13  1:19       ` Robert Anderson
2003-09-16  2:21       ` Miles Bader

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.