Muli Ben-Yehuda's journal

October 6, 2003

Kernel stuff

Filed under: Uncategorized — Muli Ben-Yehuda @ 1:52 PM

Updated the kernel patches page with the latest patches.

I’m in book heaven

Filed under: Uncategorized — Muli Ben-Yehuda @ 1:17 PM

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!

Shaving Yaks

Filed under: Uncategorized — Muli Ben-Yehuda @ 12:55 PM

For ladypine‘s benefit, the original reference.

lj-update hackery

Filed under: Uncategorized — Muli Ben-Yehuda @ 12:48 PM

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."
  (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 
       (lambda (x) (funcall x))

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!

Blog at