summaryrefslogtreecommitdiffstats
path: root/init.el
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2020-09-12 23:59:23 -0400
committerAmin Bandali <bandali@gnu.org>2020-09-12 23:59:23 -0400
commit7c558c9b5ee7aaf336f643cc6767ec875441a239 (patch)
treec97fc0085b033a048ba46ec5f7bbbf69cf6f3c6e /init.el
parentaab2bf583e854d9fc373b85bc406a51ed8da7b95 (diff)
downloadconfigs-7c558c9b5ee7aaf336f643cc6767ec875441a239.tar.gz
configs-7c558c9b5ee7aaf336f643cc6767ec875441a239.tar.xz
configs-7c558c9b5ee7aaf336f643cc6767ec875441a239.zip
A few small accumulated changes
Diffstat (limited to 'init.el')
-rw-r--r--init.el27
1 files changed, 22 insertions, 5 deletions
diff --git a/init.el b/init.el
index ed50494..bebc421 100644
--- a/init.el
+++ b/init.el
@@ -181,11 +181,11 @@
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
@@ -207,6 +207,8 @@
;; cursor shape
cursor-type t)
+(set-fontset-font t 'arabic "Vazir")
+
;; unicode support
(comment
(dolist (ft (fontset-list))
@@ -513,6 +515,16 @@
;; (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
@@ -582,6 +594,10 @@
: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
@@ -626,6 +642,7 @@
:config (show-paren-mode))
(use-package elec-pair
+ :disabled
:demand
:config (electric-pair-mode))