[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SOLVED setting default font and window size

From: Ron House
Subject: Re: SOLVED setting default font and window size
Date: Mon, 01 Aug 2016 21:19:27 +1000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2

On 29/07/16 16:09, Ron House wrote:

Pity it wasn't a simple fix, but thanks to all for your time and effort!

And just then, a bright idea collided with the victim...

Let emacs start up, let all the nonsense happen until the font has been chosen, THEN resize the window! So I put this at the bottom of my .emacs:

(when window-system (set-frame-size (selected-frame) 90 70))
(add-to-list 'default-frame-alist '(height . 70))
(add-to-list 'default-frame-alist '(width . 90))

The first line resizes the opening window, the next 2 resize any windows opened with ^X-5-2.

Thanks again to all.

Ron House
Building Peace:
Australian Birds:
Principle of Goodness academic site:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]