From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: moving window handling into lisp Date: Mon, 17 Aug 2009 01:28:58 +0900 Message-ID: <87ab1zen91.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4A83E2ED.2090805@gmx.at> <4A868A1F.4020101@gmx.at> <4A86AD92.7030308@gmx.at> <87vdkpfbeg.fsf@lola.goethe.zz> <4A86DE30.8060902@gmx.at> <4A86F24D.4090103@gmx.at> <878whknbj5.fsf@uwakimon.sk.tsukuba.ac.jp> <4A87DED5.6010709@gmx.at> <87d46verva.fsf@uwakimon.sk.tsukuba.ac.jp> <4A88266C.9070600@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250439697 31608 80.91.229.12 (16 Aug 2009 16:21:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Aug 2009 16:21:37 +0000 (UTC) Cc: Lennart Borgman , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 16 18:21:30 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 1MciU5-0004dM-R6 for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 18:21:30 +0200 Original-Received: from localhost ([127.0.0.1]:35500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MciU5-0006eW-4j for ged-emacs-devel@m.gmane.org; Sun, 16 Aug 2009 12:21:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MciU0-0006eJ-Ch for emacs-devel@gnu.org; Sun, 16 Aug 2009 12:21:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MciTv-0006e7-Tk for emacs-devel@gnu.org; Sun, 16 Aug 2009 12:21:23 -0400 Original-Received: from [199.232.76.173] (port=47957 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MciTv-0006e4-O7 for emacs-devel@gnu.org; Sun, 16 Aug 2009 12:21:19 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:36536) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MciTv-0002jd-9p for emacs-devel@gnu.org; Sun, 16 Aug 2009 12:21:19 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id A14321537B6; Mon, 17 Aug 2009 01:21:17 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 8B0151A27DB; Mon, 17 Aug 2009 01:28:58 +0900 (JST) In-Reply-To: <4A88266C.9070600@gmx.at> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 5bbff3553494+ XEmacs Lucid (x86_64-unknown-linux) 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:114320 Archived-At: martin rudalics writes: > This is yet another question on how Emacs interacts with the various WMs > it supports. Absolutely nothing I've said depends on interactions with WMs. That's why it's so radical (and elegant, if I do say so myself). All I require is that you can have a child window that is *any* size and position relative to the parent, and that window managers do not directly manage children of top-level windows. That is true in X. Let's try putting it this way: if the frame shrinks to the point that for some reason Emacs cannot fit into it without deleting a window, Emacs gives up on fitting into the frame, and maintains its window configuration as is. In X, you're done, if you want: the lower right portion of the contents of the frame will be clipped. Alternatively, Emacs can translate the position of the contents so that some selected portion is visible in the "viewport"[1] created by the toplevel window, and everything that "slops over" is clipped. I don't know how other GUIs handle this. Footnotes: [1] Look up the Viewport and Panner widgets in the Athena Widgets (Xaw) documentation.