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: Thu, 30 May 2002 11:05:04 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200205301705.g4UH54W13563@aztec.santafe.edu> References: <15604.58207.654159.768423@nick.uklinux.net> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1022778505 24640 127.0.0.1 (30 May 2002 17:08:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 May 2002 17:08:25 +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 17DTPV-0006PJ-00 for ; Thu, 30 May 2002 19:08:25 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17DTiN-0000ZD-00 for ; Thu, 30 May 2002 19:27:56 +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 17DTQ5-0006Ly-00; Thu, 30 May 2002 13:09:01 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17DTMH-0005xX-00; Thu, 30 May 2002 13:05:05 -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 g4UH54V00940; Thu, 30 May 2002 11:05:04 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g4UH54W13563; Thu, 30 May 2002 11:05:04 -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: <15604.58207.654159.768423@nick.uklinux.net> (message from Nick Roberts on Wed, 29 May 2002 15:19:11 +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:4513 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4513 2) I want to format the displayed expressions more tidily. In particular I would like to show array slices and the header line would be a good place to do this e.g. ------------main::a [start:end:step]--------------- Where start, end and step are in editable fields. Could emacs be given this feature easily ? Precisely what feature? If you mean editing in the header line, that would rather hard. I can think of two possible methods: * Allow a buffer to be used instead of a string, in a mode line element. * Define a kind of mode line element that refers to a part of the current buffer. This would make it possible to have text in the header line (or the mode line) which is part of a buffer. If point were in that buffer, you would edit that text. To have point appear in the header line instead of in the body of a window would require additional changes which are probably harder in detail.