
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
>>>>> "Jerome" == Jerome Quelin <[EMAIL PROTECTED]> writes:
Jerome> For the completeness sake, I removed the font from my
Jerome> .Xdefaults file, and added the following to my init.el
Jerome> file: (set-face-font 'default
Jerome> "-adobe-courier-medium-r-normal--14-100-100-100-m-90-iso8859-15")
Jerome> It works well, too. But I was wondering which (if any)
Jerome> should be preferred? For which reason(s)?
Lisp solutions should be preferred (if they work). Lisp code is
cross-platform and if platform affects the semantics of an API
(besides making it unavailable), that's a bug and the API should be
split into platform-specific APIs.
Consider that with Xt alone there are several ways to do this using
resources (basically .Xdefaults, -xrm, and -font all set resources,
then XEmacs uses those resources to configure itself). IIRC, XEmacs
will pick up .Xdefaults on MS Windows and GTK, but that's ugly. I
don't know how you do this from the command line or resources on MS
Windows, but I bet it's slightly different semantically. GTK and
GNOME have their own scheme for configuring resources (maybe they call
it something else), in order to support themes, I think. All this is
unclean compared to the Lisp solution.
--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
| <-- __Chronological__ --> | <-- __Thread__ --> |