From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Fri, 14 Aug 2009 11:39:34 -0400 Message-ID: References: <4A6DAD94.8040006@gmx.at> <4A6DAF71.6070002@gmx.at> <4A6DBB3A.90001@gmx.at> <4A6DC1A1.2000208@gmx.at> <4A6DDB61.8090403@gmx.at> <4A6EAB02.6080701@gmx.at> <4A7010D7.3050305@gmx.at> <4A81374E.9050401@gmx.at> <4A8283D8.6070208@gmx.at> <4A83E2ED.2090805@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250264405 25908 80.91.229.12 (14 Aug 2009 15:40:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 15:40:05 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 17:39:58 2009 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 1Mbysj-0004dI-Ea for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 17:39:53 +0200 Original-Received: from localhost ([127.0.0.1]:47831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbysi-0000Zg-SA for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 11:39:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbysd-0000Xe-4w for emacs-devel@gnu.org; Fri, 14 Aug 2009 11:39:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbysY-0000VT-NE for emacs-devel@gnu.org; Fri, 14 Aug 2009 11:39:46 -0400 Original-Received: from [199.232.76.173] (port=33397 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbysY-0000VN-Gt for emacs-devel@gnu.org; Fri, 14 Aug 2009 11:39:42 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49840) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MbysU-0007Xz-C1; Fri, 14 Aug 2009 11:39:38 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n7EFdYf2012379; Fri, 14 Aug 2009 11:39:35 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id DCB893A0D1; Fri, 14 Aug 2009 11:39:34 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Fri, 14 Aug 2009 02:42:46 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3340=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:114249 Archived-At: > This might require a primitive to undelete a window, > for the sake of dragging a boundary all the way across and back. > I'd guess that is not very hard to add. Actually, regardless of whether it can introduce problems (which it could), I think this is not a good idea: dragging modelines and scrollbars should not be construed as a way to delete windows. So no amount of dragging modelines should be able to delete windows. OTOH, there is a situations where we have to live with it: when resizing a frame "all the way across and back", we may want/need to delete a window and then resurrect it. Not sure what's the best way to deal with this: - either somehow make it possible to undelete windows (I'd *much* rather not, but maybe if we make it sufficiently restrictive it'd be OK). - or maybe avoid deleting the window in this case, instead leave it a size-0, and delete it at some later time (when would that be?). - prevent frame resizing that would require deleting a window. Stefan