home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / lucidem / bug / 68 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.1 KB  |  48 lines

  1. Path: sparky!uunet!cs.utexas.edu!news
  2. From: cmkuo@cs.utexas.edu (Chin-Ming Kuo)
  3. Newsgroups: alt.lucid-emacs.bug
  4. Subject: lhilit.el, ifdef VMS
  5. Date: 29 Jul 1992 17:09:22 -0500
  6. Organization: CS Dept, University of Texas at Austin
  7. Lines: 36
  8. Message-ID: <l7e5oiINNm3r@yoakum.cs.utexas.edu>
  9. NNTP-Posting-Host: yoakum.cs.utexas.edu
  10. Keywords: masking off ifdef
  11.  
  12. I just tried the lhilit.el, and IT'S GREAT!!!!
  13. While experimenting with different color combination, 
  14. I thought of would it be nice to have the hilit mode 
  15. automatically mask off (by setting the forground color to background) 
  16. ifdef pair. Specifically, make 
  17.  
  18. >>>>>>>>>>
  19.    diskname = malloc(...);    
  20. #ifdef VMS 
  21.     /* initialize descriptor */
  22.     PACK_DESCRIP(dsp, diskname, strlen(diskname));
  23.     PACK_LIST(mylist, 4, avail, r_length);
  24. #endif
  25.  
  26.    ....
  27. >>>>>>>>>>
  28. into
  29.  
  30. >>>>>>>>>>
  31.    diskname = malloc(...);    
  32.  
  33.  
  34.  
  35.  
  36.  
  37.    ....
  38. >>>>>>>>>> 
  39. if on non-VMS machine.
  40.  
  41. Any clue as to how to do it? This will be a good exercise for me to
  42. use elisp.
  43. Thanks.
  44. -- 
  45. Chin-Ming Kuo
  46. cmkuo@cs.utexas.edu
  47. {uunet,rutgers,ti-csl}!cs.utexas.edu!cmkuo
  48.