Updated the kernel patches page with the latest patches.
October 6, 2003
I’m in book heaven
On Thursday, after the first Mathematical Logic class in Tel Aviv, I stopped by the Azrieli center (aka purgatory, home of the clueless), to grab a quick dinner before heading home on the train. Since I never eat dinner alone without something to read, I stopped by the local Steimazky (book shop) and picked up a copy of Dan Simmons’ Hyperion. By the time I finished dinner, I was hooked. Late yesterday night, I finished it, only to discover that there are three(!) more books in the series, and if I want resolution, I’ll have to read them too. Damnit, it’s a good story.
Yesterday, Orna brought home my long awaited birthday package from the post office – Neal Stephenson’s Quicksilver). I’ve only just started reading it, and it’s every bit as good as I expected. Hooray for good books!
lj-update hackery
lj-compose now starts with the new buffer in auto-fill-mode, just the way I like it. Steps to achieve this worthy goal:
At the top of lj-write.el, define a variable to hold the hooks list:
(defvar lj-compose-hook nil "Hooks to be called on lj-compose startup")
Change lj-compose() to call our hooks:
(defun lj-compose (&optional profile) "Compose a LiveJournal update, using PROFILE." (interactive) (lj--initialize) (switch-to-buffer (get-buffer-create "*LiveJournal*")) (delete-region (point-min) (point-max)) (or (eq major-mode 'lj-update-mode) (lj-update-mode)) (lj--insert-initial-buffer-contents nil profile) (set-buffer-modified-p nil) ;; call our startup hooks (mapcar (lambda (x) (funcall x)) lj-compose-hook))
And add the hooks you want to the initialization files (.xemacs/init.el in my case):
(add-hook 'lj-compose-hook '(lambda () (auto-fill-mode t)))
That’s all folks!