A few small accumulated changes
[~bandali/configs] / init.el
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))