Archive for December, 2006

I think everybody knows tinyurl.com or metamark.net. These are services which create short URL redirections. To create such redirections from within emacs, I created some functions. (require ‘mm-url) (defun th-get-tinyurl () “Grabs the url at point and echos the equivalent tinyurl in the minibuffer to ease cutting and pasting.” (interactive) (let* ((long-url (thing-at-point ‘url)) (tinyurl [...]

Using TAB to complete and indent

Posted: December 2, 2006 in Emacs

I’m not a too fast typist, but emacs’ dabbrev-expand makes even me fly. Ok, not as fast as a hawk, but maybe like a quail. ;-) So it wouldn’t be a bad idea to bind dabbrev-expand to the TAB key, if indenting wasn’t such an important command when programming. Because I didn’t want to choose [...]