From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Fri, 14 Aug 2009 02:42:46 -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> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1250238374 11937 80.91.229.12 (14 Aug 2009 08:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Aug 2009 08:26:14 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 14 10:26:06 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 1Mbs6w-00033g-As for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 10:26:06 +0200 Original-Received: from localhost ([127.0.0.1]:53958 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbs6v-0005P1-MC for ged-emacs-devel@m.gmane.org; Fri, 14 Aug 2009 04:26:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mbs47-0001S5-Dw for emacs-devel@gnu.org; Fri, 14 Aug 2009 04:23:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mbs43-0001M9-Jc for emacs-devel@gnu.org; Fri, 14 Aug 2009 04:23:10 -0400 Original-Received: from [199.232.76.173] (port=43822 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mbs43-0001Lq-Dw for emacs-devel@gnu.org; Fri, 14 Aug 2009 04:23:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:37481) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mbs43-0001Yp-5A for emacs-devel@gnu.org; Fri, 14 Aug 2009 04:23:07 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MbqUw-00037r-8N; Fri, 14 Aug 2009 02:42:46 -0400 In-reply-to: <4A83E2ED.2090805@gmx.at> (message from martin rudalics on Thu, 13 Aug 2009 11:54:53 +0200) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:114227 Archived-At: Deleting windows currently is an inherent part of resizing, otherwise `window-min-height' and `window-min-width' wouldn't make sense. Where and how would you handle these variables? If window resizing is done in Lisp, the Lisp code could delete windows whenever it wants to. It could work using a low-level resize primitive that would never delete windows. 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.