unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs mode for GDB - 2 questions
Date: Fri, 31 May 2002 15:27:39 -0600 (MDT)	[thread overview]
Message-ID: <200205312127.g4VLRd915638@aztec.santafe.edu> (raw)
In-Reply-To: <15606.38559.603367.869040@nick.uklinux.net> (message from Nick Roberts on Thu, 30 May 2002 22:16:15 +0100)

    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?

  parent reply	other threads:[~2002-05-31 21:27 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
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 [this message]
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=200205312127.g4VLRd915638@aztec.santafe.edu \
    --to=rms@gnu.org \
    --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).