help-gnu-emacs
[Top][All Lists]
Advanced

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

Adding Keyword/Indentation


From: gamename
Subject: Adding Keyword/Indentation
Date: 29 Nov 2005 16:09:08 -0800
User-agent: G2/0.2

Hi,

I have a common in-house tcl construct that looks like this:

set args  {
    -argA  ANY
                DEFAULT xxx
}

This sets up a special argument of datatype ANY and has a default value
of xxx.

Setting the tcl mode to understand that ANY and DEFAULT are new
keywords is easy. But, how do I make tcl-mode indent DEFAULT to be,
say, 8 spaces after the same column as the beginning "-" in "-argA"?

TIA,
-T



reply via email to

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