From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Window configuration UI (was: Neat features in Eclipse editor) Date: Wed, 26 Mar 2008 00:47:05 -0400 Message-ID: References: <873aqia0eh.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1206506951 30282 80.91.229.12 (26 Mar 2008 04:49:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 04:49:11 +0000 (UTC) Cc: pmr@pajato.com, cyd@stupidchicken.com, paul.r.ml@gmail.com, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 26 05:49:41 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 1JeNZy-0008MW-26 for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2008 05:49:38 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeNZM-0003ry-Rf for ged-emacs-devel@m.gmane.org; Wed, 26 Mar 2008 00:49:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JeNXZ-0002XR-38 for emacs-devel@gnu.org; Wed, 26 Mar 2008 00:47:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JeNXX-0002Vz-Bt for emacs-devel@gnu.org; Wed, 26 Mar 2008 00:47:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JeNXX-0002Vm-4N for emacs-devel@gnu.org; Wed, 26 Mar 2008 00:47:07 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JeNXW-0005lJ-Qr for emacs-devel@gnu.org; Wed, 26 Mar 2008 00:47:06 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JeNXV-0000fA-O5; Wed, 26 Mar 2008 00:47:05 -0400 In-reply-to: (message from Stefan Monnier on Mon, 24 Mar 2008 23:53:45 -0400) X-detected-kernel: by monty-python.gnu.org: 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:93492 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. Moving window configurations from frame to frame is not necessary for the perspectives feature. Perspectives in Eclipse seem to be part of one frame, although I am not sure of that. > 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. That's a real issue, directly related to implementing perspectives. To make perspectives persistent we need a way for Lisp code to get access to the data in them. In 1984 it was crucial for a window configuration to include window objects to make it fast to switch to one. But that may not be necessary now. So we could reimplement window configurations using Lisp objects that hold the data in a transparent way. Would someone like to try this?