all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting fonts in new frames
@ 2007-01-03 15:00 Ewen Cartwright
  2007-01-03 19:26 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Ewen Cartwright @ 2007-01-03 15:00 UTC (permalink / raw)


Hi all,

I set the font for my emacs sessions (ntemacs-22) in my .emacs file
thus:

(set-default-font "-*-Lucida Sans
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1")

Which works fine. But every time I open a new frame I get plain old
Courier. I've looked for frame-opening hooks where I can run
set-default-font to get my own font choice in them but nothing I've
tried seems to work. Anyone know how I can achieve this?

TIA,

/ewen

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

* Re: Setting fonts in new frames
  2007-01-03 15:00 Setting fonts in new frames Ewen Cartwright
@ 2007-01-03 19:26 ` Kevin Rodgers
  2007-01-03 21:13   ` Ewen Cartwright
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2007-01-03 19:26 UTC (permalink / raw)


Ewen Cartwright wrote:
> I set the font for my emacs sessions (ntemacs-22) in my .emacs file
> thus:
> 
> (set-default-font "-*-Lucida Sans
> Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1")
> 
> Which works fine. But every time I open a new frame I get plain old
> Courier. I've looked for frame-opening hooks where I can run
> set-default-font to get my own font choice in them but nothing I've
> tried seems to work. Anyone know how I can achieve this?

(add-to-list 'default-frame-alist
	     '(font . "-*-Lucida Sans 
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1"))

-- 
Kevin

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

* RE: Setting fonts in new frames
  2007-01-03 19:26 ` Kevin Rodgers
@ 2007-01-03 21:13   ` Ewen Cartwright
  0 siblings, 0 replies; 3+ messages in thread
From: Ewen Cartwright @ 2007-01-03 21:13 UTC (permalink / raw)


Thanks very much -- don't know how I missed that... 

-----Original Message-----
From: help-gnu-emacs-bounces+ejc=abcam.com@gnu.org
[mailto:help-gnu-emacs-bounces+ejc=abcam.com@gnu.org] On Behalf Of Kevin
Rodgers
Sent: 03 January 2007 19:26
To: help-gnu-emacs@gnu.org
Subject: Re: Setting fonts in new frames

Ewen Cartwright wrote:
> I set the font for my emacs sessions (ntemacs-22) in my .emacs file
> thus:
> 
> (set-default-font "-*-Lucida Sans
> Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1")
> 
> Which works fine. But every time I open a new frame I get plain old 
> Courier. I've looked for frame-opening hooks where I can run 
> set-default-font to get my own font choice in them but nothing I've 
> tried seems to work. Anyone know how I can achieve this?

(add-to-list 'default-frame-alist
	     '(font . "-*-Lucida Sans
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1"))

--
Kevin



_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

end of thread, other threads:[~2007-01-03 21:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03 15:00 Setting fonts in new frames Ewen Cartwright
2007-01-03 19:26 ` Kevin Rodgers
2007-01-03 21:13   ` Ewen Cartwright

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.