home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!deccrl!news.crl.dec.com!news!nntpd.lkg.dec.com!dash.lmo.dec.com!tatlow
- From: tatlow@dash.lmo.dec.com (Tom Tatlow)
- Newsgroups: alt.lucid-emacs.help
- Subject: Highlighting problems
- Message-ID: <1992Dec26.001926.26263@nntpd.lkg.dec.com>
- Date: 26 Dec 92 00:19:26 GMT
- Sender: usenet@nntpd.lkg.dec.com (USENET News System)
- Reply-To: tatlow@athena.lmo.dec.com
- Organization: Digital Equipment Corporation, AI Technology Center
- Lines: 44
-
-
- lhilit doesn't work correctly. At the very least, it doesn't work
- consistently and certainly not as I wished it did.
-
- Example:
-
- I load-library lhilit and then go into *scratch*, and go into
- emacs-lisp mode. I type:
-
- ;; comment
-
- and hit C-c C-h -- the line turns red (correct). I then modify the
- line so it looks like this:
-
- ;; comment (defun
-
- and hit C-c C-h -- now ";; comment" is in red and "(defun" is in blue.
- It seems that the comment should override and the whole line should be
- red. Can lhilit do this? Anyway, here's the inconsistent part: I
- then modify the line so it looks like this:
-
- (defun ;; comment (defun
-
- and hit C-c C-h -- now the first "(defun" is in blue, and
- ";; comment (defun" is in red! This can't be right!
-
-
-
- Is there a way to impose ordering on the regexps so that if it matched
- the regexp for comments it would color it red and not go on to see if
- it also matched another regexp?
-
-
-
- ==================================================================
- Tom Tatlow "The Question"
-
- Work: Digital Equipment Corporation, AI Technology Center
- tatlow@athena.lmo.dec.com (508) 480-5397
-
- Home: Post Office Box 1035, Berlin, MA 01503
- tom@math.mit.edu (617) 876-6216
-
- ==================================================================
-