emacs: typo: disable for git-commit-mode
[~bandali/configs] / .emacs.d / init.el
index d8cc455..055e664 100644 (file)
@@ -419,7 +419,9 @@ For disabling the behaviour for certain buffers and/or modes."
   (display-time-mode)
   :custom
   (display-time-default-load-average nil)
-  (display-time-format "%a %b %-e, %-l:%M%P"))
+  (display-time-format "%a %b %-e, %-l:%M%P")
+  (display-time-mail-icon '(image :type xpm :file "gnus/gnus-pointer.xpm" :ascent center))
+  (display-time-use-mail-icon t))
 
 (use-feature battery
   :if b/exwm-p
@@ -1415,7 +1417,7 @@ This function is intended for use with `ivy-ignore-buffers'."
 
 (use-package alloy-mode
   :straight (:host github :repo "dwwmmn/alloy-mode")
-  :mode "\\.als\\'"
+  :mode "\\.\\(als\\|dsh\\)\\'"
   :config
   (setq alloy-basic-offset 2)
   ;; (defun b/alloy-simple-indent (start end)
@@ -1856,19 +1858,18 @@ This function is intended for use with `ivy-ignore-buffers'."
                ("M-w" . boxquote-kill-ring-save)))
 
 (use-package orgalist
-  ;; http://lists.gnu.org/archive/html/emacs-orgmode/2019-04/msg00007.html
-  :disabled t
+  ;; breaks auto-fill-mode, showing this error:
+  ;; orgalist--boundaries: Lisp nesting exceeds ‘max-lisp-eval-depth’
+  :disabled
   :after message
   :hook (message-mode . orgalist-mode))
 
 ;; easily type pretty quotes & other typography, like ‘’“”-–—«»‹›
 (use-package typo
-  :disabled
   :defer 0.5
   :config
-  (typo-global-mode 1)
   :hook (((text-mode erc-mode web-mode) . typo-mode)
-         (tex-mode                      . (lambda ()(typo-mode -1)))))
+         ((tex-mode git-commit-mode)    . (lambda ()(typo-mode -1)))))
 
 (use-feature electric
   :disabled
@@ -2007,6 +2008,7 @@ This function is intended for use with `ivy-ignore-buffers'."
              :files (:defaults "Debbugs.wsdl"))
   :bind
   (("C-c D d" . debbugs-gnu)
+   ("C-c D b" . debbugs-gnu-bugs)
    ("C-c D e" .
     (lambda ()
       (interactive)
@@ -2489,7 +2491,7 @@ https://shemshak.org/~amin")
   (defvar b/uw-signature "Amin Bandali, MMath Student
 Cheriton School of Computer Science
 University of Waterloo
-https://bandali.eu.org")
+https://bndl.org")
   (defvar b/csc-signature "Amin Bandali
 Systems Committee
 Computer Science Club, University of Waterloo
@@ -2560,6 +2562,8 @@ https://csclub.uwaterloo.ca/~abandali")
         mm-verify-option 'known))
 
 (use-feature mm-uu
+  :config
+  (set-face-attribute 'mm-uu-extract nil :extend t)
   :custom
   (mm-uu-diff-groups-regexp
    "\\(gmane\\|gnu\\|l\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|dev\\)"))