Re: BASH lint

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

 



Iain Buchanan wrote:

On Fri, 2003-10-17 at 09:07, Bill Gradwohl wrote:

But emacs isn't perfect either...

I use xemacs. The highlighting is too easy to miss. I'm considering writing a function to automatically provide the closing brace, bracket, paren, etc as soon as I give it the first character. Then there's no way to have an unbalanced situation unless you step on a character. kwrite does that and I got used to it.


When you've written it I'd be grateful if you shared it :)

In the example I cited, I tried having xemacs help me locate the
problem, but it got confused. I've noticed that xemacs will sometimes
mess up if comments contain ' or ". It won't properly color code real
code because it believes its inside a quoted string when its not.


Thats exactly what I mean when I say it isn't perfect.  It gets even
worse with perl, because the comment character # can also be used not as
a comment (eg m#...#) which emacs doesn't like.  Oh well!

do any of you use jedit on linux? i have it on my windows machine, haven't gotten around to loading it on my windows box just yet. it has several 'code cleaner' plugins, i am curious if it has one that does what you suggest with the 'hanging' braces, etc.
--


regards,

shane


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux