home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0092.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  980 b   |  25 lines

  1. Mike Battaglia wrote:
  2. > This is only half it.  For instance, if I want to set-up a keyword that no
  3. > other keyword can over write (i.e. comments) I can't.
  4.                 ^^^^^^^^^^^^^
  5. That's true, but you example fails to convince me that this is a useful thing
  6. to want to do.  The whole point of font-lock mode is that you should not be
  7. using regexps to match comments.  You should be using syntax tables for that
  8. because it's A: faster, and B: correct rather than approximate.
  9.  
  10. I still haven't seen any real examples that convince me that font-lock mode
  11. needs to do something more than it does now.  And the reason I'm reluctant
  12. to put in unnecessary features are because they would slow it down and make
  13. its syntax even more complicated than it is now.
  14.  
  15. >  if bug exit.
  16. > and if is also highlighted.  Oh what a tangled web...
  17.  
  18. So the "if" is highlighted and the "exit" is highlighted.  You don't need
  19. to mark "exit" as being highlighted everywhere.  What's the problem?
  20.  
  21.     -- Jamie
  22.  
  23.