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: Sat, 22 Aug 2009 21:01:41 -0400 Message-ID: References: <4A89AA46.6050502@gmx.de> <4A8BC2CD.5060303@gmx.de> <4A8BF3E0.5090304@gmx.at> <4A8D375D.9090905@gmx.de> <4A8D46DA.4090500@gmx.at> <4A8DA56F.7070908@gmx.de> <4A8E916E.3020109@gmx.at> <87eir44fcm.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250989323 8557 80.91.229.12 (23 Aug 2009 01:02:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2009 01:02:03 +0000 (UTC) Cc: martin rudalics , grischka , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 23 03:01:55 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 1Mf1T0-0005Wu-94 for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2009 03:01:54 +0200 Original-Received: from localhost ([127.0.0.1]:46568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mf1Sz-00007i-Rm for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2009 21:01:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mf1Sw-00007d-2w for emacs-devel@gnu.org; Sat, 22 Aug 2009 21:01:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mf1Sq-0008Uw-Do for emacs-devel@gnu.org; Sat, 22 Aug 2009 21:01:49 -0400 Original-Received: from [199.232.76.173] (port=44539 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mf1Sq-0008Ud-2y for emacs-devel@gnu.org; Sat, 22 Aug 2009 21:01:44 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:8683 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mf1Sp-00031Y-KW for emacs-devel@gnu.org; Sat, 22 Aug 2009 21:01:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArwEAOYxkEpFxIHU/2dsb2JhbACBUtEKhBoFh1o X-IronPort-AV: E=Sophos;i="4.44,258,1249272000"; d="scan'208";a="44028943" Original-Received: from 69-196-129-212.dsl.teksavvy.com (HELO ceviche.home) ([69.196.129.212]) by ironport2-out.teksavvy.com with ESMTP; 22 Aug 2009 21:00:57 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 0120FB40E6; Sat, 22 Aug 2009 21:01:41 -0400 (EDT) In-Reply-To: <87eir44fcm.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Sat, 22 Aug 2009 13:55:37 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) 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:114523 Archived-At: >> A quick test shows that Firefox handles the issue by letting the >> window-manager shrink the window at will (down to 1x1 pixels), but its >> content stops shrinking at some point (so some of the content is >> clipped). > FWIW, this is exactly the policy I suggested. So Mozilla has a time > machine .... >> OTOH Empathy and Evolution seem to impose some minimal size below which >> the window doesn't shrink. I don't know enough about the underlying >> protocol to know how they might do that, but presumably it's either done >> by telling the W-M beforehand what is the minimal size, > That's it. In X11, these are called "window manager hints", and as > the name suggests, the window manager is free to ignore them. If the > user doesn't like that behavior, they'll install a different window > manager, so you had better be prepared to deal with such window > managers -- it's the user's preference. Yes: the app should simply tell what are the limits it thinks are good, and if the W-M shrinks more you get Firefox-style behavior. In any case: no need to delete any of our windows. Stefan