emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The new "pp" command in gud is no longer so dangerous...


From: Kim F. Storm
Subject: Re: The new "pp" command in gud is no longer so dangerous...
Date: Thu, 10 Nov 2005 13:52:12 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Nick Roberts <address@hidden> writes:

>  > There is also a command pv1 which could be used as the command
>  > to execute when user presses the "pp" toolbar button over a symbol
>  > in a *.el file.  Someone wants to work on that?
>
> How would that work?

You are right, it can't.

> I could define it using gud-def so that it has a global binding e.g.
>   (gud-def gud-pv "pv1 %e" "\C-v" "Print the value of the lisp variable.")
> so that it's on C-x C-a C-v.  Is that any good?

Looks good to me!  Let's try it!

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

[Prev in Thread] Current Thread [Next in Thread]