[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] not urgent: change frame size by function
From: |
Richard M. Heiberger |
Subject: |
Re: [h-e-w] not urgent: change frame size by function |
Date: |
Wed, 28 Dec 2005 09:32:06 -0500 |
Add these to your .emacs
(defun mfp-20+2 ()
"Place emacs frame in upper right hand corner."
(interactive)
(modify-frame-parameters (selected-frame)
(list '(top + -20) '(left - +2))))
(defun resize-frame ()
"Resize current frame to 81 65"
(interactive)
(set-frame-size (selected-frame) 81 65)
(mfp)
)
(fset 'mfp 'mfp-20+2)
(global-set-key [C-f11] 'resize-frame)
(if window-system (resize-frame))
(global-set-key [C-f12] 'mfp)
(if window-system (mfp))
Since you are using R, you will probably want to load ESS (Emacs Speaks
Statistics)
to give you modes for the S language (S-Plus and R) and for the R process and
for
R transcripts of previous sessions.
http://ess.r-project.org