From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Programmatically setting the frame size and position Date: Wed, 19 Nov 2014 19:12:28 -0800 (PST) Message-ID: References: <11d97ae3-a07f-440f-970d-cfebbe9a5026@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416453185 11338 80.91.229.3 (20 Nov 2014 03:13:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2014 03:13:05 +0000 (UTC) To: Davin Pearson , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 04:12:59 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XrIB1-0000RX-5O for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2014 04:12:59 +0100 Original-Received: from localhost ([::1]:33314 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrIB0-0006sn-Eo for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Nov 2014 22:12:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrIAh-0006sd-Mp for help-gnu-emacs@gnu.org; Wed, 19 Nov 2014 22:12:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XrIAa-00018A-Ek for help-gnu-emacs@gnu.org; Wed, 19 Nov 2014 22:12:39 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:25207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XrIAa-00017s-7q for help-gnu-emacs@gnu.org; Wed, 19 Nov 2014 22:12:32 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sAK3CUrM002726 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Nov 2014 03:12:30 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sAK3CTX6012704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Nov 2014 03:12:29 GMT Original-Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id sAK3CSZq012686; Thu, 20 Nov 2014 03:12:29 GMT In-Reply-To: <11d97ae3-a07f-440f-970d-cfebbe9a5026@googlegroups.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101064 Archived-At: > 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.