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: Fri, 31 May 2002 15:27:39 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205312127.g4VLRd915638@aztec.santafe.edu> References: <15604.58207.654159.768423@nick.uklinux.net> <200205301705.g4UH54W13563@aztec.santafe.edu> <15606.38559.603367.869040@nick.uklinux.net> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022881221 24669 127.0.0.1 (31 May 2002 21:40:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 31 May 2002 21:40:21 +0000 (UTC) Cc: 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 17Du8D-0006Pm-00 for ; Fri, 31 May 2002 23:40:21 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17DuRf-0005T5-00 for ; Sat, 01 Jun 2002 00:00:27 +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 17Dtz3-00060c-00; Fri, 31 May 2002 17:30:53 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Dtvw-0005Zw-00; Fri, 31 May 2002 17:27:40 -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 g4VLRdV19873; Fri, 31 May 2002 15:27:39 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4VLRd915638; Fri, 31 May 2002 15:27:39 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: nick@nick.uklinux.net In-Reply-To: <15606.38559.603367.869040@nick.uklinux.net> (message from Nick Roberts on Thu, 30 May 2002 22:16:15 +0100) 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:4535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4535 With a large array, if the top line was in the buffer it would scroll out of view. I would like to be able to enter the three digits (0,5,2 in this case) into the header line. That feature makes sense well enough, but as I said, it would be difficult to implement. But I have another idea for implementing it. Suppose that line were actually a separate window, with its mode line disabled, showing just one line of some buffer. That way you could indeed select it and edit it as usual. You could make the parts that should not really be edited read-only. This would require a new feature in the C code, but since it would only affect the setting up of window structure, not redisplay, it would be far easier. It might actually be feasible. We would need to decide on the UI for selection of these special windows. This leads to a further idea. 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. This would make it possible to copy text from a mode line or header line by dragging the mouse across it, for example. What do people think?