A few small accumulated changes
authorAmin Bandali <bandali@gnu.org>
Sun, 13 Sep 2020 03:59:23 +0000 (23:59 -0400)
committerAmin Bandali <bandali@gnu.org>
Sun, 13 Sep 2020 03:59:23 +0000 (23:59 -0400)
init.el
lisp/bandali-erc.el
lisp/bandali-gnus.el
var/eshell/alias

diff --git a/init.el b/init.el
index ed50494..bebc421 100644 (file)
--- a/init.el
+++ b/init.el
  enable-recursive-minibuffers t
  resize-mini-windows t
  ;; more useful frame titles
- frame-title-format '("" invocation-name " - "
-                      (:eval
-                       (if (buffer-file-name)
-                           (abbreviate-file-name (buffer-file-name))
-                         "%b")))
;; frame-title-format '("" invocation-name " - "
;;                      (:eval
;;                       (if (buffer-file-name)
;;                           (abbreviate-file-name (buffer-file-name))
;;                         "%b")))
  ;; i don't feel like jumping out of my chair every now and again; so
  ;; don't BEEP! at me, emacs
  ring-bell-function 'ignore
  ;; cursor shape
  cursor-type t)
 
+(set-fontset-font t 'arabic "Vazir")
+
 ;; unicode support
 (comment
   (dolist (ft (fontset-list))
   ;; (magit-completing-read-function 'magit-ido-completing-read)
   :custom-face (magit-diff-file-heading ((t (:weight normal)))))
 
+(use-package magit-extras
+  :after magit
+  :config
+  (setq magit-pop-revision-stack-format
+        (pcase-let ((`(,pt ,_eob ,index-regexp)
+                     (default-value 'magit-pop-revision-stack-format)))
+          `(,pt "[%N: %h]: %ci\n  %s
+  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=%H"
+                ,index-regexp))))
+
 ;; recently opened files
 (use-package recentf
   :defer 0.2
   :bind (:map doc-view-mode-map
               ("M-RET" . image-previous-line)))
 
+(use-package shr
+  :custom
+  (shr-max-width 80))
+
 ;; Email (with Gnus, message, and EBDB)
 (require 'bandali-gnus)
 (use-package sendmail
   :config (show-paren-mode))
 
 (use-package elec-pair
+  :disabled
   :demand
   :config (electric-pair-mode))
 
index 4fe50b0..89ec6a0 100644 (file)
@@ -67,6 +67,7 @@
   (erc-fill-static-center 18))
 
 (use-package erc-match
+  :disabled
   :after erc
   :config
   (set-face-attribute
index d5231c2..3759dcf 100644 (file)
                                   (list ".*<\\(.*\\)\\.libreplanet\\.org>.*" "l.\\1")
                                   ;; iana (e.g. tz-announce)
                                   (list ".*<\\(.*\\)\\.iana\\.org>.*" "l.\\1")
+                                  ;; orbitalfox (e.g. gemini)
+                                  (list ".*<\\(.*\\)\\.lists\\.orbitalfox\\.eu>.*" "l.\\1")
                                   ;; *.lists.sr.ht, omitting one dot if present
                                   ;;    add more \\.?\\([^.]*\\) if needed
-                                  (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists.sr.ht>.*" "l.~\\1.\\2\\3")
+                                  (list ".*<~\\(.*\\)/\\([^.]*\\)\\.?\\([^.]*\\)\\.lists\\.sr\\.ht>.*" "l.~\\1.\\2\\3")
                                   ;; webmasters
                                   (from "webmasters\\(-comment\\)?@gnu\\.org" "webmasters")
                                   ;; other
@@ -91,7 +93,7 @@
                                   ;; (list ".*haskell-art.we.lurk.org" "l.haskell.art") ;d
                                   (list ".*haskell-cafe.haskell.org" "l.haskell-cafe")
                                   ;; (list ".*notmuch.notmuchmail.org" "l.notmuch") ;u
-                                  ;; (list ".*dev.lists.parabola.nu" "l.parabola-dev") ;u
+                                  (list ".*dev.lists.parabola.nu" "l.parabola-dev")
                                   ;; ----------------------------------
                                   ;; legend: (u)nsubscribed | (d)ead
                                   ;; ----------------------------------
      ("l\\.emacsconf-discuss"
       (to-address . "emacsconf-discuss@gnu.org")
       (to-list    . "emacsconf-discuss@gnu.org"))
+     ("l\\.emacsconf-org"
+      (to-address . "emacsconf-org@gnu.org")
+      (to-list    . "emacsconf-org@gnu.org"))
+     ("l\\.emacsconf-org-private"
+      (to-address . "emacsconf-org-private@gnu.org")
+      (to-list    . "emacsconf-org-private@gnu.org"))
      ("l\\.emacsconf-register"
       (to-address . "emacsconf-register@gnu.org")
       (to-list    . "emacsconf-register@gnu.org"))
@@ -445,9 +453,9 @@ Computer Science Club, University of Waterloo")
   :config
   (when (version< "27" emacs-version)
     (set-face-attribute 'mm-uu-extract nil :extend t))
-  :custom
-  (mm-uu-diff-groups-regexp
-   "\\(gmane\\|gnu\\|l\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|dev\\)"))
+  (when (version< emacs-version "27")
+    (setq mm-uu-diff-groups-regexp
+          "\\(gmane\\|gnu\\|l\\)\\..*\\(diff\\|commit\\|cvs\\|bug\\|dev\\)")))
 
 (use-package mml)
 
index a5109a4..203b616 100644 (file)
@@ -1,5 +1,6 @@
 alias .. cd ..
 alias ... cd ../..
+alias d dired $*
 alias e find-file-other-window $1
 alias ee find-file $1
 alias emacs find-file $1