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: Window configuration UI Date: Tue, 25 Mar 2008 14:13:46 -0400 Message-ID: References: <873aqia0eh.fsf@stupidchicken.com> <47E8D9F2.6050803@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206468877 4441 80.91.229.12 (25 Mar 2008 18:14:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Mar 2008 18:14:37 +0000 (UTC) Cc: pmr@pajato.com, cyd@stupidchicken.com, paul r , rms@gnu.org, emacs-devel@gnu.org To: "Lennart Borgman \(gmail\)" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 25 19:15:04 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 1JeDfr-0006MF-7p for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 19:15:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeDfF-0000Jp-Rl for ged-emacs-devel@m.gmane.org; Tue, 25 Mar 2008 14:14:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeDeu-0000DZ-9A for emacs-devel@gnu.org; Tue, 25 Mar 2008 14:14:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeDes-0000CY-8x for emacs-devel@gnu.org; Tue, 25 Mar 2008 14:14:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeDes-0000CQ-2t for emacs-devel@gnu.org; Tue, 25 Mar 2008 14:14:02 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeDeo-0002Xs-Bj; Tue, 25 Mar 2008 14:13:58 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D64752CF9D9; Tue, 25 Mar 2008 14:13:57 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 0DA033FE0; Tue, 25 Mar 2008 14:13:47 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id E6E446C1B2; Tue, 25 Mar 2008 14:13:46 -0400 (EDT) In-Reply-To: <47E8D9F2.6050803@gmail.com> (Lennart Borgman's message of "Tue, 25 Mar 2008 11:54:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:93426 Archived-At: >>> When you switch from workspace A to workspace B, does your current >>> window configuration get recorded as workspace A? >>> That is an important aspect of Eclipse perspectives. >> >> Indeed. Try out my naive attempt at it (see attached) immediately bumps >> into a significant problem: window-configurations are frame-specific, so >> I can't create a winconf "test1" in a frame and then use it in >> another frame. >> >>> needs to be possible to get all the right behavior. For instance, we >>> want GUD to be able to take advantage of this, with a predefined "gud" >>> perspective. This predefined "gud" perspective should have a window >> >> This is another problem: window-configurations can't be saved&loaded. >> I.e. the tool we need is not `window-configuration' but some >> other object. We can construct it all in Elisp from window-tree, but >> someone needs to write the code. > When we last talked about that I wrote the attached file. I have not looked > at it or used it for a while so I am not sure if everything works right now. That looks interesting. I'm wondering about the window-identity problems: where did they bite? I.e. what caused you to code up all the overlay-hacks? I see there's another problem in the part that saves the data to a file: we need to use `bookmarks' to save the buffer&position. Stefan