| @@ -280,9 +280,9 @@ found, otherwise returns nil." | |||||
| system-name | system-name | ||||
| (abbreviate-file-name default-directory))) | (abbreviate-file-name default-directory))) | ||||
| (run-with-idle-timer 3 | |||||
| t | |||||
| 'my-message-current-info) | |||||
| ;; (run-with-idle-timer 3 | |||||
| ;; t | |||||
| ;; 'my-message-current-info) | |||||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||
| ;; minibuffer | ;; minibuffer | ||||
| @@ -653,6 +653,17 @@ found, otherwise returns nil." | |||||
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | ||||
| ;; some modes and hooks | ;; some modes and hooks | ||||
| ;; todo: reg major mode when set explicitly | |||||
| ;; Detect file type from shebang and set major-mode. | |||||
| (add-to-list 'interpreter-mode-alist | |||||
| '("python3" . python-mode)) | |||||
| (add-to-list 'interpreter-mode-alist | |||||
| '("python2" . python-mode)) | |||||
| ;; (add-hook default-majorg-mode | |||||
| ;; 'my-detect-major-mode-from-shebang) | |||||
| ;; http://fukuyama.co/foreign-regexp | ;; http://fukuyama.co/foreign-regexp | ||||
| '(and (fetch-library | '(and (fetch-library | ||||
| "https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" | "https://raw.github.com/k-talo/foreign-regexp.el/master/foreign-regexp.el" | ||||