unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs mode for GDB - 2 questions
Date: Thu, 30 May 2002 22:16:15 +0100	[thread overview]
Message-ID: <15606.38559.603367.869040@nick.uklinux.net> (raw)
In-Reply-To: <200205301705.g4UH54W13563@aztec.santafe.edu>

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

  reply	other threads:[~2002-05-30 21:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 14:19 Emacs mode for GDB - 2 questions Nick Roberts
2002-05-30 17:05 ` Richard Stallman
2002-05-30 20:58   ` Nick Roberts
2002-05-31 21:27     ` Richard Stallman
2002-05-30 17:05 ` Richard Stallman
2002-05-30 17:33   ` Miles Bader
2002-05-30 20:56     ` Nick Roberts
2002-05-30 17:05 ` Richard Stallman
2002-05-30 21:16   ` Nick Roberts [this message]
2002-05-30 23:16     ` Kim F. Storm
2002-05-31  6:38       ` Eli Zaretskii
2002-06-01 20:44         ` Nick Roberts
2002-05-31 21:27     ` Richard Stallman
2002-05-31 23:21       ` Miles Bader
2002-06-01  0:12       ` Kim F. Storm
2002-05-31 23:43         ` Miles Bader
2002-06-01 19:44           ` Alex Schroeder
2002-06-02  2:52             ` Richard Stallman
2002-06-02  2:51         ` Richard Stallman
2002-06-13 21:38           ` Stefan Monnier
2002-06-03  8:57       ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15606.38559.603367.869040@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).