From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Sat, 15 Aug 2009 15:39:33 +0200 Message-ID: References: <4A8283D8.6070208@gmx.at> <4A83E2ED.2090805@gmx.at> <4A868A1F.4020101@gmx.at> <4A86AD92.7030308@gmx.at> <87vdkpfbeg.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250343596 9407 80.91.229.12 (15 Aug 2009 13:39:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 13:39:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 15 15:39:49 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 1McJU3-00065Y-8k for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 15:39:47 +0200 Original-Received: from localhost ([127.0.0.1]:40169 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McJU2-000317-Nx for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 09:39:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McJTy-000312-IN for emacs-devel@gnu.org; Sat, 15 Aug 2009 09:39:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McJTt-00030X-6o for emacs-devel@gnu.org; Sat, 15 Aug 2009 09:39:41 -0400 Original-Received: from [199.232.76.173] (port=60506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McJTt-00030U-0B for emacs-devel@gnu.org; Sat, 15 Aug 2009 09:39:37 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.247]:15610) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McJTq-0001fT-F9; Sat, 15 Aug 2009 09:39:34 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so937699ana.21 for ; Sat, 15 Aug 2009 06:39:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=csA+fL5gbouOG60+qOlbSLrkiwc9hSD6SO26a0r/Fgg=; b=PtwgYx0DBRK9HrTSmZDOzklADCOnuL2qN/lZPMGH7qqVc13h7+vi8hYVlzO/j1E0Ug rWmuDXFSJkgBB4j0qfoU03SXuQnnK7CRxtQnPmWEqy0sBeiyjJxRHBB4pqPjCoMCKMsn Jw3x9VS9HOT6M74PNDDUKcPsof6LL9H/QUAto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=dZCB7zFeoNQYlfVTOkBHsKQXDbdx3Bz4sBAQI4enCl6Is0umD8KEZ7vZOMgcE1orbY SUAo+hoS8921abJjGa60objIre0J5cgwZz7Oxev1vwz4vQJZRbskXaMI7hlGp96qER5I 7jaINv8z/hBOWBp4LQr99GgoiZcnRXqPAlQyE= Original-Received: by 10.100.121.12 with SMTP id t12mr27331anc.187.1250343573773; Sat, 15 Aug 2009 06:39:33 -0700 (PDT) In-Reply-To: <87vdkpfbeg.fsf@lola.goethe.zz> X-detected-operating-system: by monty-python.gnu.org: GNU/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:114265 Archived-At: On Sat, Aug 15, 2009 at 3:35 PM, David Kastrup wrote: > martin rudalics writes: > >>> We can both honor the window manager request and avoiding deleting windows. >>> >>> Just show a single window saying the windows does not fit when the >>> frame gets too small. Put back the windows then the frame gets bigger. >> >> Where are these windows in the period starting when you show the single >> window and ending when you put them back? This could be a special case. Just change the pointer to the (root) window and save the old pointer. > I find it saner to refuse the resize request (perfectly valid behavior) > until the frame-internal window configuration allows it. I have no idea if it is valid. It is on w32, but what about other window managers? There are also similar (but without windows identity problems) when restoring a saved window configuration.