Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Setting fonts in new frames
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ewen Cartwright  
View profile  
 More options Jan 3 2007, 10:00 am
Newsgroups: gnu.emacs.help
From: "Ewen Cartwright" <ewen.cartwri...@abcam.com>
Date: Wed, 3 Jan 2007 15:00:10 -0000
Local: Wed, Jan 3 2007 10:00 am
Subject: Setting fonts in new frames
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Rodgers  
View profile  
 More options Jan 3 2007, 2:26 pm
Newsgroups: gnu.emacs.help
From: Kevin Rodgers <ihs_4...@yahoo.com>
Date: Wed, 03 Jan 2007 12:26:06 -0700
Local: Wed, Jan 3 2007 2:26 pm
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ewen Cartwright  
View profile  
 More options Jan 3 2007, 4:13 pm
Newsgroups: gnu.emacs.help
From: "Ewen Cartwright" <ewen.cartwri...@abcam.com>
Date: Wed, 3 Jan 2007 21:13:52 -0000
Local: Wed, Jan 3 2007 4:13 pm
Subject: RE: Setting fonts in new frames
Thanks very much -- don't know how I missed that...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »