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: Sat, 03 Nov 2007 05:46:36 +0000 Message-ID: <87mytvop8j.fsf@bzg.ath.cx> References: <87prysd8n6.fsf@bzg.ath.cx> <87prys55kc.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1194065218 22921 80.91.229.12 (3 Nov 2007 04:46:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Nov 2007 04:46:58 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 03 05:47:01 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 1IoAuS-0003aA-Cc for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2007 05:47:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoAuI-0000nZ-CM for ged-emacs-devel@m.gmane.org; Sat, 03 Nov 2007 00:46:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IoAuE-0000k3-Ee for emacs-devel@gnu.org; Sat, 03 Nov 2007 00:46:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IoAuD-0000gz-0L for emacs-devel@gnu.org; Sat, 03 Nov 2007 00:46:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IoAuC-0000gY-MN for emacs-devel@gnu.org; Sat, 03 Nov 2007 00:46:44 -0400 Original-Received: from fk-out-0910.google.com ([209.85.128.187]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IoAuC-0007jV-2T for emacs-devel@gnu.org; Sat, 03 Nov 2007 00:46:44 -0400 Original-Received: by fk-out-0910.google.com with SMTP id 19so1632553fkr for ; Fri, 02 Nov 2007 21:46:43 -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:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=/Bm7KxZqgUK1ZV1TWK92SWYo142fUF2+iaI5WY8V3/E=; b=GFri7HtqDjh4OhmCzc7fhn4ffXLTAodU9qLSIq1jexVf/0zUxViSQox8eT76CuyqWJmmY9aovUIabHGDEtc50SE3bjVsdzYMCeeBMB/S8VyO4FmgzklPN1yJZnqx8RQix3Cbp9yIwM1yGmq+vX0vZXbBt7TY7Yb2QMX1lAczO1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:from:to:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; b=fHys0x4MXLTQLO8Pb4M7HyvWgvx7YVB0CcHwT0hr+TMve2HPrvYGMND6p/LclxE6UdEuEKWEynADPklJtyB7HFS+9XywEshDAj3o3gIHaPNbRLrMbxcyog/r8Ax8rv52il8qoacyiOgem6XS6sMw4iHnfqjP4I8oZsBDRbSLoaI= Original-Received: by 10.86.89.4 with SMTP id m4mr1373328fgb.1194065203152; Fri, 02 Nov 2007 21:46:43 -0700 (PDT) Original-Received: from bzg.ath.cx ( [78.113.180.159]) by mx.google.com with ESMTPS id 13sm6885084fks.2007.11.02.21.46.40 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 02 Nov 2007 21:46:41 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id B46C01575BA; Sat, 3 Nov 2007 05:46:36 +0000 (GMT) In-Reply-To: <87prys55kc.fsf@catnip.gol.com> (Miles Bader's message of "Sat, 03 Nov 2007 13:14:11 +0900") 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:82406 Archived-At: Miles Bader writes: > Richard Stallman writes: >> "Up is more" is a common analogy. Using it here could be a good idea >> for simplicity's sake. The most common case of changing window >> sizes is with two windows. So it is very convenient to be able >> to specify "more" or "less" without saying which boundary. > > Hmm, I'd think + and - would be the most natural here... ? If we resize the window along two directions (horizontal vs. vertical) then / or +/- (or whatever) is okay, because we just need a way to increment/decrement the window size. If we resize the window along *four* directions (corresponding to the four window borders) then arrow keys should better keep their natural meaning. In this case, should enlarge the window vertically by pushing up its upper border, etc. IMHO the primary question is not what bindings `window-resize' should use, but whether it should be bi-directional or four-directional. I think it should be four-directional, because it'd handle both bi-directional cases and more complex stuff. After all, we want `window-resize' to do more than replacing C-x } C-x z z z z z ... -- Bastien, going to Zzzz...