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: Wed, 31 Oct 2007 17:31:14 +0000 Message-ID: <87lk9jfaxp.fsf@bzg.ath.cx> References: <87r6jfed61.fsf@bzg.ath.cx> <877il3qyvs.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 1193848614 17693 80.91.229.12 (31 Oct 2007 16:36:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 16:36:54 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 17:36:55 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 1InGYn-0004DZ-6n for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 17:36:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InGYd-0003ax-J8 for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 12:36:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InGTr-0001qT-Gn for emacs-devel@gnu.org; Wed, 31 Oct 2007 12:31:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InGTX-0001c5-5l for emacs-devel@gnu.org; Wed, 31 Oct 2007 12:31:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InGTW-0001bG-9Z for emacs-devel@gnu.org; Wed, 31 Oct 2007 12:31:26 -0400 Original-Received: from nf-out-0910.google.com ([64.233.182.188]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1InGTS-0004JU-Rm for emacs-devel@gnu.org; Wed, 31 Oct 2007 12:31:23 -0400 Original-Received: by nf-out-0910.google.com with SMTP id f5so242151nfh for ; Wed, 31 Oct 2007 09:31:21 -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=DU21435XUE5AuJ+fsa9Vh2BFYm/x1HTanQX3lTLXkSA=; b=VLotwa8sg+Fj8HqVqeo3Kmr7ZcOplH7P5Q9VEgwDf6U09fvXhow9WVlzhpm73vGw4LA6tauDH3dlcilDKAtKATTEwsKBevDWbvQhT92ViB6eAc3KZBmHtOPm/XuPW26D/+fn0aFsLihlKilJdpUJ8YH+c6kN0dtEwRjij8Mjrjk= 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=Lp1fVluYOvL39yo2ok6HfeZ/WUk3ulAM8IRiJaIPxjKkSXAsIiNck/ojxzjV9p2pb+/c5dVQnM74NwxQpA3uXQd0YJKRvAta4Sh2A0bZ2CHsRME2JDUYuVuy5la7q82e4fLpWlOhy3EBrrS1EbvFaHXOFwejIQCDUQuhzQC1zQM= Original-Received: by 10.78.185.15 with SMTP id i15mr6299697huf.1193848281437; Wed, 31 Oct 2007 09:31:21 -0700 (PDT) Original-Received: from bzg.ath.cx ( [78.113.180.159]) by mx.google.com with ESMTPS id i5sm1621400mue.2007.10.31.09.31.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2007 09:31:19 -0700 (PDT) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 1FC921575BA; Wed, 31 Oct 2007 17:31:13 +0000 (GMT) In-Reply-To: (Juanma Barranquero's message of "Wed, 31 Oct 2007 17:18:00 +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: 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:82231 Archived-At: "Juanma Barranquero" writes: > On 10/31/07, Stefan Monnier wrote: > >> I usually don't know how by how many lines I want to expand/shrink a window, >> so I typically end up doing >> >> C-x ^ C-x ^ C-x ^ >> >> which is *really* inconvenient. > > I've been using this for years: > > ;; Function by Hirose Yuuji and Bob Wiener > (defun resize-window (&optional arg) This is really *neat*. Thanks! -- Bastien