From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.devel Subject: Re: New keybinding suggestion: C-x _ for `shrink-window' Date: Fri, 02 Nov 2007 14:28:13 +0000 Message-ID: <87prysd8n6.fsf@bzg.ath.cx> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194010128 28300 80.91.229.12 (2 Nov 2007 13:28:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2007 13:28:48 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 02 14:28:50 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 1InwZt-0001iF-2Y for ged-emacs-devel@m.gmane.org; Fri, 02 Nov 2007 14:28:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InwZi-0004kZ-Of for ged-emacs-devel@m.gmane.org; Fri, 02 Nov 2007 09:28:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InwZe-0004k1-PB for emacs-devel@gnu.org; Fri, 02 Nov 2007 09:28:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InwZc-0004it-FZ for emacs-devel@gnu.org; Fri, 02 Nov 2007 09:28:33 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InwZc-0004il-2N for emacs-devel@gnu.org; Fri, 02 Nov 2007 09:28:32 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1InwZb-0004fI-MM for emacs-devel@gnu.org; Fri, 02 Nov 2007 09:28:31 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so895916nfh for ; Fri, 02 Nov 2007 06:28:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=c7ak2O/AAg+BouiRwG7Hkja5ptFVzVUj7b8PLmnL6+o=; b=BfNDDAvZXAEev2CDrXTsCub80JZ3gw13+tbOaD0oLFynWhu3v2BhZdMObyAFWD10N3ftc3J5sTnaBXw5Cyp0QeQvv7h7cAx36L1pWSZ24WzduHuCJEqyvsPWrBS5CuZrAhH9Y4q7RAdr84k1NH9vlTYeGWjrZrSv8PX3JlbsAFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=W8f1e5Opqzwb364zMk7lG/VidwvCoBmvbs7mOCv++Tyh+DEnQvuRj0IB8wAQ0njESoXGCGBC3elCzR4ozuE7RsKM/gCEh3QRC5UpHbBsT9NUH3uy/nZM1iM5bC1gw07/G+3reQiJnzElvD9ACV/XLY0ZmMcp86TX2fqn0qAvwm0= Original-Received: by 10.82.189.6 with SMTP id m6mr3547302buf.1194010109976; Fri, 02 Nov 2007 06:28:29 -0700 (PDT) Original-Received: from bzg.ath.cx ( [129.199.12.108]) by mx.google.com with ESMTPS id w5sm6784884mue.2007.11.02.06.28.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Nov 2007 06:28:28 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 99FF31575BA; Fri, 2 Nov 2007 14:28:13 +0000 (GMT) In-Reply-To: (Drew Adams's message of "Thu, 1 Nov 2007 09:54:22 -0700") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:82351 Archived-At: "Drew Adams" writes: >> I think that is worth trying. To make it convenient we need >> a key binding for window-resize. How about C-x _? > > FWIW - This is trivial to do with Do Re Mi. Function `doremi' lets you > increment or decrement anything repeatedly, using the arrow keys or a > mouse wheel (or both). It is made for this kind of thing. I tested it and it worked okay. But: 1. why using the arrow key to increment the window vertical size? 2. It doesn't really take care of what border do you want to act on. The `resize-window' I proposed in this thread, while definitely ugly, moves the left border when you use the left key `l', the right border when you use the right key `r', etc. It is the most usable solution I've tested so far. -- Bastien