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)