From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Emacs mode for GDB - 2 questions Date: Thu, 30 May 2002 22:16:15 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <15606.38559.603367.869040@nick.uklinux.net> References: <15604.58207.654159.768423@nick.uklinux.net> <200205301705.g4UH54W13563@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1022795548 1125 127.0.0.1 (30 May 2002 21:52:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 May 2002 21:52:28 +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 17DXqO-0000I2-00 for ; Thu, 30 May 2002 23:52:28 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17DY9M-0006zD-00 for ; Fri, 31 May 2002 00:12:04 +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 17DXUx-0007GW-00; Thu, 30 May 2002 17:30:19 -0400 Original-Received: from dial-212-1-136-194.access.uk.tiscali.com ([212.1.136.194] helo=nick.uklinux.net) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 17DXRl-0006o1-00; Thu, 30 May 2002 17:27:01 -0400 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id 0A89776039; Thu, 30 May 2002 22:16:15 +0100 (BST) Original-To: rms@gnu.org In-Reply-To: <200205301705.g4UH54W13563@aztec.santafe.edu> X-Mailer: VM 6.97 under Emacs 21.1.1 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:4518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4518 Richard Stallman writes: > 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? Sorry, I should be clearer. I want a default format for arrays like : ---main::a [::]---- (line generated on creation of frame/window) a[0] = 1.0 a[1] = 2.0 a[2] = 3.0 a[3] = 4.0 a[4] = 4.0 a[5] = 4.0 a[6] = 4.0 etc and to be able to specify slices e.g every other element of the first six : ---main::a [0:5:2]---- a[0] = 1.0 a[2] = 3.0 a[4] = 4.0 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. If the effort cannot be justified, I'll think of something else. Nick