(setq gnus-home-directory "~/.emacs.d/gnus"
gnus-init-file "~/.gnus"
message-directory (concat gnus-home-directory "/Mail")))
+
+
+(cw/for-host "luxevop"
+ ;; Firefox-like zooming of fonts.
+ (setq tfheen-base-font "Bitstream Vera Sans Mono"
+ tfheen-base-size 12
+ tfheen-current-size tfheen-base-size)
+
+ (defun font-zoom-increase-font-size ()
+ (interactive)
+ (setq tfheen-current-size (+ tfheen-current-size 2))
+ (let ((font-name (format "%s-%d" tfheen-base-font tfheen-current-size)))
+ (set-frame-font font-name)))
+
+ (defun font-zoom-decrease-font-size ()
+ (interactive)
+ (setq tfheen-current-size (- tfheen-current-size 2))
+ (let ((font-name (format "%s-%d" tfheen-base-font tfheen-current-size)))
+ (set-frame-font font-name)))
+
+ (defun font-zoom-reset-font-size ()
+ (interactive)
+ (let ((font-name (format "%s-%d" tfheen-base-font tfheen-base-size)))
+ (set-frame-font font-name)))
+
+ (define-key global-map (read-kbd-macro "C--") 'font-zoom-decrease-font-size)
+ (define-key global-map (read-kbd-macro "C-+") 'font-zoom-increase-font-size)
+ (define-key global-map (read-kbd-macro "C-=") 'font-zoom-reset-font-size)
+ (font-zoom-reset-font-size))