; -*- emacs-lisp -*-
;
+(message "checking for local setup and loading..")
+(if (file-exists-p "/local/skel/all.emacs")
+ (load "/local/skel/all.emacs" nil t t))
+
(message "loading .emacs-standard")
(load "~/.emacs-standard")
+(cw/requiring-forms nil
+ (message "checking for local setup and loading..")
+ (if (file-exists-p "/local/skel/all.emacs")
+ (load "/local/skel/all.emacs" nil t t)))
+
(setq tfheen-color-preference 'light) ; light or dark
(cw/for-emacs
read-mail-command 'gnus)
(add-hook 'text-mode-hook 'turn-on-auto-fill)
+(add-hook 'debian-changelog-mode-hook 'turn-on-auto-fill)
(fset 'yes-or-no-p 'y-or-n-p)
(global-set-key "\M-n" 'browse-url-at-point)
(global-set-key (kbd "C-x C-c")
#'(lambda () (interactive)
- (if window-system
+ (if (and window-system (string-match "yiwaz" system-name))
(message "you must be kidding")
(save-buffers-kill-emacs))))
;; Multiple mode
-(cw/requiring-package
+(cw/requiring-package
(mmm-auto)
(setq mmm-global-mode 'maybe)
(set-face-background 'mmm-default-submode-face "White"))
(cw/requiring-package (tramp)
(setq tramp-auto-save-directory "/home/tfheen/tmp"
tramp-default-method "rsync"))
-
+
;; (setq tramp-multi-file-name-structure (quote ("\\`/r:\\(\\([a-z0-9]+\\)\\)?\\(\\(%s\\)+\\):\\(.*\\)\\'" 2 3 -1))
;; tramp-make-tramp-file-format "/r:%m/%u@%h:%p"
;; tramp-file-name-regexp "\\`/r:"
(tool-bar-mode 0))
(global-set-key [home] 'beginning-of-buffer)
(global-set-key [end] 'end-of-buffer)
+ (menu-bar-mode nil)
(setq cursor-in-non-selected-windows nil))
+(defun tfheen-complete (&optional x)
+ (interactive)
+ (if (eq major-mode 'jde-mode)
+ (jde-complete-at-point)
+ (hippie-expand x)))
+
(global-set-key [C-tab] 'dabbrev-expand)
-(global-set-key [M-space] '(lambda() (insert " ")))
+(global-set-key "\M- " 'tfheen-complete)
+
;(add-hook 'diary-hook 'appt-make-list)
;(add-hook 'diary-hook 'appt-make-list)