X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/e8a3b8f7e8f19a083ae438056278026f5e2083bd..bc58e70a99051e4b0d978a23615dc23d63115585:/.emacs.d/init.el diff --git a/.emacs.d/init.el b/.emacs.d/init.el index e965e01..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,11 +17,10 @@ ;;; Commentary: -;; Emacs configuration of Amin Bandali, computer scientist, free -;; software activist, GNU maintainer & webmaster. Packages are -;; installed from GNU Guix, for purely functional and fully -;; reproducible package management. Before switching to GNU Guix, -;; I used straight.el for package management, and before that, Borg. +;; 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. +;; Before switching to Guix, I used straight.el, and before that Borg. ;; Over the years, I've taken inspiration from configurations of many ;; great people. Some that I can remember off the top of my head are: @@ -55,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 @@ -91,7 +90,7 @@ ;;; whoami (setq user-full-name "Amin Bandali" - user-mail-address "mab@gnu.org") + user-mail-address "bandali@gnu.org") ;;; comment macro @@ -892,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 @@ -1431,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 @@ -1455,7 +1455,7 @@ This function is intended for use with `ivy-ignore-buffers'." :config (unbind-key "C-j" emmet-mode-keymap) (setq emmet-move-cursor-between-quotes t) - :hook (css-mode html-mode mhtml-mode sgml-mode)) + :hook (css-mode html-mode sgml-mode)) (comment (use-package meghanada @@ -2162,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 (| @@ -2453,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:.*" @@ -2565,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) @@ -2765,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)))))))