Bespin in Ubiquity and Jetpack

Lately I’ve been spending some time working on Bespin integration in Jetpack and Ubiquity. “But Jetpack already had Bespin support!” some of you might think, an yes it did – but only for people running OSX. The rest of us was stuck with a textarea, styled to look slightly like Bespin (and indeed, most people didn’t even notice it wasn’t the real one). Ubiquity had CodeMirror for certain version of Firefox, but for most users it would be disabled due to an incompatibility between later versions of Firefox (3.1b1+ I think) and the CodeMirror project.

The problem — and the reason Ubiquity didn’t change over sooner — was that the official version of Bespin embedded was running a quite old Bespin (0.2.2), while the current version is 0.4.3, and the former didn’t support clipboard copy/paste in anything but OSX.

Long story short: a few bugs later and a lot of help from some very friendly Bespin devels (thanks Alex and Kevin!), inquisitive readers can now try out Bespin 0.4.3 in Jetpack and Ubiquity. It will require you to apply patches by hand against the latest development versions of the relevant project, or wait until the changes land.

EDIT: here is an updated version of the Ubiquity Bespin patch, that includes autoindent, closepairs, and other useful settings.

Feedback (and bug reports) would be greatly appreciated.

3 Responses to “Bespin in Ubiquity and Jetpack”

  1. lrbabe says:

    That is awesome! I’m going to try that asap.

  2. I hasten to add that Bespin has already landed in Ubiquity hg, and should be included in the next beta. (as far as I know, you’ll still have to patch manually to see the new version in Jetpack)

  3. Adam says:

    Thanks a lot! Now jetpack is even more awesome!

Leave a Reply