| @@ -128,6 +128,11 @@ IF OK-IF-ALREADY-EXISTS is true force download." | |||||
| '( | '( | ||||
| markdown-mode | markdown-mode | ||||
| yaml-mode | yaml-mode | ||||
| gnuplot-mode | |||||
| erlang | |||||
| js2-mode | |||||
| git-commit-mode | |||||
| gitignore-mode | |||||
| ;; ack | ;; ack | ||||
| color-moccur | color-moccur | ||||
| gtags | gtags | ||||
| @@ -136,10 +141,8 @@ IF OK-IF-ALREADY-EXISTS is true force download." | |||||
| ;;flymake-jshint | ;;flymake-jshint | ||||
| ;;flymake-python-pyflakes | ;;flymake-python-pyflakes | ||||
| xclip | xclip | ||||
| gnuplot-mode | |||||
| erlang | |||||
| git-commit-mode | |||||
| gitignore-mode | |||||
| foreign-regexp | |||||
| multi-term | |||||
| dirtree | dirtree | ||||
| ) | ) | ||||
| ) | ) | ||||
| @@ -871,7 +874,6 @@ found, otherwise returns nil." | |||||
| (not (equal (getenv "DISPLAY") "")) | (not (equal (getenv "DISPLAY") "")) | ||||
| (executable-find "xclip") | (executable-find "xclip") | ||||
| ;; (< emacs-major-version 24) | ;; (< emacs-major-version 24) | ||||
| (fetch-library "http://www.emacswiki.org/emacs/download/xclip.el" t) | |||||
| (require 'xclip nil t) | (require 'xclip nil t) | ||||
| nil | nil | ||||
| (turn-on-xclip)) | (turn-on-xclip)) | ||||
| @@ -946,10 +948,7 @@ found, otherwise returns nil." | |||||
| '("python2" . python-mode)) | '("python2" . python-mode)) | ||||
| ;; http://fukuyama.co/foreign-regexp | ;; http://fukuyama.co/foreign-regexp | ||||
| '(and (fetch-library | |||||
| "https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" | |||||
| t) | |||||
| (require 'foreign-regexp nil t) | |||||
| '(and (require 'foreign-regexp nil t) | |||||
| (progn | (progn | ||||
| (setq foreign-regexp/regexp-type 'perl) | (setq foreign-regexp/regexp-type 'perl) | ||||
| '(setq reb-re-syntax 'foreign-regexp) | '(setq reb-re-syntax 'foreign-regexp) | ||||
| @@ -1152,13 +1151,9 @@ found, otherwise returns nil." | |||||
| (add-to-list 'auto-mode-alist (cons "\\.ol\\'" 'outline-mode)) | (add-to-list 'auto-mode-alist (cons "\\.ol\\'" 'outline-mode)) | ||||
| (add-to-list 'auto-mode-alist (cons "\\.md\\'" 'outline-mode)) | (add-to-list 'auto-mode-alist (cons "\\.md\\'" 'outline-mode)) | ||||
| (when (fetch-library | |||||
| "http://jblevins.org/projects/markdown-mode/markdown-mode.el" | |||||
| t) | |||||
| (autoload-eval-lazily 'markdown-mode) | |||||
| (when (autoload-eval-lazily 'markdown-mode) | |||||
| (setq markdown-command (or (executable-find "markdown") | (setq markdown-command (or (executable-find "markdown") | ||||
| (executable-find "markdown.pl"))) | (executable-find "markdown.pl"))) | ||||
| (add-to-list 'auto-mode-alist (cons "\\.md\\'" 'markdown-mode)) | |||||
| (add-hook 'markdown-mode-hook | (add-hook 'markdown-mode-hook | ||||
| (lambda () | (lambda () | ||||
| (outline-minor-mode 1) | (outline-minor-mode 1) | ||||
| @@ -1186,10 +1181,7 @@ found, otherwise returns nil." | |||||
| ;; (gtags-mode 1)) | ;; (gtags-mode 1)) | ||||
| )))) | )))) | ||||
| (when (fetch-library | |||||
| "https://raw.github.com/mooz/js2-mode/master/js2-mode.el" | |||||
| t) | |||||
| (autoload-eval-lazily 'js2-mode) | |||||
| (when (autoload-eval-lazily 'js2-mode) | |||||
| ;; currently do not use js2-mode | ;; currently do not use js2-mode | ||||
| ;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) | ;; (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) | ||||
| ;; (add-to-list 'auto-mode-alist '("\\.jsm\\'" . js2-mode)) | ;; (add-to-list 'auto-mode-alist '("\\.jsm\\'" . js2-mode)) | ||||
| @@ -1344,13 +1336,10 @@ found, otherwise returns nil." | |||||
| ;; term mode | ;; term mode | ||||
| ;; (setq multi-term-program shell-file-name) | ;; (setq multi-term-program shell-file-name) | ||||
| (and (fetch-library "http://www.emacswiki.org/emacs/download/multi-term.el" | |||||
| t) | |||||
| (autoload-eval-lazily 'multi-term) | |||||
| (progn | |||||
| (setq multi-term-switch-after-close nil) | |||||
| (setq multi-term-dedicated-select-after-open-p t) | |||||
| (setq multi-term-dedicated-window-height 20))) | |||||
| (when (autoload-eval-lazily 'multi-term) | |||||
| (setq multi-term-switch-after-close nil) | |||||
| (setq multi-term-dedicated-select-after-open-p t) | |||||
| (setq multi-term-dedicated-window-height 20)) | |||||
| (when (autoload-eval-lazily 'term '(term ansi-term)) | (when (autoload-eval-lazily 'term '(term ansi-term)) | ||||
| (defun my-term-quit-or-send-raw () | (defun my-term-quit-or-send-raw () | ||||