unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Fonts for Emacs on Windows2000
@ 2003-02-03 21:46 Peter F. Brown
  2003-02-03 22:08 ` Benjamin Riefenstahl
  2003-02-05  2:47 ` Sandip Chitale
  0 siblings, 2 replies; 4+ messages in thread
From: Peter F. Brown @ 2003-02-03 21:46 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fonts for Emacs on Windows2000
  2003-02-03 21:46 Fonts for Emacs on Windows2000 Peter F. Brown
@ 2003-02-03 22:08 ` Benjamin Riefenstahl
  2003-02-04 16:14   ` Peter F. Brown
  2003-02-05  2:47 ` Sandip Chitale
  1 sibling, 1 reply; 4+ messages in thread
From: Benjamin Riefenstahl @ 2003-02-03 22:08 UTC (permalink / raw)


Hi Peter,


peterfbrown@earthlink.net (Peter F. Brown) writes:
> Now once I change to this font, how do I extract that funky string
> to insert into my .emacs file?

M-: (w32-select-font) RET and copy the font string from your Messages
buffer or evaluate (insert (w32-select-font)) in the scratch buffer.


Hope this helps, benny

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fonts for Emacs on Windows2000
  2003-02-03 22:08 ` Benjamin Riefenstahl
@ 2003-02-04 16:14   ` Peter F. Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Peter F. Brown @ 2003-02-04 16:14 UTC (permalink / raw)


Gnu.emacs.help,

Thanks Benjamin, that does the trick!

Pete

Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> wrote in message news:<m3y94x6mr8.fsf@cicero.benny.turtle-trading.net>...
> Hi Peter,
> 
> 
> peterfbrown@earthlink.net (Peter F. Brown) writes:
> > Now once I change to this font, how do I extract that funky string
> > to insert into my .emacs file?
> 
> M-: (w32-select-font) RET and copy the font string from your Messages
> buffer or evaluate (insert (w32-select-font)) in the scratch buffer.
> 
> 
> Hope this helps, benny

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Fonts for Emacs on Windows2000
  2003-02-03 21:46 Fonts for Emacs on Windows2000 Peter F. Brown
  2003-02-03 22:08 ` Benjamin Riefenstahl
@ 2003-02-05  2:47 ` Sandip Chitale
  1 sibling, 0 replies; 4+ messages in thread
From: Sandip Chitale @ 2003-02-05  2:47 UTC (permalink / raw)


Have you tried defun mouse-set-font ? My emacs (on windows) comes with 
<S-down-mouse-1> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-05  2:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-03 21:46 Fonts for Emacs on Windows2000 Peter F. Brown
2003-02-03 22:08 ` Benjamin Riefenstahl
2003-02-04 16:14   ` Peter F. Brown
2003-02-05  2:47 ` Sandip Chitale

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).