home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!news
- From: cmkuo@cs.utexas.edu (Chin-Ming Kuo)
- Newsgroups: alt.lucid-emacs.bug
- Subject: lhilit.el, ifdef VMS
- Date: 29 Jul 1992 17:09:22 -0500
- Organization: CS Dept, University of Texas at Austin
- Lines: 36
- Message-ID: <l7e5oiINNm3r@yoakum.cs.utexas.edu>
- NNTP-Posting-Host: yoakum.cs.utexas.edu
- Keywords: masking off ifdef
-
- I just tried the lhilit.el, and IT'S GREAT!!!!
- While experimenting with different color combination,
- I thought of would it be nice to have the hilit mode
- automatically mask off (by setting the forground color to background)
- ifdef pair. Specifically, make
-
- >>>>>>>>>>
- diskname = malloc(...);
- #ifdef VMS
- /* initialize descriptor */
- PACK_DESCRIP(dsp, diskname, strlen(diskname));
- PACK_LIST(mylist, 4, avail, r_length);
- #endif
-
- ....
- >>>>>>>>>>
- into
-
- >>>>>>>>>>
- diskname = malloc(...);
-
-
-
-
-
- ....
- >>>>>>>>>>
- if on non-VMS machine.
-
- Any clue as to how to do it? This will be a good exercise for me to
- use elisp.
- Thanks.
- --
- Chin-Ming Kuo
- cmkuo@cs.utexas.edu
- {uunet,rutgers,ti-csl}!cs.utexas.edu!cmkuo
-