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, 12 Nov 2007 13:47:20 +0000 Message-ID: <87pryf4luf.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 1194871657 13649 80.91.229.12 (12 Nov 2007 12:47:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2007 12:47:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 12 13:47:41 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 1IrYhX-0001h1-Nk for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 13:47:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrYhL-0005qT-IZ for ged-emacs-devel@m.gmane.org; Mon, 12 Nov 2007 07:47:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IrYhI-0005oY-Lq for emacs-devel@gnu.org; Mon, 12 Nov 2007 07:47:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IrYhG-0005kf-4l for emacs-devel@gnu.org; Mon, 12 Nov 2007 07:47:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IrYhF-0005kL-VK for emacs-devel@gnu.org; Mon, 12 Nov 2007 07:47:22 -0500 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 1IrYhF-000103-Hf for emacs-devel@gnu.org; Mon, 12 Nov 2007 07:47:21 -0500 Original-Received: by ug-out-1314.google.com with SMTP id a2so773487ugf for ; Mon, 12 Nov 2007 04:47:20 -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=ciKz/6fREJaqx9gDJiBf3TmjkW9d3IFXTDIp3PU7k1I=; b=ZK9d2AKJu5cdGNLsUuYA2Urn/jrSoDSglmRSmcUan2/X0m56K+AucITS16ChvoSzKzxkzq4/vXkGI594VqWmCkeHjQKePwqbpNiLnNHngjnUUHjuArmn+lofBHcukJRq2N5atiDrV1UCaUtQ8MJQnLq3FpcEQLYxf418AQMbkIs= 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=K3e92IOj7qSnM7JTNSF+S1Ll2zpq9+t8TtN+qhsX3Rv9JTObSrawFY78mOVU3Rn1qnM3ZCW0Ym3GWsywm+5oncFGFZcOht+7YcISHjPj6foYcXrkDgNWVTcVVJIHpTSlA6UXV39p0Yx0S/ipzymhMXEuVfoH7mQzV+nhUkLot/g= Original-Received: by 10.66.221.5 with SMTP id t5mr32020ugg.1194871640430; Mon, 12 Nov 2007 04:47:20 -0800 (PST) Original-Received: from bzg.ath.cx ( [81.99.213.34]) by mx.google.com with ESMTPS id j33sm4221499ugc.2007.11.12.04.47.18 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 12 Nov 2007 04:47:19 -0800 (PST) Original-Received: by bzg.ath.cx (Postfix, from userid 1000) id 01EE21575BA; Mon, 12 Nov 2007 13:47:20 +0000 (GMT) In-Reply-To: (Robert J. Chassell's message of "Mon, 12 Nov 2007 11:47:58 +0000 (UTC)") 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:83050 Archived-At: "Robert J. Chassell" writes: > Please put (provide 'window-edit) at the end. > Having it first presumes my load is successful! Done in 0.7, thanks. http://www.cognition.ens.fr/guerry/u/window-edit.el > Please update messages more quickly. Thanks for the example. The code of 0.6 contained a FIXME stating that this should be fixed. When I first wrote this function, I used a timer to empty the message regularily. But Richard noted that this was weird and confusing. In 0.7 `window-edit' runs a timer again, but this time I made sure that the timer is canceled when we quit window editing. I also used a safer name for the variable: `window-edit-message' instead of `msg'. I think it's okay now. Any suggestion to get rid of this timer is welcome. I cannot think of another solution. -- Bastien