home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / alt / lucidem / help / 933 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.2 KB  |  70 lines

  1. x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 22 Jan 1993 15:12:45 EST
  2. Date: Fri, 22 Jan 1993 12:10:58 PST
  3. Message-ID: <9301222010.AA10788@thalidomide.lucid>
  4. X-Windows: The art of incompetence.
  5. From: jwz@lucid.com (Jamie Zawinski)
  6. Sender: jwz%thalidomide@lucid.com
  7. Subject: Re: app-defaults/Emacs file
  8. References: <CA.93Jan22142244@han.cs.umd.edu>
  9. Newsgroups: alt.lucid-emacs.help
  10. Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
  11. Lines: 57
  12.  
  13. > I have just installed lemacs 19.4. I cant file the applications default
  14. > file for lemacs.
  15.  
  16. You don't need one.
  17.  
  18. > Another related problem is that the following does not work:
  19. >     Emacs.EmacsScreen.font: 6x13
  20. > but lemacs -fn 6x13 works.
  21.  
  22. The resource you want is Emacs.EmacsScreen.default.attributeFont.
  23.  
  24. And using font names like "6x13" is bad practice because emacs can't
  25. figure out how to turn that into a bold version, so your "bold" and
  26. "italic" faces come out wrong.
  27.  
  28. This is all described in the NEWS file (^H n):
  29.  
  30. The attributes of faces are also per-screen.  They may be specified as
  31.  
  32.     Emacs*FACE_NAME.parameter: value
  33. or
  34.     Emacs.SCREEN_NAME.FACE_NAME.parameter: value
  35.  
  36. Faces accept the following resources:
  37.  
  38.   attributeFont (class AttributeFont): font-name
  39.  
  40.     The font of this face.
  41.  
  42. [...]
  43.  
  44. All text is displayed in some face, defaulting to the face named "default".
  45. So to set the font of normal text, use "Emacs*default.attributeFont".
  46. To set it in the screen named "foo", use "Emacs*foo*default.attributeFont".
  47.  
  48. These are the names of the predefined faces:
  49.  
  50.     default            Everything inherits from this.
  51.  
  52. [...]
  53.  
  54. If the bold, italic, and bold-italic faces are not specified in the resource
  55. database, then emacs attempts to derive them from the font of the default face.
  56. It can only succeed at this if you have specified the default font using the
  57. XLFD (X Logical Font Description) format, which looks like
  58.  
  59.     *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
  60.  
  61. if you use any of the other, less strict font name formats, some of which
  62. look like
  63.         lucidasanstypewriter-12
  64. and        fixed
  65. and        9x13
  66.  
  67. then emacs won't be able to guess the names of the bold and italic versions.
  68. All X fonts can be referred to via XLFD-style names, so you should use those
  69. forms.  See the man pages for X(1), xlsfonts(1), and xfontsel(1).
  70.