help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] emacs geometry


From: Paul Whitfield
Subject: Re: [h-e-w] emacs geometry
Date: Thu, 01 Aug 2002 15:37:41 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020721

Richard M. Heiberger wrote:
I have the following in my .emacs

;;; This setting gives me a size 12 on a 1600x1200 display.
(set-default-font "-*-Courier New-normal-r-*-*-16-97-*-*-c-*-*-iso8859-1")

;;; This gives me full height of the screen
(defun resize-frame ()
  "Resize current frame to 81 52"
  (interactive)
  (set-frame-size (selected-frame) 81 52))
(resize-frame)

;;; to recover size after readjusting it manually I use
(global-set-key [C-f11] 'resize-frame)

;;; On 1024x768 I use
(defun resize-frame ()
  "Resize current frame to 81 41"
  (interactive)
  (set-frame-size (selected-frame) 81 41))


The advantage of doing it via the registry is that
emacs does not draw the frame, then change fonts and redraw the
frame. (This is equivilent to setting about a .xdefaults file
under X)

Thus saving valuable seconds and looking much less ugly.

Regards
Paul





reply via email to

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