6098 comments
2357 subscribers
6257 on Twitter
Subscribe! Feed reader E-mail

Marking up note headlines with a permalink

(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

On This Day...

  • 2012: Weekly review: Week ending July 6, 2012 — Lots of things not crossed out on my to-do list, but I focused on doing other things instead. We spent [...]
  • 2011: In an imperfect world — Quinn wanted to know how I respond to systemic injustice, wicked problems, and other things that are so far beyond [...]
  • 2010: Monthly review: June 2010 — June was a great month for building. I built my first piece of furniture, a folding Adirondack chair I built [...]
  • 2007: Week in review — This week’s main accomplishment was the compilation of my first draft, which is currently being reviewed by my supervisor. While waiting [...]
  • 2006: Tech goals — Every so often, I like setting myself tech goals. My first major open source tech goal was to hack the iPaq, [...]
  • 2006: Productive week! — I’ve made a lot of progress on nailing down my research topic. Yes, yes, I know, I keep saying that, but [...]
  • 2006: I’m Somebody! — From Diary of a Somebody, in the Guardian (a UK newspaper): “”The best bloggers use their blogs as a tool to [...]
  • 2006: Graduate House Party — We celebrated Graduate House’s 6th anniversary yesterday with a big party. Good excuse to wear the red dress my mom gave [...]
  • 2006: Imagining the future — Wow. Don Marti has career advice for me. Wow. Sacha, saying that you don’t want to be a programmer in the 21st [...]
  • 2005: The only party with homework — A bon voyage party or despedida is usually a light, happy affair. Not this despedida. This one comes with homework. For [...]
  • 2004: Spam! — The Monty Python article on Slashdot must’ve started me on a SPAM kick. Bought myself a tin of SPAM and had [...]
  • 2004: “Cyber Crumbs for Successful Aging With Vision Loss” — Researchers at the Atlanta VA Rehabilitation Research and Development Center have collaborated with Charmed Technology to develop Cyber Crumbs, an electronic system [...]
  • 2004: “Programming Doesn’t Begin to Define Computer Science” — Jim Morris, computer science professor and Dean of Carnegie Mellon University’s West Coast Campus, writes that the fall-off in college-level computer science [...]
  • 2003: Met Dean last night — Had a lot of fun chatting with Dean Michael Berris last night – ACM problems, training, PLUG and Linux. (All you PLUG [...]

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!