From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: How To Resize Window To Specific Size ?? Date: 26 Aug 2004 09:04:49 +0200 Organization: [posted via Easynet Spain] Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yc2v0q6.fsf@thalassa.informatimago.com> References: <1093482004.429380@sj-nntpcache-5> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093504265 9842 80.91.224.253 (26 Aug 2004 07:11:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2004 07:11:05 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 26 09:10:56 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C0EPQ-0005y4-00 for ; Thu, 26 Aug 2004 09:10:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C0EU1-0001VW-Vh for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Aug 2004 03:15:42 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!easynet-quince!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 25 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=igRZ@CL@;OLS>10eiL`XO4V7M>Uh 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 Xref: main.gmane.org gmane.emacs.help:20294 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20294 "Tennis Smith" writes: > Hi, > > The subject says it all. I would like to be able to set the exact screen > coordinates of my emacs window. Is that possible? For example: (defun current-frame () (car (frame-list))) (defun single-window () "Reduce the frame, to one 80-columns window." (interactive) (let ((cf (current-frame))) (set-frame-width cf 81) (set-frame-height cf 40) (set-frame-position cf -64 0))) -- __Pascal Bourguignon__ http://www.informatimago.com/ Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we.