From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: using emacs with nx Date: Mon, 29 Jul 2013 17:11:54 +0200 Message-ID: <77681328-1077-406D-8962-43FA6A41BDBB@web.de> References: <70588E74-25DA-4396-8B38-6483EE5D88F3@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375110737 25168 80.91.229.3 (29 Jul 2013 15:12:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jul 2013 15:12:17 +0000 (UTC) Cc: help-gnu-emacs Help To: Andrew Michael Levin Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 29 17:12:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V3p7T-0000mi-9W for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 17:12:19 +0200 Original-Received: from localhost ([::1]:43034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3p7S-00058h-RQ for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Jul 2013 11:12:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3p7C-00053L-Vv for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 11:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V3p76-00026S-Vl for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 11:12:02 -0400 Original-Received: from mout.web.de ([212.227.15.4]:57684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V3p76-00026E-L4 for help-gnu-emacs@gnu.org; Mon, 29 Jul 2013 11:11:56 -0400 Original-Received: from sumac.fritz.box ([88.153.241.211]) by smtp.web.de (mrweb103) with ESMTPA (Nemesis) id 0M5OUd-1U9P8P3IZr-00zaq9 for ; Mon, 29 Jul 2013 17:11:54 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1085) X-Provags-ID: V03:K0:d9mMAIGuhC3EmTc9O//ilmDDNVHkT0orymHq9FKrSoValWpnuPq FMHPGqhL6una03wbf+rxmYza7gTW6v97BsYXchC3R7owcAOAmvp0zDfYoJOiNCqegUSkv92 zsTTdMFVV9G1M/vWzXYSZiGAM1WBiJG4Xql2ujnSa4HVPC03JUh+p6b1KhKhS/ls/2sLO3m 8WjfdeCwvNs1bHI/sh8ig== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92509 Archived-At: Am 29.07.2013 um 15:35 schrieb Andrew Michael Levin: > My laptop is running windows. I don't know what or where xfontsel, > xlsfonts, or libfontconfig are. How can I check these things? These things are UNIX things. They get installed when you install X = Windows or X11 (https://en.wikipedia.org/wiki/X_Window_System). >=20 > Is there a way to make emacs not use these fonts? Find at least one tool that can tell you which fonts are available in = that "nx" environment. Then choose something useful from this set and = make GNU Emacs use fonts from this set. If the Emacs running natively in = MS and that in the "nx" environment are using the same init file, then = you can check whether these Emacsen see that they are running in either = this or that environment. If this works you can optimise the init file = to make GNU Emacs use optimised (font) settings for this or that = environment. In X11 X resources are set up to tell GNU Emacs and other X clients = which fonts, colours, geometries, etc. to use. On non-UNIX platforms = maybe GNU Emacs is also reading the file .Xresources or .Xdefaults, if = it exists in the HOME directory. The contents of these files can be, for = example: Emacs.font: Lucida Sans = Typewriter:autohint=3Dtrue:antialias=3Dtrue:style=3DRegular:size=3D7 Emacs.menu*.font: Vera Humana 95:style=3DBold:size=3D7 Emacs.pane.menubar.font: Libris ADF = Std:size=3D7:autohint=3Dtrue:antialias=3Dtrue:style=3DBold Emacs.pane.menubar.*.fontList: -*-luxi = sans-bold-r-normal-*-*-60-*-*-*-*-iso10646-1 Emacs.pane.menubar.popup_*.*.fontList: -*-new century = schoolbook-bold-r-normal-*-*-70-*-*-*-*-iso10646-1 Emacs.menu*.fontList: = -*-utopia-bold-r-*-*-*-55-*-*-*-*-iso10646-1 Emacs.dialog*.font: = -*-lucidatypewriter-bold-r-*-sans-6-*-*-*-*-*-iso10646-1 Emacs.dialog*.font: Lucida Sans = Typewriter:autohint=3Dtrue:antialias=3Dtrue:style=3DRegular:size=3D7 Emacs.dialog*background: RosyBrown4 Emacs.dialog*foreground: SpringGreen3 (The font names containing the element "-*" are those delivered by the X = server, the others are served by libfontconfig.) If it does not read these files, then it's possible to launch GNU Emacs = with arguments that "artificially" set X resource values: emacs -xrm = 'Emacs.menu*.font: Vera Humana 95:style=3DBold:size=3D7'. Or how ever = this can be done in MS or "nx" environments! -- Greetings Pete Wasting time is an important part of living.