read

Usually, when writting code (in Emacs, of course), I forget a lot of times how to use a function, or what are their parameters. So frequently I use devhelp-word-at-point, which opens DevHelp and shows the required information.

But even in some cases DevHelp is not enough, as what I actually need is to see examples of use for that function. In these cases, as Victor suggested, Google Code is a good place where to get it. But it’s a pain in the neck to open a browser, go to Google Code and search for the function.

So I’ve written a simple function for emacs, codesearch-word-at-point, that performs like devhelp-word-at-point, but opening a browser with the results of searching in Google Code. Mapping it to a key (I’m currently using F11 for devhelp and F12 for code search) makes my life easier.

Blog Logo

Juan A. Suárez


Published

Image

Words from the Inside

Uninteresting things from an uninteresting developer

Back to Overview