Re: Toggling the same key combination between two options
  Home FAQ Contact Sign in
gnu.emacs.help only
 
Advanced search
POPULAR GROUPS

more...

 Up
Re: Toggling the same key combination between two options         

Group: gnu.emacs.help · Group Profile
Author: E.L.K.
Date: Sep 12, 2008 15:06

> I have F8 and F9 mapped to gud-remove and gud-break (respectively) in
> gud-mode.
> I'd like to mimic the behaviour of Visual Studio where F9 toggles
> between setting and removing the breakpoint. Is it possible to
> configure emacs so that it will toggle between the two bindings every
> time the key is pressed?

IIRC, there is function, called gdb-toggle-breakpoint, which can
be what you need.

But it will work only with gdb, I think.

--
E.L.K.
Saturday, 13 of September, 2008, 1:04

зы. C_U_L8r!
no comments
diggit! del.icio.us! reddit!