From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [dapfy@t-online.de: Fw: sh-script.el case indentation problem] Date: Fri, 12 Sep 2003 17:05:16 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1063401118 32294 80.91.224.253 (12 Sep 2003 21:11:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2003 21:11:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Sep 12 23:11:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19xvCv-0001bp-00 for ; Fri, 12 Sep 2003 23:11:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19xvEM-0008DN-00 for ; Fri, 12 Sep 2003 23:13:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xvCF-0004SX-0g for emacs-devel@quimby.gnus.org; Fri, 12 Sep 2003 17:11:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19xvC2-0004Qe-7R for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:11:02 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19xvBy-0004L7-2g for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:10:59 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19xvBx-0004K2-Ct for emacs-devel@gnu.org; Fri, 12 Sep 2003 17:10:57 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19xv6S-0000ZH-07; Fri, 12 Sep 2003 17:05:16 -0400 Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16343 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16343 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 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 -------