0
;; with uniform syntax and a real macro system.
0
;; - http://ratpoison.nongnu.org/inspiration.html
0
-;;; Fix for a bug in CVS Emacs 2 April 08; remove when fixed upstream:
0
-(defun handle-shift-selection ())
0
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0
(unless (string-equal "root" (getenv "USER"))
0
(when (and (> emacs-major-version 22)
0
-;;; load-path, autoloads, and requires
0
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0
+;;; Fix for a bug in CVS Emacs 2 April 08; remove when fixed upstream:
0
+(defun handle-shift-selection ())
0
+(toggle-debug-on-error)
0
(add-to-list 'load-path "~/.emacs.d")
0
(add-to-list 'load-path "~/.emacs.d/jabber")
0
-(add-to-list 'load-path "~/.emacs.d/nxml/nxml-mode-20041004")
0
-;; Regenerate the autoload file if it doesn't exist or it's too
0
-;; old. (2 weeks or so)
0
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0
+;;; Regenerate the autoload file if it doesn't exist or it's too
0
+;;; old. (2 weeks or so)
0
(let ((autoload-file "~/.emacs.d/loaddefs.el"))
0
(if (or (not (file-exists-p autoload-file))
0
(< (+ (car (nth 5 (file-attributes autoload-file))) 20)
0
(update-directory-autoloads "~/.emacs.d/")))
0
-(autoload 'nxhtml-mode "nxml/autostart" "" t)
0
-(autoload 'nxml-mode "nxml/autostart" "" t)
0
-(autoload 'ruby-mode "ruby-mode" "" t)
0
-(autoload 'javascript-mode "javascript" "" t)
0
-(autoload 'w3m "w3m-load" "" t)
0
(autoload 'yaml-mode "yaml-mode")
0
(autoload 'moz-minor-mode "moz" "Mozilla Minor and Inferior Mozilla Modes" t)
0
(autoload 'whitespace-mode "whitespace" "Toggle whitespace visualization." t)
0
-(autoload 'tail-file "tail
" "Tail a file." t)
0
+(autoload 'tail-file "tail
.el" "Tail a file." t)
0
(autoload 'lisppaste-paste-region "lisppaste" "" t)
0
(autoload 'top-mode "top-mode" "" t)
0
(autoload 'jabber-connect "jabber" "" t)
0
+;; TODO: make this an autoload; it's slow!
0
+;;(load "nxml/autostart.el")
0
- (define-key log-view-mode-map (kbd "RET") 'log-view-find-revision)
0
- (define-key vc-annotate-mode-map (kbd "RET") 'vc-annotate-find-revision-at-line)))
0
+ '(progn (require 'vc-buttons)
0
+;; some boxes won't have this installed from CVS
0
+;; if that is so, try roastbeef install w3m && roastbeef install emacs-w3m
0
+(ignore-errors (require 'w3m-load))
0
+;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0
;; My support files and configurations
0
(require 'my-registers)
0
(require 'my-hook-setup)
0
-(eval-after-load 'ruby-mode '(require 'my-ruby))
0
-(eval-after-load 'javascript-mode '(require 'my-js))
0
-(eval-after-load 'jabber-connect '(load "jabber-config"))
0
-(eval-after-load 'irc '(load "rcirc-config"))
0
-;; Well, these autoloads have to get invoked somehow.
0
-(add-to-list 'auto-mode-alist '("\\.rb$" . ruby-mode))
0
-(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
0
-(add-to-list 'auto-mode-alist '("\\.js$" . javascript-mode))
0
-(add-to-list 'auto-mode-alist '("\\.xml$" . nxml-mode))
0
-(add-to-list 'auto-mode-alist '("\\.html$" . nxhtml-mode))
0
-(add-to-list 'auto-mode-alist '("\\.rhtml$" . nxhtml-mode))
0
(setq system-specific-config
0
(if (file-exists-p system-specific-config)
0
(load system-specific-config))
0
-;; C-u C-SPC jump to previous edit
0
-;; M-/ autocomplete word
0
-;; M-! insert output of shell command
0
-;; M-| replace region with shell output
0
-;; C-c C-r revert buffer
0
-;; C-x M-k kill buffer and window
0
-;; C-x M-f find file in other window
0
-;; C-c d toggle-dedicated-window
0
-;; C-x r k Rectangle kill
0
-;; C-x r y Rectangle yank
0
-;; C-x r c Rectangle clear (replace with space)
0
-;; C-x r o Insert space rectangle
0
-;; C-x r t Replace rectangle with string
0
-;; C-m C-m to start recording
0
-;; name it, and do stuff
0
-;; M-C-p, M-C-n back and forward blocks
0
-;; C-c C-s irb when in ruby-mode
0
-;; C-c C-r Send region to inf-ruby
0
-;; C-c M-r Send region to inf-ruby and switch to buffer
0
-;; C-c C-l Load file in ruby
0
-;; C-c C-x Send definition
0
-;; C-u N C-x $ only display lines with less than N spaces of indentation
0
-;; C-x n n narrow visibility of buffer to region
0
-;; C-x n w widen to full buffer
0
-;; mark with 'm', press 'Q' for multi-file find/replace
0
-;; C-j launch dired when ido-mode is enabled
0
-;; G G gnus keyword search
0
-;; G T show context in keyword search
0
-;; C-x v g - blame (V to toggle committer data)
0
-;; C-x v d - dired (v t to show all files)
0
-;; C-x v = - diff (C-u to specify revision)
0
-;; C-x v ~ - visit specific revision
0
-;; piping: ifconfig > #<buffer interfaces>
0
-;; Well, we already have `C-x r w R' (window-configuration-to-register)
0
-;; and `C-x r f R' (frame-configuration-to-register) for saving window
0
-;; configurations, and `C-x r j R' for restoring them.
0
-;; Profiling: time emacs -e save-buffers-kill-terminal
0
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
0
+;;; C-u C-SPC jump to previous edit
0
+;;; M-/ autocomplete word
0
+;;; M-! insert output of shell command
0
+;;; M-| replace region with shell output
0
+;;; C-x r k Rectangle kill
0
+;;; C-x r y Rectangle yank
0
+;;; C-x r c Rectangle clear (replace with space)
0
+;;; C-x r o Insert space rectangle
0
+;;; C-x r t Replace rectangle with string
0
+;;; C-m C-m to start recording
0
+;;; name it, and do stuff
0
+;;; M-C-p, M-C-n back and forward blocks
0
+;;; C-c C-s irb when in ruby-mode
0
+;;; C-c C-r Send region to inf-ruby
0
+;;; C-c M-r Send region to inf-ruby and switch to buffer
0
+;;; C-c C-l Load file in ruby
0
+;;; C-c C-x Send definition
0
+;;; C-u N C-x $ only display lines with less than N spaces of indentation
0
+;;; C-x $ disable above
0
+;;; C-x n n narrow visibility of buffer to region
0
+;;; C-x n w widen to full buffer
0
+;;; mark with 'm', press 'Q' for multi-file find/replace
0
+;;; C-j launch dired when ido-mode is enabled
0
+;;; G G gnus keyword search
0
+;;; G T show context in keyword search
0
+;;; list-colors-display
0
+;;; C-x v g - blame (V to toggle committer data)
0
+;;; C-x v d - dired (v t to show all files)
0
+;;; C-x v = - diff (C-u to specify revision)
0
+;;; C-x v ~ - visit specific revision
0
+;;; C-x v d - vc-status
0
+;;; piping: ifconfig > #<buffer interfaces>
0
+;;; sudo ionice -c3 -ppid
0
+;;; Well, we already have `C-x r w R' (window-configuration-to-register)
0
+;;; and `C-x r f R' (frame-configuration-to-register) for saving window
0
+;;; configurations, and `C-x r j R' for restoring them.
0
+;;; Profiling: time emacs -e save-buffers-kill-terminal
0
-;; follow Stefan's advice wrt vc-buttons and log-view.el
0
;; look into adding hyperlinks to vc-blame
0
+;; find a better dark-on-light color scheme
0
+;; steal ZSS defadvice in setup-aliases.el for find-file-at-point
0
+;; fix whitespace-mode. augh. horrible.
0
;; fix twittering-mode bugs mentioned in file
0
-;; submit patched rcirc completion
0
-;; scpaste: use tramp functions, finish scpaste-window
0
-;; fix whitespace-mode config to not be horrible
0
;; allow edits to occur buffer to get propagated to original buffer
0
-;; pcomplete for: kill/killall, git, apt-get
0
-;; unify statuses in twitter and jabber
0
-;; find a better dark-on-light color scheme
0
;; make column-number-mode only active in coding buffers
0
+;; pcomplete for: kill/killall, git, apt-get
0
;; flymake for JS and Ruby
0
-;; steal ZSS defadvice in setup-aliases.el for find-file-at-point
0
+;; submit patched rcirc completion
0
+;; scpaste: use tramp functions, finish scpaste-window
0
;; fix ruby-get-old-input to not care about what the prompt looks like
0
+;; check out js2-mode.el: http://code.google.com/p/js2-mode/
0
+;; disable global-hl-line-mode for shell buffers?
0
-;; figure out how to get nnml
under version control w/o merge conflicts
0
+;; figure out how to get nnml
in VC w/o merge conflicts
0
-;; do something about getting a better ruby highlighter:
0
-;; http://rubyforge.org/projects/ruby-tp-dw-gram/
0
-;; http://cedet.cvs.sourceforge.net/cedet/cedet/contrib/
0
+;;; do something about getting a better ruby highlighter:
0
+;;; http://rubyforge.org/projects/ruby-tp-dw-gram/
0
+;;; http://cedet.cvs.sourceforge.net/cedet/cedet/contrib/
0
-;; make an emacs peepcode
0
+;;; make an emacs peepcode