[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Programmatically setting the frame size and position
From: |
Drew Adams |
Subject: |
RE: Programmatically setting the frame size and position |
Date: |
Wed, 19 Nov 2014 19:12:28 -0800 (PST) |
> I would like to know how you go about setting the
> size and position of a given frame using Elisp instead
> of the mouse.
Just use functions `set-frame-position', `set-frame-height',
and `set-frame-width'. Or use function `set-frame-parameter'
or function `modify-frame-parameters'.
See the Elisp manual, node `Size and Position'.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Size-and-Position.html#Size-and-Position
You can get to that node in Emacs, using `C-h i', choosing
the Elisp manual, and then using g `Size and Position'.
Or once in the manual, type `i set-frame TAB' to see these
and related functions, and choose one of those mentioned
to get to the information about them.