From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs mode for GDB - 2 questions Date: Sat, 1 Jun 2002 20:51:42 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206020251.g522pga17894@aztec.santafe.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> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022986501 23359 127.0.0.1 (2 Jun 2002 02:55:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2002 02:55:01 +0000 (UTC) Cc: 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 17ELWH-00064e-00 for ; Sun, 02 Jun 2002 04:55:01 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ELp2-0002Co-00 for ; Sun, 02 Jun 2002 05:14:24 +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 17ELVL-00065O-00; Sat, 01 Jun 2002 22:54:03 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17ELT5-0005jP-00; Sat, 01 Jun 2002 22:51:44 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g522pgV19119; Sat, 1 Jun 2002 20:51:42 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g522pga17894; Sat, 1 Jun 2002 20:51:42 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: storm@cua.dk In-Reply-To: <5xu1onrh5j.fsf@kfs2.cua.dk> (storm@cua.dk) 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:4551 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4551 Such modeline-less windows may be useful for other purposes, so we should try adding them to see what use people can find for them. I believe we already support windows without mode-lines. > We would need to decide on the UI for selection of these special > windows. For the UI, just set mode-line-format to nil to remove the modeline. That is already the way to remove the modeline. I'm talking about a different issue: how to handle these windows for window selection, change of window size, etc. If we don't get that right, the feature will be inconvenient for users. A related issue: I've always thought it would be nice if emacs had some way of `binding' windows together, so that, they could be treated as a unit in some respects (i.e., other windows couldn't pop up between them, and perhaps switching buffers using C-x C-b would switch the _whole_ group of bound windows instead of just the current leaf window). This is another thing we need to work out in order for this mode-line-less-window approach to work well. 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.