[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change Emacs window size
From: |
Chetan |
Subject: |
Re: Change Emacs window size |
Date: |
Fri, 13 Feb 2009 07:35:59 -0800 |
User-agent: |
Emacs Gnus |
"Drew Adams" <drew.adams@oracle.com> 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.