From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: New keybinding suggestion: C-x _ for `shrink-window' Date: Thu, 01 Nov 2007 03:17:37 +0100 Message-ID: <47293741.2070301@gmail.com> References: <87r6jfed61.fsf@bzg.ath.cx> <877il3qyvs.fsf@bzg.ath.cx> <47291D42.8020802@gmail.com> <47292BB0.2000800@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 1193883483 29379 80.91.229.12 (1 Nov 2007 02:18:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2007 02:18:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 01 03:18:06 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 1InPdF-00060n-T2 for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2007 03:18:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InPd5-00052i-Mr for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 22:17:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InPd1-0004xw-Gj for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:17:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InPcz-0004vw-Q4 for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:17:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InPcz-0004vW-Jg for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:17:49 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1InPcz-0006aJ-L1 for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:17:49 -0400 Original-Received: from c83-254-148-228.bredband.comhem.se ([83.254.148.228]:59651 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1InPcv-0001vB-68; Thu, 01 Nov 2007 03:17:46 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 071031-1, 2007-10-31), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.148.228 X-Scan-Result: No virus found in message 1InPcv-0001vB-68. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1InPcv-0001vB-68 c16cf731ddae52ff954a47ae867b42ba X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:82276 Archived-At: Juanma Barranquero wrote: >> I know only the w32 window manager. That is what I have mimicked in >> bw-interactive.el (as close as possible). > > Which would make bw-interactive specially suitable for Emacs users on > Windows, I suppose. If different styles are preferred that is easy to add, but I guess most wm would do something like: loop: 1) Select border vertically or horizontally if not done, else 2) Move selected border And do this for both horizontal and vertical resizing according to user input.