Devhelp assistant
I've added a pretty useful feature to Devhelp in trunk, which in combination with some lisp code makes emacs extra helpful when coding. I'm already starting to get addicted to always having the right documentation available :)
Update: added screenshot. Click the image to see a video of it in action.
It should work well with all gtk-doc generated reference docs (like GTK+ & friends).

Comments
Nice you also have the required emacs and vim config files in the source treeā¦
Posted by: Sven | October 22, 2008 05:20 PM
That is an awesome feature
Posted by: Vitay Babiy | October 22, 2008 07:48 PM
This reminds me of dashboard (not the macosx one). Whatever happened to it? One of the cooler things to spawn out of open source projects even if it somehow lost track and turned into beagle.
Posted by: pel | October 22, 2008 09:00 PM
That's nice! Is there VIM support (as Sven mentioned)? From where can I grab it?
Posted by: Jannis | October 22, 2008 09:54 PM
@Jannis, there isn't really vim support for this feature, only for the old "press a key to perform a search" feature. It's in the source, in the misc/ directory. Maybe you or someone else could bring the vim stuff up to date.
Posted by: Richard | October 22, 2008 09:58 PM
I have some VIM scripting knowledge, so yes, maybe that would be possible. First I'll have to get devhelp to compile on my machine though (somehow our xulrunner is broken).
Where can I find that misc/ folder?
Posted by: Jannis | October 22, 2008 10:48 PM
Here: http://svn.gnome.org/viewvc/devhelp/trunk/misc/
Note that trunk only supports webkit, not gecko.
Posted by: Richard | October 22, 2008 10:49 PM
Oh, cool. That's fine. I'm running a source-based distribution, so I can easily plug in an SVN module of devhelp. I'll check it out.
Posted by: Jannis | October 22, 2008 11:03 PM
@Richard: Which version of WebKit do I need? The latest nightly build seems to be broken and with the one I have (r34710) devhelp just segfaults (http://rafb.net/p/9ej1Is37.html).
Other than that, the VIM plugin is more or less ready :)
Posted by: Jannis | October 23, 2008 12:46 AM
Oops. Full backtrace here: http://rafb.net/p/UvYHfj29.html
Posted by: Jannis | October 23, 2008 01:04 AM
I have built a recent version (rev 37759 I think) here which works.
Posted by: Richard | October 23, 2008 09:57 AM
Cool :) How's about a gedit plug-in?
Posted by: Chris Lord | October 23, 2008 11:22 AM
Cool, it works now. Here's a video of the VIM plugin: http://lunar-linux.org/~jannis/videos/devhelp-vim.ogv
If you're interested, I'd be happy to improve it a bit and send you the source code to be imported into trunk.
Posted by: Jannis | October 23, 2008 03:35 PM
Very nice, works fine for me
Posted by: Kristian | October 23, 2008 03:40 PM
This is kick-ass stuff.
I cannot wait to have this with my gvim ;-)
Posted by: Sankar | October 23, 2008 07:55 PM
@Jannis, wow! That looks really good, I'd be happy to add this to devhelp!
Posted by: Richard | October 24, 2008 09:22 AM
@Jannis, awesome. I was unsure if that was possible. Do you think it would also be possible to enhance the normal lookup. I tried to look at it but couldn't get rid of Vim requiring you to press enter after triggering the Devhelp search.
Posted by: Mikael Hallendal | October 24, 2008 11:26 AM
@Mikael: It should be possible, yes. Basically, you have to call 'i' or 'a' depending on the column of the cursor (first colum: 'i', others 'a') after the in the mapping. I'll look into it and give it a bit more testing before I make the code available.
Posted by: Jannis | October 24, 2008 06:02 PM
... after the in the mapping ...
Posted by: Jannis | October 24, 2008 06:05 PM
Dammit. Anyway, there's a 'CR' missing in the posts above.
Posted by: Jannis | October 24, 2008 06:05 PM