all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* (set-default-font) not conserved when I do C-x 5 2
@ 2007-05-17 10:31 Thomas Womack
  2007-05-17 17:08 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Womack @ 2007-05-17 10:31 UTC (permalink / raw)
  To: help-gnu-emacs


I have (set-default-font "6x13") in my .emacs file

However, when I do C-x 5 2, the new frame appears in an entirely 
different font; (insert (frame-parameter nil 'font))
says '-Adobe-Courier-Medium-R-Normal--17-120-100-100-M-100-ISO8859-1'
rather than '-Misc-Fixed-Medium-R-Normal--13-120-75-75-C-70-ISO8859-1'.

How can I arrange that all my frames have font "6x13"?

Thomas Womack, Global Phasing Ltd.

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

* Re: (set-default-font) not conserved when I do C-x 5 2
  2007-05-17 10:31 (set-default-font) not conserved when I do C-x 5 2 Thomas Womack
@ 2007-05-17 17:08 ` Peter Dyballa
  2007-05-18 10:00   ` Thomas Womack
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Dyballa @ 2007-05-17 17:08 UTC (permalink / raw)
  To: Thomas Womack; +Cc: help-gnu-emacs


Am 17.05.2007 um 12:31 schrieb Thomas Womack:

> How can I arrange that all my frames have font "6x13"?

Use

	(setq initial-frame-alist '(
	    (font . "6x13")))
	
	(setq initial-frame-alist default-frame-alist)

or set up both frame alists.

--
Greetings

   Pete

Sometimes I think the surest sign that intelligent life exists  
elsewhere in the universe is that none of it has tried to contact us.
                     -- Bill Watterson, in his comic strip Calvin and  
Hobbes

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

* Re: (set-default-font) not conserved when I do C-x 5 2
  2007-05-17 17:08 ` Peter Dyballa
@ 2007-05-18 10:00   ` Thomas Womack
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Womack @ 2007-05-18 10:00 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On Thu, 17 May 2007, Peter Dyballa wrote:

>
> Am 17.05.2007 um 12:31 schrieb Thomas Womack:
>
>> How can I arrange that all my frames have font "6x13"?
>
> Use
>
> 	(setq initial-frame-alist '(
> 	    (font . "6x13")))
> 		(setq initial-frame-alist default-frame-alist)

Many thanks, that works perfectly.

[ I presume the last line should be (setq default-frame-alist 
initial-frame-alist) ]

Tom

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

end of thread, other threads:[~2007-05-18 10:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 10:31 (set-default-font) not conserved when I do C-x 5 2 Thomas Womack
2007-05-17 17:08 ` Peter Dyballa
2007-05-18 10:00   ` Thomas Womack

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.