[PLUG] Setting initinal/default emacs frame size

Johnathan Mantey manteyjg at gmail.com
Tue Aug 13 18:14:34 UTC 2019


>From emacswiki I found the initial-frame-alist and default-frame-alist
variables.
I added a single line into my .emacs file and renamed my init.el file.
(setq initial-frame-alist
       '((top . 10) (left . 20) (width . 150) (height . 25)))

When I launch emacs the frame changes according to the values within the
.emacs file.
I am using 26.2.

On Tue, Aug 13, 2019 at 9:30 AM Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> I'm running emacs-26.2. My web searches for setting the initial/default
> frame size find elisp solutions for ~/.emacs, but so far all of them are
> apparently for earlier versions and use deprecated syntax. So far I've
> tried
> a half-dozen solutions and they do either nothing or emacs tells me there's
> an initiation error.
>
> For the 19" square HP monitor I want the emacs frame to be 95px wide and
> 50px tall.
>
> Pointer to a solution for this version is desired.
>
> Regards,
>
> Rich
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>



More information about the PLUG mailing list