home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Fri, 22 Jan 1993 15:12:45 EST
- Date: Fri, 22 Jan 1993 12:10:58 PST
- Message-ID: <9301222010.AA10788@thalidomide.lucid>
- X-Windows: The art of incompetence.
- From: jwz@lucid.com (Jamie Zawinski)
- Sender: jwz%thalidomide@lucid.com
- Subject: Re: app-defaults/Emacs file
- References: <CA.93Jan22142244@han.cs.umd.edu>
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Lines: 57
-
- > I have just installed lemacs 19.4. I cant file the applications default
- > file for lemacs.
-
- You don't need one.
-
- > Another related problem is that the following does not work:
- > Emacs.EmacsScreen.font: 6x13
- > but lemacs -fn 6x13 works.
-
- The resource you want is Emacs.EmacsScreen.default.attributeFont.
-
- And using font names like "6x13" is bad practice because emacs can't
- figure out how to turn that into a bold version, so your "bold" and
- "italic" faces come out wrong.
-
- This is all described in the NEWS file (^H n):
-
- The attributes of faces are also per-screen. They may be specified as
-
- Emacs*FACE_NAME.parameter: value
- or
- Emacs.SCREEN_NAME.FACE_NAME.parameter: value
-
- Faces accept the following resources:
-
- attributeFont (class AttributeFont): font-name
-
- The font of this face.
-
- [...]
-
- All text is displayed in some face, defaulting to the face named "default".
- So to set the font of normal text, use "Emacs*default.attributeFont".
- To set it in the screen named "foo", use "Emacs*foo*default.attributeFont".
-
- These are the names of the predefined faces:
-
- default Everything inherits from this.
-
- [...]
-
- If the bold, italic, and bold-italic faces are not specified in the resource
- database, then emacs attempts to derive them from the font of the default face.
- It can only succeed at this if you have specified the default font using the
- XLFD (X Logical Font Description) format, which looks like
-
- *-courier-medium-r-*-*-*-120-*-*-*-*-*-*
-
- if you use any of the other, less strict font name formats, some of which
- look like
- lucidasanstypewriter-12
- and fixed
- and 9x13
-
- then emacs won't be able to guess the names of the bold and italic versions.
- All X fonts can be referred to via XLFD-style names, so you should use those
- forms. See the man pages for X(1), xlsfonts(1), and xfontsel(1).
-