views:

569

answers:

3

Conkeror has changed the way I browse the web: it's basically Emacs + Firefox with javascript based configuration in .conkerrorc rather than elisp configuration in .emacs.

I've built up a huge library of .emacs customizations over the years by getting little bits and pieces from others. I'm just starting with Conkeror but the fact that it uses JS (far more widely known than Elisp) must mean that there's some amazing stuff out there.

Care to share your pieces? I'm particularly interested in stuff that interacts well with pages produced by Django (or other dynamic web pages).

For example, I'd love a Conkeror-based action recorder that let me browse a site and find bugs, and then immediately save & submit the sequence of actions as a bug report with a single keystroke. By including the JS actions required to replicate the error, it would be the ultimate testing harness -- even better than Selenium because it would be totally keyboard driven.

A: 

Well, I can't really help you here but I just wanted to say that although I'm an emacs guy, I dropped Conkeror for vimperator because IMHO the browsing experience is much better!

binOr
A: 

Conkeror is merely Firefox with Emacs keybindings. I don't think it is, and nor does it intend to be, a fully featured environment as Emacs is.

It facilitates your browsing experience by allowing you to use your well-worn Emacs muscle memory. And lets you keep your hands on the keyboard more, instead of jumping from keyboard to mouse all the time.

So I don't think it is really capable of doing some of the things you imagine.

Its development is also rather slow and is probably understaffed. You'll find, for example, that you can't use most common Firefox addons/extensions with it. Firebug, Greasemonkey, Gears, etc.

I do like it for some browsing tasks: it has special modes for reading Reddit, Google Reader, and others that make things a lot easier.

But I also agree with binOr that vimperator is much better, even if you're an emacs guy. Helps if you use VIM of course.

thermans
The development team may be small but we're scrappy! :-) Since it has a full Turing complete language for configuration and is, in fact, written in JS you can do just about anything you want as to it. Besides, it's sort of a pain to try to bludgeon primarily mouse driven extensions such as Firebug into working with the keyboard. And what would you need Greasemonkey for since you already have access to the DOM with JS anyway?
docgnome
Also, you can't use many Firefox extensions because Conkeror is not Firefox. They are both based on xulrunner, but many extensions, like Firebug, rely on Firefox's chrome.
docgnome
A: 

Since no one else seems interested in posting an actual reply, I will.

function my_title_format (window) {
   return 'conkeror {'+get_current_profile()+'}'+window.buffers.current.description;
}

I find it helpful to have the profile name in the window title as I use multiple profiles. It doesn't help me so much now that I use StumpWM and don't look at the window list much, but it's very helpful in other window managers.

define_key(content_buffer_normal_keymap, "C-x C-c", "confirm-quit");
can_kill_last_buffer = false;

These two keep me from accidentally closing a conkeror window by closing the last buffer.

docgnome