NEW: For a prettier blog interface, see the Wordpress version!
Headlines for Thursday:
Tasks
| A | X | @1100 Meet Greg Wilson at Bahen for coffee |
| A | C | @1300 Cook lunch |
| A | X | @1830 Enterprise 2.0 Camp, Rowers Pub |
| A | X | Have supper with Deborah Hartmann |
| A | X | File lost receipt form : E-Mail from Teresa Lai |
| A | X | Figure out what I'm going to say for Enterprise 2.0 |
| A | X | Pick up my camera from No Regrets 416 535 0050 |
| A | X | Sign up for Enterprise 2.0 talk |
| B | X | Come up with article calendar : E-Mail from Don Marti |
| B | X | Reply : E-Mail from Dan Howard |
| B | X | Sign up for open source in education project : E-Mail from Don Marti |
| B | X | Confirm LW writing thing : E-Mail from Don Marti |
| B | X | Check if Mathew Ingram is coming to Enterprise 2.0 Camp : E-Mail from mrjcleaver@gmail.com |
| B | C | Get someone to take a picture of me skateboarding in a full skirt |
Notes
1. Emacs BBDB magic: Greeting people with nicknames: 13:06
I use Gnus to read my mail within the Emacs text editor. One of the advantages of using a mail client that's infinitely programmable is that you can add all sorts of little tweaks to it. Gnus can be integrated with Emacs' Big Brother Database (BBDB), a semi-structured text database in which I store all sorts of weird notes. This little hack takes the nick field of the database and automatically inserts a greeting. If someone signs himself as Mikong, I should call him that instead of Joseph Michael. Similarly, I sign my messages as Sacha, not Sandra Jean. This little tidbit makes it easier to remember to call people by their nicknames.
(defun sacha/gnus-add-nick-to-message ()
"Inserts \"Hello, NICK!\" in messages based on the recipient's nick field."
(interactive)
(save-excursion
(let ((bbdb-get-addresses-headers (list (assoc 'recipients bbdb-get-addresses-headers)))
nicks)
(setq nicks
(delq nil
(mapcar (lambda (rec) (bbdb-record-getprop rec 'nick))
(bbdb-update-records
(bbdb-get-addresses nil gnus-ignored-from-addresses 'gnus-fetch-field)
nil
nil))))
(goto-char (point-min))
(when (and nicks
(re-search-forward "--text follows this line--" nil t))
(forward-line 1)
(insert "Hello, "
(mapconcat 'identity nicks ", ")
"!\n\n")))))
(defadvice gnus-post-news (after sacha activate)
(sacha/gnus-add-nick-to-message))
On Technorati: emacs, gnus, code, elisp
Random Japanese sentence: 虎を大きな猫というなら、同じように猫を小さな虎といってもよい。 You may as well call a cat a small tiger as call a tiger a big cat.
2. Pimp My Emacs: 17:06
Along the lines of TV shows like Pimp My Ride, I'm thinking of regularly blogging something along the lines of Pimp My Emacs. For those readers who haven't had to listen to me bubble for hours on end about this text editor / way of life, Emacs is ostensibly a program that you use to edit text files. Right. But because it's insanely programmable, there are all sorts of interesting things for it, like more than five ways to read one's e-mail.
Watch for it on Technorati with emacs or pimpmyemacs, or subscribe to http://feeds.feedburner.com/pimpmyemacs . =)
On Technorati: emacs, pimpmyemacs
E-mail sent
- Mathew Ingram: Re: BarCamp / Enterprise20Toronto, tonight, 6:30, Rowers Pub on Harbord
- Michael Randall: Re: sachawiki: 2006.07.03
- Gabriel Mansour: Re: sachawiki: 2006.07.04
- Don Marti: Re: new project on emerging economies
- Don Marti: Re: LinuxWorld
- Dan Howard: Re: Your SMS's last night
- alice servera: Re: Kamea's party Sat July 29 6pm chez Alice and Mike
- Ari Caylakyan: Re: August 1 - open for speech module?
- Chelsea Taylor: Re: Dream in High Park
- vinzer x.: Re: sachawiki: About Me
- Michael Randall: Re: sachawiki: 2006.07.03
- phawk: Re: sachawiki: 2006.06.28
- Tom: Re: sachawiki: 2006.06.28
- Jay Goldman: Re: sachawiki: 2006.07.04
- Gabriel Mansour: Re: sachawiki: 2006.07.04
I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at sacha@sachachua.com .