From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sandipchitale@yahoo.com (Sandip Chitale) Newsgroups: gmane.emacs.help Subject: Re: Fonts for Emacs on Windows2000 Date: 4 Feb 2003 18:47:39 -0800 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <8bfd544f.0302031346.6ab92485@posting.google.com> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1044413377 22015 80.91.224.249 (5 Feb 2003 02:49:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 02:49:37 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gFd2-0005iw-00 for ; Wed, 05 Feb 2003 03:49:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gFdv-0003By-02 for gnu-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2003 21:50:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: posting.google.com 1044413259 16014 127.0.0.1 (5 Feb 2003 02:47:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 5 Feb 2003 02:47:39 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:109805 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6313 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6313 Have you tried defun mouse-set-font ? My emacs (on windows) comes with bound to it. Here is the help string: mouse-set-font is an interactive compiled Lisp function in `term/w32-win'. (mouse-set-font &rest FONTS) Select a font. If `w32-use-w32-font-dialog' is non-nil (the default), use the Windows font dialog to get the matching FONTS. Otherwise use a pop-up menu (like Emacs on other platforms) initialized with the fonts in `w32-fixed-font-alist'. peterfbrown@earthlink.net (Peter F. Brown) wrote in message news:<8bfd544f.0302031346.6ab92485@posting.google.com>... > gnu.emacs.help, > > I am having trouble with setting the font while running emacs on my > Win2K machine. I am running emacs 20.7.1. I have defined a > default-frame-alist in my .emacs file, and it includes a > (font . "...horrible X-Windows string describing the font..."). My > .emacs file comes from my days of running on Suns and Silicon Graphics > machines. I know how to change the font using > Menu->Mule->Set Font/Fontset which brings up a nice little menu of > fonts, styles and sizes and it changes to those quite nicely. Now > once I change to this font, how do I extract that funky string to > insert into my .emacs file? > > Perplexed Pete