Monday, January 12, 2009

Twitting for Twits

On the subject of blogs and emacs the most convenient twitter interface I have found is

I modified the one function though to default to selected text.

(defun twit-query-for-post (prompt-heading initial-input)

"Query for a post text in the minibuffer."

(read-string (concat prompt-heading " (140 char max): ")

(if initial-input initial-input (if (zerop(length(region-or-word-at-point))) "" (region-or-word-at-point) ))))

No comments:

Post a Comment