6093 comments
2357 subscribers
6247 on Twitter
Subscribe! Feed reader E-mail

Tweaking day-specific planner pages

If you set planner-day-page-template to a function. Planner invokes
the function when creating a new day page. This means that you can do
all sorts of stuff. For example, to include the day name in your day
template, add the following code to your ~/.emacs:

(setq planner-day-page-template (lambda ()
  "Day page template for Sacha."
  (let ((date (planner-filename-to-calendar-date (planner-page-name))))
    (insert (calendar-day-name date) "\n* Tasks\n\n\n* Schedule\n\n\n* Notes\n"))))

Let’s say that you wanted to have day-specific messages:

(setq planner-day-page-template (lambda ()
  "Day page template for Sacha."
  (let* ((date (planner-filename-to-calendar-date (planner-page-name)))
         (day (calendar-day-of-week date)))
    (insert (cond
             ;; Day of week starts from 0
             ((= day 0) "Woohoo! Sunday!")
             ((= day 1) "Oh no, it's Monday")
             ((= day 5) "T.G.I.F.!")
             ((= day 6) "I love Saturdays.")
             ;; The rest of the days
             (t "Is it Friday yet?"))
            "\n\n* Tasks\n\n\n* Schedule\n\n\n* Notes\n\n"))))

… although you might want to have a more upbeat way to think of weekdays. ;)

You could do lots of things to your day page template. You could
include one line describing your career goals into your planner every
weekday and one about your personal goals every weekend. You could use
fortune to include a random work-related joke or quotation during the
weekday and a fun-related one during the weekend. You can even include
text based on the current month or day or year, if you wanted.

It pays to learn Emacs Lisp. Crazy Emacs geeks like me
build all sorts of entry points for customization, so you’re really
just limited by your imagination. =)

Random Emacs symbol: w3m-toggle-inline-images-internal – Command:
Toggle displaying of inline images on current buffer.

On Technorati:

Short URL: http://sachachua.com/blog/p/4422

On This Day...

  • 2012: Weekly review: Week ending October 26, 2012 — Conference crunch! I’ve been sketchnoting so much, and people really like what I share. Onward and upward! I’ve been [...]
  • 2011: Transcript: Blogging (Part 9): Learning from others — Hat-tip to Holly Tse for organizing this interview! At the end of the blog series, I’ll put them all together [...]
  • 2010: "But what can I talk about?" Toastmaster tactics for tackling topics — This is a talk I’m giving to the IBM Toronto Lab Toastmasters today. I should trim a few hundred words [...]
  • 2007: Choosing a daily schedule in Emacs — There’s more than one way to plan your day in Emacs, just like there’s more than one way to do everything [...]
  • 2007: Emacs: managing schedule — If you spend a lot of time in Emacs—writing code, reading mail, saving the world—then it makes sense to manage your [...]
  • 2006: Don’t sell; help people buy — A book I’m reading right now (151 Quick Ideas to Get New Customers, by Jerry R. Wilson) notes that people hate [...]
  • 2006: Heavy stuff nearer floor = good — I can’t believe I hadn’t thought of this earlier. The perfect place for my heavy suitcases is, of course, *on the [...]
  • 2006: Keeping track of the age of messages — I can get pretty bad at responding to e-mail. This is an experiment to see whether the negative reinforcement of seeing [...]
  • 2006: Planet Emacsen — http://planet.emacsen.org/ by Edward O’Connor. ‘Nuff said! =D On Technorati: emacs, pimpmyemacs Random Emacs symbol: ido-subdir – Face: *Font used by ido for [...]
  • 2006: Livin’ la Vida Emacs — Squee! <bounce, bounce, bounce> Democamp10: Back at Mars Last, and certainly not least was Sacha Chua. If we could harness it I’m [...]
  • 2006: Looking for a personal board of advisors — I won’t be going to the Free Software and Open Source Symposium tomorrow because I’m meeting Stephen Perelgut and a possible [...]
  • 2005: Argh. Blog comment spam. — I remember why I put off having online blog comments for the longest time. It’s just a lot of work filtering [...]
  • 2005: Reading bursts — Now that I’ve given myself permission to buy books I like, my bookshelf is slowly but steadily growing. Here’s a [...]
  • 2005: If you throw enough pots, you’ll be a master potter — If you throw enough pots, you’ll be a master potter. I got up this morning at 6:30 to write. The idea [...]
  • 2005: Free Penguin — Free penguin sewing instructions! Oooh, cuuuuuuuuuuuuuuuuuuute!
  • 2005: Planner tip #1: Overcome inbox insanity the Planner way — (641 words) Overloaded with e-mail? Overcome inbox insanity by using Planner to keep track of what you need to do. If you [...]
  • 2004: More realizations — I’m finding it hard to concentrate on my project. I need users. I need to know that what I am doing [...]
  • 2004: Met Tomoko and her friend — I had a hard time finding Tomoko at the Shinjuku station because there were so many people. Even with cellphones, it [...]
  • 2004: Kitted out — Went out in coat, gloves, scarf, and bonnet. Still felt cold, but didn’t shiver as much. And this is just autumn! [...]
  • 2004: Translators EB — Date Saturday, Oct. 30 Time 6:00pm (til about 9, 9:30) Place Oiwake (Taito-ku Nishiasakusa 3-28-11) http://www.oiwake.info/ 3844-6283 Access Iriya on the Hibiya sen or Tawaramachi on the [...]

Get the highlights as a PDF!

Stories from my Twenties: Highlights from a Decade of Blogging

Free sample!