X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/92ad96750352a948cc047d56c8c3c4b130afbbd3..bc58e70a99051e4b0d978a23615dc23d63115585:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e6059b3..056f4a7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1,6 +1,6 @@ -;;; init.el --- mab's emacs configuration -*- lexical-binding: t -*- +;;; init.el --- bandali's emacs configuration -*- lexical-binding: t -*- -;; Copyright (C) 2018-2019 Amin Bandali +;; Copyright (C) 2018-2019 Amin Bandali ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -17,9 +17,9 @@ ;;; Commentary: -;; GNU Emacs configuration of Amin Bandali (mab), computer scientist, +;; GNU Emacs configuration of Amin Bandali, computer scientist, ;; Free Software activist, and GNU maintainer & webmaster. Packages -;; are installed through GNU Guix, for a fully reproducible setup. +;; are installed through GNU Guix for a fully reproducible setup. ;; Before switching to Guix, I used straight.el, and before that Borg. ;; Over the years, I've taken inspiration from configurations of many @@ -54,7 +54,7 @@ (defvar b/gc-cons-threshold gc-cons-threshold) (defvar b/gc-cons-percentage gc-cons-percentage) (defvar b/file-name-handler-alist file-name-handler-alist) -(setq gc-cons-threshold (* 400 1024 1024) ; 400 MiB +(setq gc-cons-threshold (* 30 1024 1024) ; 30 MiB gc-cons-percentage 0.6 file-name-handler-alist nil ;; sidesteps a bug when profiling with esup @@ -90,7 +90,7 @@ ;;; whoami (setq user-full-name "Amin Bandali" - user-mail-address "mab@gnu.org") + user-mail-address "bandali@gnu.org") ;;; comment macro @@ -891,8 +891,9 @@ around if needed." (bind-keys ("C-c f ." . find-file) + ("C-c f d" . find-name-dired) ("C-c f l" . find-library) - ("C-c f r" . recentf-open-files) + ;; ("C-c f r" . recentf-open-files) ("C-c x" . execute-extended-command)) (comment @@ -1430,7 +1431,7 @@ This function is intended for use with `ivy-ignore-buffers'." (use-package sgml-mode :config - (setq sgml-basic-offset 2)) + (setq sgml-basic-offset 0)) (use-package css-mode :config @@ -2161,7 +2162,7 @@ This function is intended for use with `ivy-ignore-buffers'." (nnimap-address "127.0.0.1") (nnimap-server-port 143) (nnimap-authenticator plain) - (nnimap-user "mab@gnu.local") + (nnimap-user "bandali@gnu.local") (nnimap-inbox "INBOX") (nnimap-split-methods 'nnimap-split-fancy) (nnimap-split-fancy (| @@ -2452,7 +2453,7 @@ https://csclub.uwaterloo.ca/~abandali") (setq gnus-message-replysign t gnus-posting-styles '((".*" - (address "mab@gnu.org")) + (address "bandali@gnu.org")) ("nnimap\\+gnu:l\\..*" (signature nil)) ("nnimap\\+gnu:.*" @@ -2564,7 +2565,7 @@ https://csclub.uwaterloo.ca/~abandali") message-subscribed-address-functions '(gnus-find-subscribed-addresses) message-dont-reply-to-names - "\\(\\(\\(amin\\|mab\\)@shemshak\\.org\\)\\|\\(.*@aminb\\.org\\)\\|\\(\\(mab\\|bandali\\|aminb?\\)@gnu\\.org\\)\\|\\(a?bandali@\\(csclub\\.\\)?uwaterloo\\.ca\\)\\)") + "\\(\\(amin@shemshak\\.org\\)\\|\\(.*@aminb\\.org\\)\\|\\(\\(bandali\\|mab\\|aminb?\\)@gnu\\.org\\)\\|\\(a?bandali@\\(csclub\\.\\)?uwaterloo\\.ca\\)\\)") ;; (require 'company-ebdb) :hook (;; (message-setup . mml-secure-message-sign-pgpmime) (message-mode . flyspell-mode) @@ -2764,8 +2765,6 @@ https://csclub.uwaterloo.ca/~abandali") (setq znc-servers `(("znc.shemshak.org" 1337 t ((freenode "amin/freenode" ,pwd))) - ("znc.shemshak.org" 1337 t - ((moznet "amin/moznet" ,pwd))) ("znc.shemshak.org" 1337 t ((oftc "amin/oftc" ,pwd)))))))