On Fri, 18 Mar 2005 10:58:55 -0800, Dan Nicolaescu <[EMAIL PROTECTED]> 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. _______________________________________________ Emacs-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-devel
