From: Miles Bader <snogglethorpe@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: RFC: a minor mode that uses GDB like CLI commands
Date: Sat, 19 Mar 2005 10:28:28 +0900 [thread overview]
Message-ID: <fc339e4a050318172858057b37@mail.gmail.com> (raw)
In-Reply-To: <200503181858.j2IIwvAH010170@scanner2.ics.uci.edu>
On Fri, 18 Mar 2005 10:58:55 -0800, Dan Nicolaescu <dann@ics.uci.edu> wrote:
> It would be nice to have a minor mode so that one would be able to use
> GDB CLI like commands ("c", "n", etc.). When turned on such a mode
> changes the source code buffer to be read-only and some keys act as
> GDB commands.
It's a useful idea.
How about making the keybindings automatically contingent on
`buffer-read-only', like `diff-mode' does?
Then the user could just turn on this mode by default in _all_ his
source buffers, and use the normal `toggle-read-only' binding to
toggle between gdb commands or editing -- you wouldn't need the
special binding for `C-x C-q', just the bindings for the actual
commands (which is good for people like me that use `C-x C-q' for
something else).
-Miles
--
Do not taunt Happy Fun Ball.
next prev parent reply other threads:[~2005-03-19 1:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-18 18:58 RFC: a minor mode that uses GDB like CLI commands Dan Nicolaescu
2005-03-19 1:28 ` Miles Bader [this message]
2005-03-19 12:32 ` Juri Linkov
2005-03-21 2:55 ` Nick Roberts
2005-03-21 2:11 ` David Kastrup
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=fc339e4a050318172858057b37@mail.gmail.com \
--to=snogglethorpe@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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).