This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi,
I'm working on an app using gtk as the front end, and guile as the
scripting language. The C application provides guile bindings for
various graphical features used in making maps and postgres data forms.
Since C defines a simple API, the actual application is in scheme.
When the C code catches an error in a callback (written in scheme) I
was able to figure out how to display the stack trace in a dialog
box. This was immensely useful. I'd like to add a button on this
dialog that says "go fix it", or something roughly equivalent which
would have the immediate benefit of also re-loading that file, or
file section without having to restart. (I have no command line to
re-enter stuff in... yet)
So I ask, how do I find out where a scheme function is defined so I
can call gnuserv or emacsclient on it? I'd like to eventually offer
something more useful, but this seems like a good start to me.
While I'm here, how do you add procedure documentation to a built in
function? I love hacking emacs, and want to have this feature in my
application since I often forget what my functions parameters are.
Thanks
Eric
--
|\/\/\___/\/\/| Eric Ludlam zappo@gnu.org; zappo@ultranet.com
\____ o o ____/ Homepage: http://www.ultranet.com/~zappo
) ( Trebuchets: http://www.ultranet.com/~zappo/trebuchet.shtml
( * * ) GNU: http://www.gnu.org
\___/ "We wern't last, Woo Hoo!" - Team Juggernaut @ Punkin Chunk