[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How To Resize Window To Specific Size ??
From: |
Pascal Bourguignon |
Subject: |
Re: How To Resize Window To Specific Size ?? |
Date: |
26 Aug 2004 09:04:49 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
"Tennis Smith" <tennis_smith@yahoo-remove-to-reply.com> writes:
> Hi,
>
> The subject says it all. I would like to be able to set the exact screen
> coordinates of my emacs window. Is that possible?
For example:
(defun current-frame () (car (frame-list)))
(defun single-window ()
"Reduce the frame, to one 80-columns window."
(interactive)
(let ((cf (current-frame)))
(set-frame-width cf 81)
(set-frame-height cf 40)
(set-frame-position cf -64 0)))
--
__Pascal Bourguignon__ http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.