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

Re: [StrongED] ModeWhen syntax



In message <5711e3c537list01@xxxxxxxxxxxxxxxx>
          Martin <list01@xxxxxxxxxxxxxxxx> wrote:

> The help (in 4.70a12) says that ModeWhen Include & Exclude Rules have
> a comma before any match expression.
> 
> The example ModeWhen, and all the default mode files seem to use a
> semicolon.
> 
> Which is correct?

Both are correct, you can use a comma or a semicolon.

> If multiple rules in a group match a file, which is used?
> The first? Or the last? Or even 'the most restrictive'?

The first one that produces a match. If there are multiple rules for a
given filetype/pathname pair then put the most specific one at the top
and the most generic one at the bottom of the list.

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://stronged.torrens.org/index.html