From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Sat, 15 Aug 2009 17:07:00 +0200 Message-ID: <4A86CF14.7020305@swipnet.se> References: <4A81374E.9050401@gmx.at> <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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250348853 21634 80.91.229.12 (15 Aug 2009 15:07:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 15:07:33 +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 17:07:26 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 1McKqr-0002ku-1y for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 17:07:25 +0200 Original-Received: from localhost ([127.0.0.1]:47541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McKqq-00008a-7v for ged-emacs-devel@m.gmane.org; Sat, 15 Aug 2009 11:07:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McKql-00008L-G8 for emacs-devel@gnu.org; Sat, 15 Aug 2009 11:07:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McKqg-00006z-M1 for emacs-devel@gnu.org; Sat, 15 Aug 2009 11:07:18 -0400 Original-Received: from [199.232.76.173] (port=39899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McKqg-00006w-Gg for emacs-devel@gnu.org; Sat, 15 Aug 2009 11:07:14 -0400 Original-Received: from proxy3.bredband.net ([195.54.101.73]:47587) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1McKqd-0006bi-US; Sat, 15 Aug 2009 11:07:12 -0400 Original-Received: from iph2.telenor.se (195.54.127.133) by proxy3.bredband.net (7.3.140.3) id 49F597CD02C92977; Sat, 15 Aug 2009 17:07:04 +0200 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArNjAC9shkpV4S1uPGdsb2JhbACBUohEkFgBAQEBN7VUhBkFgik X-IronPort-AV: E=Sophos;i="4.43,386,1246831200"; d="scan'208";a="35708824" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by iph2.telenor.se with ESMTP; 15 Aug 2009 17:07:04 +0200 Original-Received: from anon-149-150.ipredate.net (anon-149-150.ipredate.net [93.182.150.149]) by coolsville.localdomain (Postfix) with ESMTPSA id BFEC77FA07B; Sat, 15 Aug 2009 17:07:03 +0200 (CEST) User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) In-Reply-To: <87vdkpfbeg.fsf@lola.goethe.zz> X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:114268 Archived-At: David Kastrup skrev: > 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? > > I find it saner to refuse the resize request (perfectly valid behavior) > until the frame-internal window configuration allows it. > You can't in X11 (well maybe by fiddling with WM size hints, but it isn't guaranteed to work). There is no resize request, just an event telling you "you have been resized, adapt". Override redirect would work, but that is so bad. Jan D.