Emacs changes
This commit is contained in:
parent
dca09f1226
commit
8d87b8ba3f
1 changed files with 21 additions and 3 deletions
24
emacs.el
24
emacs.el
|
@ -74,7 +74,7 @@
|
||||||
'(jdee-server-dir "/opt/jdee-emacs-server/")
|
'(jdee-server-dir "/opt/jdee-emacs-server/")
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
(quote
|
(quote
|
||||||
(focus web-mode bash-completion awk-it auto-complete-auctex moinmoin-mode tracwiki-mode mediawiki phabricator remark-mode csv-mode gruvbox-theme ac-math fish-mode hugo mips-mode stumpwm-mode slime muttrc-mode diff-hl magit wanderlust ## auctex yaml-mode typescript sass-mode php-mode outlined-elisp-mode monokai-theme markdown-mode fill-column-indicator edit-server dracula-theme dart-mode coffee-mode auto-complete atom-one-dark-theme atom-dark-theme)))
|
(arduino-mode json-mode gruvbox-theme focus literate-coffee-mode jdee javadoc-lookup pkgbuild-mode vala-snippets vala-mode phpunit ac-php php-completion php+-mode fish-mode hugo mips-mode stumpwm-mode slime muttrc-mode diff-hl magit wanderlust ## auctex yaml-mode typescript sass-mode php-mode outlined-elisp-mode monokai-theme markdown-mode fill-column-indicator edit-server dracula-theme dart-mode coffee-mode auto-complete atom-one-dark-theme atom-dark-theme)))
|
||||||
'(send-mail-function (quote smtpmail-send-it)))
|
'(send-mail-function (quote smtpmail-send-it)))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
|
@ -109,6 +109,19 @@
|
||||||
(tool-bar-mode 0)
|
(tool-bar-mode 0)
|
||||||
(scroll-bar-mode 0)
|
(scroll-bar-mode 0)
|
||||||
|
|
||||||
|
;;; window / frame size
|
||||||
|
(setq initial-frame-alist
|
||||||
|
'(
|
||||||
|
(width . 102)
|
||||||
|
(height . 44)
|
||||||
|
))
|
||||||
|
|
||||||
|
(setq default-frame-alist
|
||||||
|
'(
|
||||||
|
(width . 100)
|
||||||
|
(height . 42)
|
||||||
|
))
|
||||||
|
|
||||||
;;; slime
|
;;; slime
|
||||||
(load (expand-file-name "~/quicklisp/slime-helper.el"))
|
(load (expand-file-name "~/quicklisp/slime-helper.el"))
|
||||||
(setq inferior-lisp-program "/usr/bin/sbcl")
|
(setq inferior-lisp-program "/usr/bin/sbcl")
|
||||||
|
@ -135,8 +148,11 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(shell-command
|
(shell-command
|
||||||
"stumpish 'eval (stumpwm::return-es-called-win stumpwm::*es-win*)'"))))
|
"stumpish 'eval (stumpwm::return-es-called-win stumpwm::*es-win*)'"))))
|
||||||
;; ac-math
|
|
||||||
|
|
||||||
|
;; auctex
|
||||||
|
(setq-default TeX-master nil)
|
||||||
|
|
||||||
|
;; ac-math
|
||||||
(add-to-list 'ac-modes 'latex-mode)
|
(add-to-list 'ac-modes 'latex-mode)
|
||||||
|
|
||||||
(defun ac-latex-mode-setup ()
|
(defun ac-latex-mode-setup ()
|
||||||
|
@ -147,7 +163,9 @@
|
||||||
(add-hook 'TeX-mode-hook 'ac-latex-mode-setup)
|
(add-hook 'TeX-mode-hook 'ac-latex-mode-setup)
|
||||||
|
|
||||||
;; auto-fill-mode
|
;; auto-fill-mode
|
||||||
;; (add-hook 'text-mode-hook 'turn-on-auto-fill-mode)
|
(add-hook 'mail-mode-hook 'auto-fill-mode)
|
||||||
|
(add-hook 'TeX-mode-hook 'auto-fill-mode)
|
||||||
|
(add-hook 'mail-mode-hook (lambda () (setq fill-column 72)))
|
||||||
(global-set-key (kbd "C-c q") 'auto-fill-mode)
|
(global-set-key (kbd "C-c q") 'auto-fill-mode)
|
||||||
|
|
||||||
;; predictive mode
|
;; predictive mode
|
||||||
|
|
Loading…
Reference in a new issue