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

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

(case x in y)z;;easc) indentation


From: Dan Jacobson
Subject: (case x in y)z;;easc) indentation
Date: Fri, 15 Jun 2007 20:02:37 +0800

#!/bin/sh
(
    case $x in
        y)echo z;;
    esac
    )      ##starting here we see shell-script mode has been seduced by
    mv a b ##voluptuous curves of the above "y)". The one-second duration
##matching parens flasher gets it right, but not the TAB indenter.

Also, putting an extra "in" here:
        y)echo z in;;
glows blue just like it was the real "in" at the start of the case.

Also, need a space if want to get these brackets nice:

{
    a
    }>b

{
    a
} >b


In GNU Emacs 22.0.95.1 (Debian emacs-snapshot package, version 1:20070302-1)




reply via email to

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