I finally started using It's All Text!— this is something I should done long ago. (It's All Text! is a Firefox extension that lets you invoke an external editor to edit the contents of any textarea element, like this blog post I'm writing right now in Blogger.)
There's such a stark contrast between using Emacs, where I feel at one with the document, and typing in the browser textarea, which always makes me feel kind of claustrophobic now (the problem is not that the textbox is too small, but that it doesn't provide enough degrees of freedom for editing).
If you are using an Emacs with multi-TTY support (a v23 snapshot), you can leave one long-lived Emacs server instance running and quickly pop up a new frame from it for each editing buffer:
- From your main Emacs frame, run M-x server-start.
- Save the following wrapper script (I called mine ecw) and
configure it to be your editor in It's All Text!:
#!/bin/sh /usr/bin/emacsclient -c $@
- In the It's All Text! options you can configure your favorite hotkey to launch a new Emacs frame for editing.
- When you're done with a buffer, save and press C-x # to return to Firefox.
Update: another tip. To automatically fire up html-mode when editing text from, say, blogger.com, you can add something like this to your .emacs:
(add-to-list 'auto-mode-alist '("/www\\.blogger\\.com\\.[^/]+\\.txt\\'" . html-mode))
This works because the temp file that It's All Text! creates has a name like www.blogger.com.2a2q1e2r32.txt.