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 11:54:31 +0000 Message-ID: <87hcjlaxzc.fsf@bzg.ath.cx> References: <87ejexwf4m.fsf@bzg.ath.cx> <87wssom9qy.fsf@bzg.ath.cx> <876406e0pk.fsf@bzg.ath.cx> <87wsslsk4x.fsf@bzg.ath.cx> <87lk90v34f.fsf@jurta.org> <473B9117.9080004@gmail.com> <874pfnku1a.fsf@jurta.org> <873av6fit2.fsf@bzg.ath.cx> <876402b1gc.fsf@bzg.ath.cx> <87r6iqvvzv.fsf@bzg.ath.cx> <87pry94nfe.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 1195300491 29118 80.91.229.12 (17 Nov 2007 11:54:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2007 11:54:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 17 12:54:56 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 1ItMGF-0004tQ-Pe for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 12:54:56 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItMG2-0005cm-Rb for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 06:54:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItMFz-0005c9-8A for emacs-devel@gnu.org; Sat, 17 Nov 2007 06:54:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItMFx-0005ac-UG for emacs-devel@gnu.org; Sat, 17 Nov 2007 06:54:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItMFx-0005a9-Gs for emacs-devel@gnu.org; Sat, 17 Nov 2007 06:54:37 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.173]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ItMFx-00069J-FJ for emacs-devel@gnu.org; Sat, 17 Nov 2007 06:54:37 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so789152ugf for ; Sat, 17 Nov 2007 03:54:36 -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=/VkA5TeXT2HRDge8fkOXPj//vGuWgRI3uyLLz+9FPhY=; b=Ukb3agTBwNVl6Er9TY1B54q7s3wYxSyjMsaLFT9Ctde4UbZuDkz8H7dx88lb2jJst1Ox+zxeuwX92hoVFHu/QlLTkYlADwyA4++Ww8C+v0aPzOvz/WNW4JfXVmRDxx4f8pHl7vXu49C4LC4h0YHCpJCMcHlH4FDZa3uGqc/dbDc= 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=b5A5nS1uzvXN6EaBkKiJfl4Mg/isHmsKfRJtuzDesphUg0jKrOy/fjZI13tnll3U3rIAzmeO6soR9mkOh3gzlE9kAli4EjiqRHWrJsd0fIKudMb8P9mp6V1E9k20aWLfdtb0UVLx5OPmLUmygHjP+8i/Gkvq2O3RzIsCYkcWKFo= Original-Received: by 10.66.237.14 with SMTP id k14mr2028626ugh.1195300476089; Sat, 17 Nov 2007 03:54:36 -0800 (PST) Original-Received: from bzg.ath.cx ( [89.243.43.167]) by mx.google.com with ESMTPS id l40sm3516624ugc.2007.11.17.03.54.33 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 17 Nov 2007 03:54:34 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id E6B481575BA; Sat, 17 Nov 2007 11:54:31 +0000 (GMT) In-Reply-To: (Stefan Monnier's message of "Fri, 16 Nov 2007 23:22:28 -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:83431 Archived-At: Stefan Monnier writes: >> He wouldn't. But hitting M-x accidently will lead to weird things. > > So the problem is not that bindings don't work when the user gets in > the minibuffer. The problem is "how do I prevent the user from doing > M-x?". Okay, I undefined (kbd "M-x") in windresize.el. >> Also, going to the help window and tring to scroll with arrow keys won't >> work > > Right, allowing that might be tricky. An easy way out is to make sure > the help never needs to be scrolled (i.e. make the behavior sufficiently > simple and intuitive that it can be described in 1-2 lines). Tough. The new help window doesn't display the documentation of the mode anymore, but it's not 1-2 lines. http://www.cognition.ens.fr/guerry/u/windresize.el -- Bastien