]> git.donarmstrong.com Git - lib.git/blobdiff - emacs_el/configuration/don-configuration.org
hide eldoc mode
[lib.git] / emacs_el / configuration / don-configuration.org
index 62a5fcfc77e21a5d316a926838a34d8c311ec6b6..7701e6ab6379c2cdea8f4495676ca3d49d58fdd9 100644 (file)
@@ -201,8 +201,9 @@ To look up options for symbols for delight, check out https://en.wikipedia.org/w
 ** 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)
@@ -210,7 +211,6 @@ To look up options for symbols for delight, check out https://en.wikipedia.org/w
   :init
   (setq ispell-program-name "ispell")
   )
-
 #+END_SRC
 
 ** Flycheck
@@ -1432,6 +1432,22 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   
   )
 #+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
@@ -1445,7 +1461,9 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
   :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
@@ -1454,7 +1472,10 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
               ("^[ \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)
@@ -2593,9 +2614,6 @@ same directory as the org-buffer and insert a link to this file."
     ))
 ; (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)