X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/205cc04b34a14a117897fa49a2a760d644b9338e..bfda730d865610e210485a0a60c16e56c300965d:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ceb068a..d824423 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -313,9 +313,7 @@ For disabling the behaviour for certain buffers and/or modes." scroll-conservatively 10 scroll-preserve-screen-position 1 ;; focus follows mouse - mouse-autoselect-window t - ;; custom fill-column - fill-column b/fill-column) + mouse-autoselect-window t) (setq-default ;; always use space for indentation @@ -2002,7 +2000,12 @@ This function is intended for use with `ivy-ignore-buffers'." (lambda () (interactive) (setq debbugs-gnu-current-suppress t) - (debbugs-gnu debbugs-gnu-default-severities '("gnuzilla")))))) + (debbugs-gnu debbugs-gnu-default-severities '("gnuzilla")))) + ("C-c D G" . + (lambda () + (interactive) + (setq debbugs-gnu-current-suppress t) + (debbugs-gnu debbugs-gnu-default-severities '("guix")))))) (use-package org-ref :init @@ -2150,6 +2153,12 @@ This function is intended for use with `ivy-ignore-buffers'." :custom (debpaste-paste-is-hidden t)) +(use-package scpaste + :disabled + :config + (setq scpaste-http-destination "https://p.bndl.org" + scpaste-scp-destination "nix:/var/www/p.bndl.org")) + ;;; Email (with Gnus) @@ -2498,8 +2507,9 @@ https://csclub.uwaterloo.ca/~abandali") (address "bandali@csclub.uwaterloo.ca") (signature b/csc-signature) (gcc "nnimap+csc:Sent")))) - ;; :hook (gnus-message-setup . mml-secure-message-sign) - ) + :hook (gnus-message-setup . (lambda () + (unless (mml-secure-is-encrypted-p) + (mml-secure-message-sign))))) (use-feature gnus-topic :hook (gnus-group-mode . gnus-topic-mode)