emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting font to Lucida Grande on Mac OS X


From: Luc Teirlinck
Subject: Re: Setting font to Lucida Grande on Mac OS X
Date: Fri, 19 Sep 2003 17:53:45 -0500 (CDT)

One more remark about (emacs)Font X:

I do not know whether it would be useful to include the little extra
paragraph below starting with "Note that if you use a wildcard pattern
on the command line,..." or whether that is redundant given the two
examples above it.  Note that this is tricky.  For instance if you use
bash and the `nullglob' shell option is not enabled (it is not by
default) then bash leaves any pattern that matches no file unchanged.
Hence the user could easily get the impression that quoting is
unnecessary, because most of the time it is not.  With `nullglob'
enabled (as I do) bash replaces a pattern that does not match any file
with the empty list and failing to quote _always_ leads to trouble.

Relevant excerpt with proposed extra paragraph:

Here is an example, which happens to specify the font whose nickname
is @samp{6x13}:

@smallexample
emacs -fn \
  "-misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1" &
@end smallexample

@noindent
You can also specify the font in your @file{.Xdefaults} file:

@smallexample
emacs.font: -misc-fixed-medium-r-semicondensed--13-*-*-*-c-60-iso8859-1
@end smallexample

  Note that if you use a wildcard pattern on the command line, you
need to enclose it in single or double quotes, to prevent the shell
from accidentally expanding it into a list of file names.  On the
other hand, you should not quote the name in the @file{.Xdefaults}
file.

The default font used by Emacs (under X) is:

@smallexample
-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1
@end smallexample




reply via email to

[Prev in Thread] Current Thread [Next in Thread]