October 11, 2006

Next thing on the horizon: CASCON 2006

October 11, 2006 - Categories: conference

I survived the Toast I.T. Toastmasters Open House. Yay!

The next thing on my horizon is CASCON 2006, IBM’s free conference. We’re still not sure if my research demo is going to get yanked from the tech showcase due to patent concerns, but I’ll be helping out with a social computing panel and Hack Night is a go.

Sign up for Hack Night! Free T-shirt, computers, pizza, hacking into the night… Sweet!

Surviving October one thing at a time…

Random Emacs symbol: gnus-cite-unsightly-citation-regexp – Variable: Regexp matching Microsoft-type rest-of-message citations.

How to get to CASCON

October 11, 2006 - Categories: cascon

If you’re coming from downtown, you can take the subway to Finch and
the Viva bus from there. Three choices:

Viva Pink Get off at South Town Centre
#300 Express Get off at South Town Centre
#1 YRT Get off at Warden

Check out York Region Transit
for schedules.

On Technorati: ,

Psyched!

October 11, 2006 - Categories: !Uncategorized

I just got a flash of what my DemoCamp presentation on Emacs will be
like. <laugh> It’s going to be *so* diggable.

I need to plan this well. I want to completely blow the DemoCampers
away. Maybe even get a standing ovation. ;) That means I need to build
in a crescendo.

I should also figure out how to record a presentation and how to put
it up online, so that it can go live right after the event. Mwahahaha!

Note to self: Get Adsense sorted out.

Emacs: Hideshow

October 11, 2006 - Categories: emacs, pimpmyemacs

One of the things I love about vising irc.freenode.net #emacs is that helping people with their questions lets me discover all sorts of cool things about Emacs. Today’s nugget? hideshow.el, which allows you to automatically hide / show code. (Equivalent of vim folding).

I’ve added the following code to my config:

(load-library "hideshow")
(add-hook 'emacs-lisp-mode-hook
          (lambda () (hs-minor-mode 1)
            (hs-hide-all)
            (set (make-variable-buffer-local 'my-hs-hide) t)))
(defvar my-hs-hide t "Current state of hideshow for toggling all.")
;;;###autoload
(defun my-toggle-hideshow-all ()
  "Toggle hideshow all."
  (interactive)
  (set (make-variable-buffer-local 'my-hs-hide) (not my-hs-hide))
  (if my-hs-hide
      (hs-hide-all)
    (hs-show-all)))
(global-set-key (kbd "C-c @ @") 'my-toggle-hideshow-all)
(global-set-key (kbd "C-c @ h") 'hs-hide-block)
(global-set-key (kbd "C-c @ s") 'hs-show-block)
(global-set-key (kbd "C-c @ SPC") 'hs-show-block)

Sweet.

… and then I find that I already have a
hideshow config, of course, and that
I added it on 2003.11.21… <bonk>!

On Technorati: ,

Random Emacs symbol: timezone-parse-date – Function: Parse DATE and return a vector [YEAR MONTH DAY TIME TIMEZONE].