From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Newsgroups: gmane.emacs.help Subject: Change Emacs window size Date: Fri, 13 Feb 2009 08:39:31 +0300 Message-ID: <49950793.8060805@gmail.com> Reply-To: coopht@gmail.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1234503575 1885 80.91.229.12 (13 Feb 2009 05:39:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 05:39:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 13 06:40:50 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LXqnA-00042d-PH for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 06:40:49 +0100 Original-Received: from localhost ([127.0.0.1]:59287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXqlq-0004C6-Hl for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 00:39:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXqlT-0004C1-SA for help-gnu-emacs@gnu.org; Fri, 13 Feb 2009 00:39:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXqlR-0004Bp-TE for help-gnu-emacs@gnu.org; Fri, 13 Feb 2009 00:39:03 -0500 Original-Received: from [199.232.76.173] (port=46011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXqlR-0004Bm-NX for help-gnu-emacs@gnu.org; Fri, 13 Feb 2009 00:39:01 -0500 Original-Received: from mail-ew0-f33.google.com ([209.85.219.33]:58031) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXqlR-0005KC-D0 for help-gnu-emacs@gnu.org; Fri, 13 Feb 2009 00:39:01 -0500 Original-Received: by ewy14 with SMTP id 14so359847ewy.18 for ; Thu, 12 Feb 2009 21:38:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=9EzFkQJo2I9rPqaLKJP+HrgaBPgwjFzsU/OGx2IBoPQ=; b=tgCugdgFbbzadJojz0mbgJ16l2xJPmgvMYj2wvHZdFlx+Q4q6Hn1Nke2ahud9I0y2k Q+jYPFYj3xw6zmbMmD1bStipwu1t9Fs8hR8R86hoTed9g7HCjjDBuTV435VPp3JiL6W/ ga2HRFweLP5TMUKdAVj2hhsqwKCVPp3BRUBtk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=WyWodkDsgWPscBBorONKUqA5BCTFOTZ/kiLOv98SBC1MjB9iosgM/Od+1pQO566O+f WGi2OkUsU5h23ypTTKcw3yeG4Kagd3LhKLWYf3XW+V5oU5nFImTIzr7G3Q4d7WoTStAT 6UVQT0QY6wmYGFdtnZ1Jg3lslFneHLk8P2JJo= Original-Received: by 10.210.139.15 with SMTP id m15mr1331749ebd.34.1234503536973; Thu, 12 Feb 2009 21:38:56 -0800 (PST) Original-Received: from ?106.109.8.53? ([213.33.220.118]) by mx.google.com with ESMTPS id 28sm635538eye.29.2009.02.12.21.38.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 12 Feb 2009 21:38:56 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.1b3pre) Gecko/20081204 Thunderbird/3.0b1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62095 Archived-At: Hello. I would like to know, how to change emacs' frame (X11 window) size on the fly. I've discovered function x-send-client-message in emacs, which is used to make emacs full screen, but all my tries to make emacs frame a little smaller or a little larger did not have any result. I've tried to do so, but it does not work *(defun toggle-fullscreen () (interactive) (x-send-client-message nil 0 nil "_NET_MOVERESIZE_WINDOW" 32 '(100 100 40 40)) )* Can anybody help me? Thanks.