From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Emacs mode for GDB - 2 questions Date: Thu, 13 Jun 2002 17:38:00 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206132138.g5DLc0V26587@rum.cs.yale.edu> References: <15604.58207.654159.768423@nick.uklinux.net> <200205301705.g4UH54W13563@aztec.santafe.edu> <15606.38559.603367.869040@nick.uklinux.net> <200205312127.g4VLRd915638@aztec.santafe.edu> <5xu1onrh5j.fsf@kfs2.cua.dk> <200206020251.g522pga17894@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024004372 30174 127.0.0.1 (13 Jun 2002 21:39:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 13 Jun 2002 21:39:32 +0000 (UTC) Cc: storm@cua.dk, nick@nick.uklinux.net, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17IcJX-0007qY-00 for ; Thu, 13 Jun 2002 23:39:31 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Ici0-0008KO-00 for ; Fri, 14 Jun 2002 00:04:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IcJC-00017W-00; Thu, 13 Jun 2002 17:39:10 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17IcI5-0000oJ-00; Thu, 13 Jun 2002 17:38:01 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5DLc0V26587; Thu, 13 Jun 2002 17:38:00 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4841 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4841 > My vague thought was that since windows area already arranged in a tree, > that somehow non-leaf windows could be marked as the `root' of a set of > bound windows, and certain operations (switch-to-buffer?) would walk up > the tree and use such `bound roots' instead of the leaf window if it > found one. > > Would you like to try to flesh out this design? Rather than jumping > straight to the writing of code, try to write pseudo-code to make the > meaning of these intermediate roots more clear. That way we can see > if it really is a usable solution. It would be good to think about how such a thing could also be used for things like ECB where they need to be able to impose some structure on the window layout and make sure that the user does not mess it up accidentally (i.e. there is one main window which the user can use whichever way she wants, and it is surrounded by several other windows (like a gdb window, a speedbar window, ...)). Stefan