From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chetan Newsgroups: gmane.emacs.help Subject: Re: Change Emacs window size Date: Fri, 13 Feb 2009 07:35:59 -0800 Organization: Noname Inc. Message-ID: References: <49950793.8060805@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1234539701 16957 80.91.229.12 (13 Feb 2009 15:41:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2009 15:41:41 +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 16:42:54 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 1LY0BV-0005k4-LP for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 16:42:33 +0100 Original-Received: from localhost ([127.0.0.1]:41704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LY0AB-0006b6-OX for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Feb 2009 10:41:11 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi150.ffdc.sbc.com.POSTED!8e1d8614!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:+xcqNMXpK9XwHgcIUHorcYrFhWo= Original-Lines: 33 Original-NNTP-Posting-Host: 76.200.183.251 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: flpi150.ffdc.sbc.com 1234539361 ST000 76.200.183.251 (Fri, 13 Feb 2009 10:36:01 EST) Original-NNTP-Posting-Date: Fri, 13 Feb 2009 10:36:01 EST X-UserInfo1: SCSYQN_@FS@SSVPXJJMF_W@BFJT@QDDMEPWXODMMHXMTWA]EPEWUQBKZQLYJX\_ITFD_KFVLUN[DOM_A_NSYNWPFWNS[XV\I]PZ@BQ[@CDQDPCL^FKCBIPC@KLGEZEFNMDYMKHRL_YYYGDSSODXYN@[\BK[LVTWI@AXGQCOA_SAH@TPD^\AL\RLGRFWEARBM Original-Xref: news.stanford.edu gnu.emacs.help:166796 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:62105 Archived-At: "Drew Adams" writes: >> From: Alexander Sent: Thursday, February 12, 2009 9:40 PM >> I would like to know, how to change emacs' frame (X11 window) size on >> the fly. Can anybody help me? > > Yes. Here are two ways to resize frames incrementally: > > * Commands `shrink-frame', `shrink-frame-horizontally', `enlarge-frame', and > `enlarge-frame-horizontally', in library frame-cmds.el. I bind these to `C-M-' + > arrow keys: `C-M-up', `C-M-left', `C-M-down', and `C-M-right', respectively. (I > bind the same keys, but without the `C-' prefix, to the frame movement commands > in the same library.) > > http://www.emacswiki.org/emacs/frame-cmds.el > > > * Commands `doremi-frame-height' and `doremi-frame-width', in library > doremi-frm.el. After you invoke either of these, you can use the > up/down/left/right arrow keys, or the mouse wheel, to adjust the frame size. > > Code: http://www.emacswiki.org/emacs/doremi-frm.el > Doc: http://www.emacswiki.org/emacs/DoReMi > > > For more info about this topic: > http://www.emacswiki.org/emacs/FrameSize I did somthing similar earlier, since my mouse started playing dead frequently. Instead of inventing new keybindings, I found it useful to use the default keybindings for the commands. After that, it is easier to make further adjustments by using the `repeat' command which I have bound to a function key.