From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bastien Newsgroups: gmane.emacs.help Subject: Re: Window resizing - rebind C-x - to shrink-window? Date: Fri, 26 Oct 2007 11:54:33 +0100 Message-ID: <87myu6qh7a.fsf@bzg.ath.cx> References: <87fy00uzfh.fsf@bzg.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193392514 24337 80.91.229.12 (26 Oct 2007 09:55:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Oct 2007 09:55:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 26 11:55:16 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IlLuJ-0003h6-4n for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Oct 2007 11:55:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlLuA-0005Ct-Eu for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Oct 2007 05:55:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IlLtf-0005AK-5q for help-gnu-emacs@gnu.org; Fri, 26 Oct 2007 05:54:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IlLtd-00058u-Vk for help-gnu-emacs@gnu.org; Fri, 26 Oct 2007 05:54:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IlLtd-00058X-Mu for help-gnu-emacs@gnu.org; Fri, 26 Oct 2007 05:54:29 -0400 Original-Received: from ug-out-1314.google.com ([66.249.92.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IlLtd-0004Xb-Ek for help-gnu-emacs@gnu.org; Fri, 26 Oct 2007 05:54:29 -0400 Original-Received: by ug-out-1314.google.com with SMTP id a2so725767ugf for ; Fri, 26 Oct 2007 02:54:27 -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=M7hf22Eq8dou80Isl+Oj7HbzCBKffV4fVvwVuX6dL2M=; b=RxFswLhhMqF5tGPJOMGkEvfow1qqWf4CHQ6sCmkfWXGOHskprSfuYCW5JB2FQDVCTgN4iFlpPTs3eKTQPCosQrRtIw67bsqA9m00mZcj8PbYEuCQkwETvOQBkTkDRq/ArBpzBm9Cp2qqJyCvJ3TsiGkNsipqGPuIUPmnurnhTDI= 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=CAh0S2Nl04htQNWRD7fHIKcDPDrCrCNHgCwkaFsuFnyweuXSnr98YLMNquFMPcCHIngFhVvHlv4wIk7hod0m5KgUcpnxir0u189WQlHmrHiG/dwp/HmWK/BwSzNnndfv9CU6YV2AK7yomWlqROTJkujTqANyyj067JFz1TIPLPM= Original-Received: by 10.78.122.16 with SMTP id u16mr2112016huc.1193392466968; Fri, 26 Oct 2007 02:54:26 -0700 (PDT) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id c9sm3398503nfi.2007.10.26.02.54.24 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 26 Oct 2007 02:54:25 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 7F3B91575BA; Fri, 26 Oct 2007 11:54:33 +0100 (BST) In-Reply-To: <87fy00uzfh.fsf@bzg.ath.cx> (Bastien's message of "Wed, 24 Oct 2007 19:42:42 +0100") 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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48820 Archived-At: I update my suggestion: C-x _ shrink-window C-x - shrink-window-if-larger-than-buffer C-x ^ enlarge-window AFAIK C-x _ is currently free. Then we would keep the olds bindings for `shrink-window-if-larger-than-buffer' and `enlarge-window' but we would also have a key for `shrink-window', which sounds an improvement to me. Idea? Bastien writes: > Hi all, > > I often use the key C-x ^ (`enlarge-window') to enlarge the current > window and I think it would be nice to have C-x - call `shrink-window' > instead of `shrink-window-if-larger-than-buffer'. > > It looks more logical, at least to me. Okay, I'm a user of ratpoison, > so this may affect my habits when it comes to quickly resize windows. > > I guess the rational behind the actual binding of C-x - is that > `shrink-window-if-larger-than-buffer' is more often needed than > `shrink-window'. But since C-x ^ is out it's not true anymore > for me and I wonder if it is for others. > > If C-x - were finally bound to `shrink-window', we could then reserve > C-u C-x - for `shrink-window-if-larger-than-buffer'. > > What do you think? -- Bastien