** Flyspell ð
#+BEGIN_SRC emacs-lisp
(use-package flyspell
- :delight flyspell-mode ð
+ ; :delight flyspell-mode ð
:config
+ (setq flyspell-mode-line-string " ð")
(add-hook 'text-mode-hook 'turn-on-flyspell)
(add-hook 'c-mode-common-hook 'flyspell-prog-mode)
(add-hook 'cperl-mode-hook 'flyspell-prog-mode)
:init
(setq ispell-program-name "ispell")
)
-
#+END_SRC
** Flycheck
*** outline minor mode
#+BEGIN_SRC emacs-lisp
(use-package outline
- :ensure f
+ :straight nil
:delight
- :config
+ :init
(setq outline-minor-mode-prefix "C-c C-2")
)
#+END_SRC
)
#+END_SRC
+** Apache
+#+BEGIN_SRC emacs-lisp
+(use-package apache-mode
+ :delight ðŠķ
+ :mode "apache\\.conf\\'"
+ )
+#+END_SRC
+** ELDoc
+#+BEGIN_SRC emacs-lisp
+(use-package eldoc
+ :delight
+ :commands eldoc-mode
+ :straight nil
+ )
+#+END_SRC
+
* Email
** Mutt
*** Message-mode
:hook 'my/message-mode-settings
:hook 'turn-on-flyspell
:bind (:map message-mode-map
- ("C-c C-a" . my/post-attach-file))
+ ("C-c C-a" . my/post-attach-file)
+ ("C-x p" . my/message-kill-buffer)
+ )
:config
(defun my/message-mode-settings ()
(font-lock-add-keywords nil
("^[ \t]*>[ \t]*>.*$"
(0 'message-double-quoted-text-face))))
)
-
+ (defun my/message-kill-buffer ()
+ (interactive)
+ (kill-buffer nil)
+ )
(defun my/post-attach-file ()
"Prompt for an attachment."
(interactive)
))
; (setq mouse-drag-copy-region t)
-;; tramp configuration
-(setq tramp-use-ssh-controlmaster-options nil)
-
(setq-default c-indent-level 4)
(setq-default c-brace-imaginary-offset 0)
(setq-default c-brace-offset -4)