all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fw: sh-script.el case indentation problem
@ 2003-09-11 18:56 Daniel Pfeiffer
  0 siblings, 0 replies; only message in thread
From: Daniel Pfeiffer @ 2003-09-11 18:56 UTC (permalink / raw)
  Cc: David James

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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-11 18:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-11 18:56 Fw: sh-script.el case indentation problem Daniel Pfeiffer

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.