7 Apr 2000 orph   » (Master)

Struggling with form validation for JSP and making it work in elegant/lazy fashion with EJB. More on this once I find The Right Solution(tm).

Created a silly new elisp to mimic the HOME button behavior of MSVC++. This means that pressing HOME will first go to the start of text, and if pressed again will go to the real beginning of line:

;; Emulates MSVC++ behavior of first HOME goes to start 
;; of text, press it again and point goes to start of line.
(defun my-home-key () 
  (interactive)
  (let ((f (current-column)))
    (beginning-of-line)
    (skip-chars-forward " \t")
    (if (= (current-column) f)
	(beginning-of-line))))
(global-set-key [home] 'my-home-key)

Latest blog entries     Older blog entries

New Advogato Features

FOAF updates: Trust rankings are now exported, making the data available to other users and websites. An external FOAF URI has been added, allowing users to link to an additional FOAF file.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!