From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Robert J. Chassell" Newsgroups: gmane.emacs.devel Subject: Re: compilation-goto-locus, pop-up-windows, same-window-regexps Date: Mon, 24 Mar 2003 23:02:53 +0000 (UTC) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87vfyjbnhr.fsf@gnu.org> <87d6kqfj72.fsf@gnu.org> <87smtly24a.fsf@gnu.org> <871y0wcxl1.fsf@gnu.org> Reply-To: bob@rattlesnake.com NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1048547113 19535 80.91.224.249 (24 Mar 2003 23:05:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2003 23:05:13 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 25 00:05:10 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xb0A-00054R-00 for ; Tue, 25 Mar 2003 00:05:10 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18xb0q-0005cv-00 for ; Tue, 25 Mar 2003 00:05:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xazc-0000Us-00 for emacs-devel@quimby.gnus.org; Mon, 24 Mar 2003 18:04:36 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18xayo-0007Zu-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 18:03:46 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18xayV-0007IL-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 18:03:28 -0500 Original-Received: from megalith.rattlesnake.com ([140.186.114.245] helo=rattlesnake.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18xaxz-0006kU-00 for emacs-devel@gnu.org; Mon, 24 Mar 2003 18:02:55 -0500 Original-Received: by rattlesnake.com via sendmail from stdin id (Debian Smail3.2.0.114) Mon, 24 Mar 2003 23:02:53 +0000 (UTC) Original-To: emacs-devel@gnu.org In-reply-to: <871y0wcxl1.fsf@gnu.org> (message from Alex Schroeder on Mon, 24 Mar 2003 21:35:06 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:12581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12581 Alex Schroeder wrote: "store window config in register" stores both the buffer and the position per window. The way I work, I care neither about the exact position *nor* about the exact buffer ... It sounds to me that you are seeking what GNOME/sawfish calls a `group'. As far as I know, GNU Emacs does not handle groups. (I have never used groups.) However, they are an interesting idea. As far as I can see, groups can be instantiated in two overlapping ways: * as a cluster of windows in one frame, such as GNUS *Group*, *Summary* and *Article*. * as a cluster of frames (each with one or `grouped' windows) together and in the same relative position, as in SCWM. (A third way would be `everything related to a project'.) I would think that one of the `theme' functions should provide this (or these) among other features. .... When I want to undo the effect of window splitting due to compilation and grepping, I really want to get the most recently used buffer for the project -- not the buffer current at the time a window configuration was stored in a register. What you want is an additional kind of undo. A `within the current type of group' undo: not an undo that pops the buffer pointer from the current stack, but one that pops the stack of `significant buffers for the current context'. Challenging ideas. -- Robert J. Chassell Rattlesnake Enterprises http://www.rattlesnake.com GnuPG Key ID: 004B4AC8 http://www.teak.cc bob@rattlesnake.com