17 Jul 2004 TazForEver   » (Journeyer)

emacs tip
I was interested in a feature that is present in a lot of IDE. I don't know if this has a name or if there's a patent on it : when you instert a (, [ or {, a ), [ or } is automatically inserted you don't get unbalanced (), [] or {}

(setq skeleton-pair t)
(global-set-key "[" 'skeleton-pair-insert-maybe)
(global-set-key "{" 'skeleton-pair-insert-maybe)
(global-set-key "(" 'skeleton-pair-insert-maybe)

very nice :D

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!