Marking up note headlines with a permalink
Posted on July 8th, 2004 by Sacha Chua
(defun sacha/planner-markup-note ()
"Replace note with marked-up span."
(let ((id (concat
emacs-wiki-bare-digits-anchor-prefix
(match-string 1)))
(val (match-string 1)))
(replace-match
(save-match-data
(format "#%s\n** %s " id
(planner-make-link
(concat (emacs-wiki-page-name)
"#" val)
(concat val ".")))))))
(defalias 'planner-markup-note 'sacha/planner-markup-note)
Short URL: http://sachachua.com/blog/p/2174
I'm 