From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: New keybinding suggestion: C-x _ for `shrink-window' Date: Sun, 11 Nov 2007 18:54:15 -0500 Message-ID: References: <87bqa4bvnn.fsf@bzg.ath.cx> <873avcaete.fsf@bzg.ath.cx> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1194825383 28476 80.91.229.12 (11 Nov 2007 23:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2007 23:56:23 +0000 (UTC) Cc: emacs-devel@gnu.org To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 00:56:26 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IrMfB-0007qg-R0 for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 00:56:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrMez-0005zU-Kk for ged-emacs-devel@m.gmane.org; Sun, 11 Nov 2007 18:56:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrMdB-0003EN-Be for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrMd9-0003Aq-69 for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrMd8-0003AU-Ts for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:18 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IrMd6-00063y-5g for emacs-devel@gnu.org; Sun, 11 Nov 2007 18:54:16 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IrMd5-00012z-9Y; Sun, 11 Nov 2007 18:54:15 -0500 In-reply-to: <873avcaete.fsf@bzg.ath.cx> (message from Bastien on Sun, 11 Nov 2007 17:10:21 +0000) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:82995 Archived-At: By default, resizing is done by increasing/decreasing window width and height. In this mode, use the up and down arrow keys to enlarge or shrink the window and use the right and left arrow keys to enlarge or shrink the window horizontally. So in this mode you don't control which border moves. Resizing can also be done by moving the window borders. In this mode, use the arrow keys to move the corresponding border in the arrow direction -- e.g. the left arrow key will try to move the left border to the left. So in this mode you can only enlarge the window. When the point is in window B and you're in move-borders mode, will move the left border of window B to the left, and will move its right border to the right. But you might want to quickly move the left border to the right. So instead of finding window A and moving its right border to the right, you'll negate the argument and move the left border (which will move to the right instead of moving to the left.) Oh, so that's how you would use the window borders mode to make this window smaller. It seems unnatural, and I think it will be hard to remember. Perhaps the right thing to do is use arrow keys to select the border to move, and use + and - to grow or shrink the window using that border.