From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Emacs mode for GDB - 2 questions Date: 01 Jun 2002 08:21:30 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: <87it53kio5.fsf@tc-1-100.kawasaki.gol.ne.jp> 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> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1022887764 2698 127.0.0.1 (31 May 2002 23:29:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 May 2002 23:29:24 +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 17Dvpk-0000hP-00 for ; Sat, 01 Jun 2002 01:29:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Dw9E-0007vO-00 for ; Sat, 01 Jun 2002 01:49:32 +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 17DvqN-0001DP-00; Fri, 31 May 2002 19:30:03 -0400 Original-Received: from smtp01.fields.gol.com ([203.216.5.131]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17Dvo6-00016e-00; Fri, 31 May 2002 19:27:42 -0400 Original-Received: from tc-2-185.kawasaki.gol.ne.jp ([203.216.25.185] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp01.fields.gol.com with esmtp (Magnetic Fields) id 17Dvo3-0000HP-00; Sat, 01 Jun 2002 08:27:40 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 7D71A30A4; Sat, 1 Jun 2002 08:21:30 +0900 (JST) Original-To: rms@gnu.org System-Type: i686-pc-linux-gnu In-Reply-To: <200205312127.g4VLRd915638@aztec.santafe.edu> Original-Lines: 34 X-Abuse-Complaints: abuse@gol.com 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:4537 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4537 Richard Stallman writes: > Suppose that every mode line (and every header line) were actually a > separate window, and formatting of mode line elements was done by > converting them into text in a buffer. That would be elegant in some > ways. The usage of memory for this would be acceptable nowadays. ... > What do people think? I think it would be very cool, although the mode-line/header-line are special cased to such an extent in the display engine that it makes me wonder how many unseen gotchas there are. Another cool think is that this might make it easier to have multiple header-lines (or mode-lines!), which I've sometimes wanted. 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). I would like it if the Gnus summary/article buffers were bound in this way, for instance. Promoting mode-lines and header-lines to real windows might fit well with this sort of mechanism. 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. Anyway, just a thought. -Miles -- Run away! Run away!