home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / alt / lucidem / help / 810 < prev    next >
Encoding:
Text File  |  1992-12-21  |  3.6 KB  |  101 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 18 Dec 1992 16:04:32 EST
  2. From: amitp@owlnet.rice.edu (Amit Jayant Patel)
  3. Message-ID: <9212182103.AA16616@flammulated.owlnet.rice.edu>
  4. Subject: X Resources for Lemacs
  5. Date: Fri, 18 Dec 1992 15:03:46 CST
  6. Organization:  High Council of the Advancement of Borg Assimilation Techniques
  7. X-Mailer: ELM [version 2.3 PL11]
  8. Newsgroups: alt.lucid-emacs.help
  9. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  10. Sender: help-lucid-emacs-request@lucid.com
  11. Lines: 88
  12.  
  13. I agree that the the documentation is fuzzy on X resources.  To figure
  14. out how to change the menu colors, I had to look at the source code!
  15.  
  16. Here's what I have for .Xresources:
  17.  
  18.  
  19. ! Lemacs
  20. Emacs*XlwMenu.font:                             *-lucida-medium-r-*-14-*
  21. Emacs*XlwMenu.horizontalSpacing:               10
  22. Emacs*XlwMenu.verticalSpacing:            1
  23. ! I can't figure out if these are supposed to work
  24. !Emacs*XlwMenu.arrowSpacing:            10
  25. !Emacs*XlwMenu.cursor:                right_ptr
  26. !Emacs*XlwMenu.horizontal:            1
  27. !Emacs*XlwMenu.shadowThickness:            0
  28. !Emacs*XlwMenu.topShadowColor:            ?
  29. !Emacs*XlwMenu.bottomShadowColor:        ?
  30.  
  31. ! Yes, the modeline can have its own fonts and colors!
  32. Emacs*modeline.attributeFont:            *-lucida-medium-r-*-14-*
  33.  
  34. Emacs.geometry:                    80x57-0-0
  35. Emacs.EmacsScreen*geometry:                     80x57-0-0
  36. Emacs.EmacsScreen*internalBorderWidth:          0
  37. Emacs.EmacsScreen*interline:                    0
  38. ! You can change the cursors used by lemacs
  39. !Emacs.EmacsScreen*textPointer:
  40. !Emacs.EmacsScreen*spacePointer:
  41. !Emacs.EmacsScreen*modePointer:
  42. !Emacs.EmacsScreen*gcPointer:
  43.  
  44. ! Courier has bold & italic versions so it works pretty well
  45. Emacs*default.attributeFont:                    *-courier-medium-r-*-14-*
  46.  
  47. #ifdef COLOR
  48. Emacs*cursorColor:                          skyblue
  49. Emacs*pointerColor:                skyblue
  50. Emacs*pointerBackground:            black
  51. Emacs*default.attributeForeground:              white
  52. Emacs*default.attributeBackground:              #393344
  53. Emacs*primary-selection.attributeForeground:    white
  54. Emacs*primary-selection.attributeBackground:    purple4
  55. Emacs*isearch.attributeForeground:        white
  56. Emacs*isearch.attributeBackground:        green4
  57. Emacs*secondary-selection.attributeForeground:    white
  58. Emacs*secondary-selection.attributeBackground:    purple
  59. Emacs*highlight.attributeForeground:        white
  60. Emacs*highlight.attributeBackground:        blue4
  61.  
  62. ! Used by a shell highlighting package supplied with lemacs
  63. Emacs*shell-font.attributeForeground:        #99bbff
  64. Emacs*shell-font.font:                *-helvetica-medium-r-*-14-*
  65.  
  66. ! Font-lock mode
  67. Emacs*font-lock-comment-face.attributeForeground:    #ffff99
  68. Emacs*font-lock-function-name-face.attributeForeground:    #99ffff
  69. Emacs*font-lock-keyword-face.attributeForeground:    white
  70. Emacs*font-lock-string-face.attributeForeground:    #eeddbb
  71. Emacs*font-lock-symbol-face.attributeForeground:    #eebbdd
  72.  
  73. ! Mode-motion+ stuff
  74. Emacs*modeline.attributeForeground:        white
  75. Emacs*modeline.attributeBackground:        #775588
  76.  
  77. Emacs*mode-motion-face.attributeForeground:    #ffffee
  78. ! You can change the font on mode-motion+'s highlighting ... it
  79. ! looks really funny when you move the mouse around and the font
  80. ! suddenly gets bigger.
  81. !Emacs*mode-motion-face.attributeFont:        *-courier-medium-r-*-14-*
  82. !Emacs*mode-motion-face.attributeBackground:    black
  83.  
  84. Emacs*XlwMenu.foreground:                       white
  85. Emacs*XlwMenu.background:                        #775588
  86. Emacs*XlwMenu.buttonForeground:            green
  87.  
  88. #else
  89. ! Setup for monochrome systems
  90. Emacs*primary-selection.attributeForeground:    white
  91. Emacs*primary-selection.attributeBackground:    black
  92.  
  93. Emacs*modeline.attributeForeground:        white
  94. Emacs*modeline.attributeBackground:        black
  95. #endif
  96.  
  97.  
  98.  
  99.  
  100.         Amit
  101.