   (interactive "sDDG: ")
   (let ((q (replace-regexp-in-string "\s" "+" query t t)))
     (browse-url (concat "https://duckduckgo.com?q=" q))))
+
+;;this not workie
+(defun jabber ()
+  "Starts up jabber and switches to the buffer."
+  (interactive)
+  (jabber-connect jabber-username jabber-server jabber-network-server nil jabber-password)
+  (switch-to-buffer "*-jabber-*"))
+
+(defun connect-remote (user ip)
+  "Opens an SSH tunnel to remote host with full emacs functionality."
+  (interactive "sUser: \nsIP: ")
+  (dired (format "/%s@%s:/" user ip)))
 
 (defun markdown-to-html ()
   (interactive)

  "Loads my init file"
  (interactive)
  (load-file (concat emacs-root "init.el")))

(defun open-github (&optional path)
  "Opens GitHub.com. Prompts for an optional argument of a path to GitHub.

(if (fboundp 'tool-bar-mode) (tool-bar-mode -1))
(if (fboundp 'menu-bar-mode) (menu-bar-mode -1))

;;; Fonts
(defun font-candidate (&rest fonts)
  "Return existing font which first match."
  (find-if (lambda (f) (find-font (font-spec :name f))) fonts))
         
(set-face-attribute 'default nil :font (font-candidate '"Fantasque Sans Mono-11:weight=normal"))

;; tangotango is a good all-around theme
(load-theme 'tangotango t)

;; change theme based on day/night
(setq calendar-location-name "Home") 
(setq calendar-latitude 43.16)
(setq calendar-longitude -77.61)

;(require 'theme-changer)
;(change-theme 'solarized-light 'solarized-dark)

(load-library "~/.emacs-local")

;;; end .emacs
