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, 17 Nov 2007 12:08:19 +0000 Message-ID: <878x4xaxcc.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 1195301318 31480 80.91.229.12 (17 Nov 2007 12:08:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 12:08:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 13:08:44 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 1ItMTa-0008L8-NU for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 13:08:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItMTN-0006hi-Kx for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 07:08:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItMTJ-0006df-MB for emacs-devel@gnu.org; Sat, 17 Nov 2007 07:08:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItMTJ-0006cw-1x for emacs-devel@gnu.org; Sat, 17 Nov 2007 07:08:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItMTI-0006ct-Vz for emacs-devel@gnu.org; Sat, 17 Nov 2007 07:08:25 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItMTI-0004J6-Pl for emacs-devel@gnu.org; Sat, 17 Nov 2007 07:08:25 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so789818ugf for ; Sat, 17 Nov 2007 04:08:23 -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:cc:subject:in-reply-to:references:user-agent:date:message-id:mime-version:content-type:sender; bh=ngLWQiMRaV2Rg3nE58GVZ1i5ERTtgqm9n3ToD33inz4=; b=bGKe5k0jxqRsX74piHbXUPnBpjE19yrrSN7OIfbl8laJtZZAFJyOiQxJ6fQtvlqbgD/UvFplFlYcVNL6jqTryKNkOYCUDTfmWzwGUwdmA7Zm2o+laoII8a5V0xol1rvZFaZdNqhw0tsiBlUSRYD0GbbqZmv7G8DV7evLMh7Cfjw= 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=ZanP4H2jM3kdVhVaYepzX8ojtsZWzB8dmizSRAEMYSnE0RHcQJ2wcrDzryMs6tMc6tZDnMf4NRolN0v6MuJKP59Szm8UFz63rWlbiKQFZrd0zt0hJSn9uDiF2Rfa6QW07uqIONzwK0Ps9J9pg6IzoTK+FnfHBctpfZPeCCwut+c= Original-Received: by 10.67.15.15 with SMTP id s15mr408385ugi.1195301303024; Sat, 17 Nov 2007 04:08:23 -0800 (PST) Original-Received: from bzg.ath.cx ( [89.243.43.167]) by mx.google.com with ESMTPS id m1sm9457512uge.2007.11.17.04.08.20 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Nov 2007 04:08:21 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 55FB51575BA; Sat, 17 Nov 2007 12:08:18 +0000 (GMT) In-Reply-To: (Drew Adams's message of "Sat, 17 Nov 2007 01:09:25 -0800") 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:83434 Archived-At: "Drew Adams" writes: >> window-resize.el 0.3: >> http://www.cognition.ens.fr/~guerry/u/window-resize.el > > I'm sorry to see that much of what you had improved at one point is now > lost. No problem. And it is not entirely lost for everyone, it's still here: http://www.cognition.ens.fr/~guerry/u/window-edit.el > Window resizing is no longer the default. Unless lots of people complain about this, I think it's ok to make the move-borders method the default. If the user just wants to shrink or enlarge the window, she might just use the already available keys. > The prompt doesn't say anything about the possibilities. This is because we're not in a loop anymore. Any suggestion on making the prompt persistent while in a major mode? > There is (almost) no feedback during window resizing. "Less is better." There is feedback when no move is possible. What feedback are you really missing? > Shrinking a window can make it disappear. I somehow tend to think this is an issue with `shrink-window' itself. It doesn't quite respect `window-min-height'. > C-g doesn't quit ("Key `^G' not bound"). Right, fixed. > With pop-up-frames non-nil, at least, `q' in *Help* quits resizing, > not *Help* (a second `q' then quits help), and it deletes one of the > windows of the initial config. And so on. I think this is an issue with `overriding-terminal-local-map'. I might find a workaround later. > Too bad. You appear to have "improved" it to the point of regress. ;-) No. I think windresize.el (was window-resize.el) fits more its goal. I will give it a rest for a while, and see what people think. Thanks for the feedbakc! -- Bastien