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

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

Re: syntax class for $ in sh-mode


From: Stefan Monnier
Subject: Re: syntax class for $ in sh-mode
Date: Wed, 11 May 2005 17:58:16 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> > Is there any reason that $ does not have a `.' (punctuation) syntax
>> > class in sh-mode?
>> 
>> Just "." would be wrong IMNSHO (because C-M-b wouldn't properly jump over
>> $BLAH).  I'd vote for ". p" or "'" syntax.  Not sure between the two.

> A little bit of testing showed that none of the above required any changes
> to the indentation code or font-lock-keywords. 
> So if somebody can pick one, I can check in the change...

I don't think anybody really understands the difference between "'" and
". p" enough to make a choice here.  So just pick one, and add a comment
explaining that the other would apparently work as well.


        Stefan




reply via email to

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