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

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

Re: Full Screen


From: Michael Slass
Subject: Re: Full Screen
Date: Tue, 07 Sep 2004 12:09:41 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Benjamin Rutt <rutt.4+news@osu.edu> writes:

>Paul Thompson <pault@HiWAAY.net> writes:
>
>> How can I get Emacs to start full screen?
>
>Emacs 21.4 will have a '--fullscreen' argument.  If you're so
>inclined, you can try the cvs version of emacs which has this
>functionality already.
>-- 
>Benjamin Rutt

For earlier versions, you can get close to what you want by adding to
the default-frame-alist


(add-to-list 'default-frame-alist '(top . 0))
(add-to-list 'default-frame-alist '(left . 0))
(add-to-list 'default-frame-alist '(height . 70))
(add-to-list 'default-frame-alist '(width . 150))


Obviously you'll need to twaddle the height and width numbers to
whatever fills your screen using the font of your choice.  The easiest
way to discover those numbers is to use the mouse to get emacs set the
way you want, and then

1) switch to the *scratch* buffer
2) enter (frame-parameters)
3) put the cursor after the closing paren, and hit CTRL-j

Emacs will respond with a list of your frame params.  Somewhere in the
list will be the height and width values for the current frame.

-- 
Mike Slass

reply via email to

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