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: Mon, 19 Nov 2007 02:34:51 +0000 Message-ID: <87oddrrmic.fsf@bzg.ath.cx> References: <87bqa4bvnn.fsf@bzg.ath.cx> <873avcaete.fsf@bzg.ath.cx> <87k5oom8x1.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 1195439714 7048 80.91.229.12 (19 Nov 2007 02:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Nov 2007 02:35:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 19 03:35:19 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 1ItwTj-0006Fx-T1 for ged-emacs-devel@m.gmane.org; Mon, 19 Nov 2007 03:35:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItwTW-0003BM-BE for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 21:35:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItwTS-0003B9-Q6 for emacs-devel@gnu.org; Sun, 18 Nov 2007 21:34:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItwTQ-0003Ak-B1 for emacs-devel@gnu.org; Sun, 18 Nov 2007 21:34:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItwTQ-0003Ah-6p for emacs-devel@gnu.org; Sun, 18 Nov 2007 21:34:56 -0500 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 1ItwTP-0002rL-SE for emacs-devel@gnu.org; Sun, 18 Nov 2007 21:34:56 -0500 Original-Received: by fk-out-0910.google.com with SMTP id 19so670010fkr for ; Sun, 18 Nov 2007 18:34:54 -0800 (PST) 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=uXgDLegkTRdmf78yl3vqPmpe3osO4RZIrJn9JeAXhnc=; b=XrK2rXUV3R4kui5xCpaFiUQAJPIy6KaIG1MMuTaRSl4bOg/Sh6tlldD9QeYB8mQC1aLtuagDpbIrasvAZgamLDzh7F0JQdpXkS9+RPeQneaB/twJWRvIQu2OUqU+5tmj+ZYysaF56pfFijUM7MVjmmfKdXYj/sKtbnC8Oc/xBO4= 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=AteBvZ91EyESPV3JX1Kr6FbjSBc6ik5wvasMyN2xHvdoEj/5ZzS2IVsfL7GLvZ8MykmGbE0OGbKJ2vTqm8tIFryAKQhibzF2GH5886cz7irslftkYWzrzCeYYh6amclmMR3k8370gX7w/GSX+dEBLbLka6qYk36upsIImf9vtgk= Original-Received: by 10.82.177.3 with SMTP id z3mr12420570bue.1195439694290; Sun, 18 Nov 2007 18:34:54 -0800 (PST) Original-Received: from bzg.ath.cx ( [78.149.133.155]) by mx.google.com with ESMTPS id k9sm7839195nfh.2007.11.18.18.34.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 18 Nov 2007 18:34:53 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 825781575BA; Mon, 19 Nov 2007 02:34:51 +0000 (GMT) In-Reply-To: (Richard Stallman's message of "Sun, 18 Nov 2007 17:46:53 -0500") 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:83603 Archived-At: Richard Stallman writes: > BTW, I doubt numbers greaters than 9 are useful here, we're just taking > about *incremental* resizing. Do you think people would like to resize > windows by 11 or 20 lines? > > Why not? Anyway, it is a bug not to support such arguments. In latest windresize.el, I'm reading the key sequence in a loop with `read-key-sequence'. I don't know how to handle numeric prefixes with it, maybe I'm missing something here. But as Stefan suggested, I will study the isearch.el code and see how `isearch-other-meta-char' works. Then hopefully windresize will understand numeric prefixes in the loop. -- Bastien