This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Scheme is too complicated


Maciej Stachowiak <mstachow@mit.edu> writes:

 > ian@bickiia.earlhall.earlham.edu writes:
 > > Readability: Scheme has a way of leading to long expressions.  When
 > > you get down to it, any functional procedure will be made up of one
 > > (long) expression.  That's hard for humans to parse.  I like the
 > > highlighting that DrScheme does -- when you are at a open or close
 > > parenthesis, it highlights (without being obnoxious) the expression
 > > that is enclosed by that parenthesis.  The passive nature of the
 > > highlighting is what makes it nice.  (The static code analysis that
 > > DrScheme does is also nice, but I'm not sure it's helpful enough to
 > > warrant the complexity of implementing the interface)
 > 
 > Hmm, does any Emacs expert know if this can this be done with Emacs's
 > font-lock-mode?

Put:

   (load-library "paren")

in your .emacs & whenever the cursor is near a parentheis then emacs
will hilight that parenthesis & the matching one.  It should be easy
enough to modify the above to hilight the entire expression, but I
find this sufficient & unobtrusive.

-- 
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il