From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: window groups Date: Fri, 30 May 2008 04:11:28 +0900 Message-ID: <87abi9j57j.fsf@catnip.gol.com> References: <483D4E9A.9020001@gmx.at> <87wsldgkgz.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212088325 17711 80.91.229.12 (29 May 2008 19:12:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2008 19:12:05 +0000 (UTC) Cc: martin rudalics , emacs-devel To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 29 21:12:46 2008 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 1K1nY9-00019z-9C for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 21:12:33 +0200 Original-Received: from localhost ([127.0.0.1]:59754 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1nXN-0004QZ-M9 for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 15:11:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1nXJ-0004Q8-2q for emacs-devel@gnu.org; Thu, 29 May 2008 15:11:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1nXF-0004PA-Ga for emacs-devel@gnu.org; Thu, 29 May 2008 15:11:39 -0400 Original-Received: from [199.232.76.173] (port=42797 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1nXF-0004P5-Ek for emacs-devel@gnu.org; Thu, 29 May 2008 15:11:37 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:43376) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K1nXA-0007dc-8V; Thu, 29 May 2008 15:11:32 -0400 Original-Received: from 218.231.109.189.eo.eaccess.ne.jp ([218.231.109.189] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1K1nX7-0001WG-81; Fri, 30 May 2008 04:11:29 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 4473B2F3A; Fri, 30 May 2008 04:11:28 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87wsldgkgz.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 29 May 2008 12:10:04 -0400") Original-Lines: 32 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:98011 Archived-At: Chong Yidong writes: > It seems to me that, in practice, any Elisp application that needs to > control the window configuration will probably want to control over the > entire frame. Otherwise, the resulting windows will likely be too > small. WDYT? Do you have any support for such an assumption? It seems wrong to me, simply based on personal experience. > If so, maybe all that needs to be done, infrastructure wise, is a few > functions for, e.g., creating window configurations from scratch, > rather than window groups. I don't think that's going to work in Emacs (or at least, work well), because Emacs is not well-behaved like other apps. Users _will_ do stuff to mess up your nice arrangement. Lots of packages go to some trouble to create nicely layed out windows, but this tends to decay with time unless you stick strictly to operations that know about it -- and people don't do that (and shouldn't have to). I think what's really needed is not just a way to create window configurations (in fact, that's relatively easy I guess), but a way to direct the flow of window creation/deletion to _maintain_ desired window layout constraints. -Miles -- (\(\ (^.^) (")") *This is the cute bunny virus, please copy this into your sig so it can spread.