remove some unicode for terminal compatibility
fully deactivating might be (set-terminal-coding-system 'iso-latin-1)
This commit is contained in:
@@ -18,24 +18,24 @@
|
||||
|
||||
(use-package emacs
|
||||
:delight
|
||||
(auto-fill-function "↵")
|
||||
(compilation-shell-minor-mode "Ⓒs")
|
||||
(eldoc-mode "Ⓔ") ;; Ⓔ e
|
||||
(visual-line-mode "↩") ;; " Wrap"
|
||||
(whitespace-mode "␣") ;; "␣ _ ws"
|
||||
(auto-fill-function "Fa") ;; "\u21B5"
|
||||
(compilation-shell-minor-mode "Csh") ;; "\u24B8\uFF53"
|
||||
(eldoc-mode "Ed") ;; \u24BA e
|
||||
(visual-line-mode "Vl") ;; " Wrap" "\u21A9"
|
||||
(whitespace-mode "Ws") ;; "\u2423 \u005F ws"
|
||||
;; major modes
|
||||
(calendar-mode "🅒al") ;; "Calendar" "📆"
|
||||
(css-mode "🅒SS") ;; "CSS"
|
||||
(emacs-lisp-mode "🅛e") ;; "EL 🅛⒠"
|
||||
(eshell-mode "🅢e") ;; "Esh 🅔⒮"
|
||||
(fundamental-mode "🅕") ;; "F " ;; not working
|
||||
(help-mode "🅗") ;; "H "
|
||||
(Info-mode "🅘") ;; "I " ;; not working
|
||||
(latex-mode "🅛a") ;; "LaTeX "
|
||||
(lisp-interaction-mode "🅛i") ;; "LI 🅛⒤"
|
||||
(messages-mode "🅜") ;; "M " ;; not working
|
||||
(messages-buffer-mode "🅜") ;; "M " ;; not working
|
||||
(inferior-python-mode "🅟i") ;; "IPy 🅟⒤"
|
||||
(calendar-mode "Ca") ;; "Calendar" "\u01F4C6" "\u01F152\uFF41\uFF4C"
|
||||
(css-mode "Css") ;; "CSS"" "\u01F152ss
|
||||
(emacs-lisp-mode "El") ;; "EL" "\u01F15B\uFF45"
|
||||
(eshell-mode "Esh") ;; "Esh" "\u01F162\uFF45
|
||||
(fundamental-mode "Fu") ;; "F " "\u01F155" ;; not working
|
||||
(help-mode "H") ;; "H " "\u01F157"
|
||||
(Info-mode "I") ;; "I " "\u01F158" ;; not working
|
||||
(latex-mode "La") ;; "LaTeX " "\u01F15B\uFF41"
|
||||
(lisp-interaction-mode "Lii") ;; "LI \u01F15B\u24A4" "\u01F15B\uFF49
|
||||
(messages-mode "M") ;; "M " "\u01F15C" ;; not working
|
||||
(messages-buffer-mode "M") ;; "M " "\u01F15C" ;; not working
|
||||
(inferior-python-mode "Pyi") ;; "IPy \u01F15F\u24A4" "\u01F15F\uFF49"
|
||||
:hook
|
||||
(prog-mode . display-fill-column-indicator-mode)
|
||||
(help-mode . visual-line-mode)
|
||||
@@ -163,14 +163,14 @@ DISPLAY-START: `integer', e.g. 3820"
|
||||
|
||||
(use-package doc-view
|
||||
:defer t
|
||||
:delight (doc-view-mode "🅓oc") ;; "DocView"
|
||||
:delight (doc-view-mode "Doc") ;; "DocView" "\u01F153\uFF4F\uFF43"
|
||||
:config
|
||||
(setq doc-view-continuous t))
|
||||
|
||||
(use-package restart-emacs)
|
||||
|
||||
(use-package page-break-lines
|
||||
:delight (page-break-lines-mode "Ⓟb")
|
||||
:delight (page-break-lines-mode "Pb") ;; "\u24C5\uFF42"
|
||||
:config
|
||||
(add-to-list 'page-break-lines-modes 'ledger-mode)
|
||||
(global-page-break-lines-mode))
|
||||
@@ -190,7 +190,7 @@ DISPLAY-START: `integer', e.g. 3820"
|
||||
|
||||
(use-package dashboard
|
||||
:load-path (lambda() (concat config-dir "lisp/dashboard"))
|
||||
:delight (dashboard-mode "🅓")
|
||||
:delight (dashboard-mode "Db") ;; "\u01F153
|
||||
:config
|
||||
;; because we use `use-package' include `use-package-statistics' if computed
|
||||
(defun my-dashboard-init-info ()
|
||||
@@ -386,7 +386,7 @@ See also `dashboard-insert-section' for the sequence of elements."
|
||||
(dashboard-setup-startup-hook))
|
||||
|
||||
(use-package indent-guide
|
||||
:delight (indent-guide-mode "Ⓘg")
|
||||
:delight (indent-guide-mode "Ig") ;; "\u24BE\uFF47"
|
||||
:hook (prog-mode . indent-guide-mode) ;; problem if used in notmuch
|
||||
:config
|
||||
(set-face-attribute 'indent-guide-face nil :foreground "DarkSlateGray") ;; foreground #535353
|
||||
@@ -397,7 +397,7 @@ See also `dashboard-insert-section' for the sequence of elements."
|
||||
|
||||
;; problem when using 'character in elisp it inserts the guide characters when inserting text before guide characters
|
||||
;; (use-package highlight-indent-guides
|
||||
;; :delight (highlight-indent-guides-mode "Ⓘg")
|
||||
;; :delight (highlight-indent-guides-mode "\u24BE\uFF47")
|
||||
;; :hook (prog-mode . highlight-indent-guides-mode)
|
||||
;; :config
|
||||
;; (setq highlight-indent-guides-method 'character) ;; 'fill 'character 'bitmap
|
||||
@@ -407,7 +407,7 @@ See also `dashboard-insert-section' for the sequence of elements."
|
||||
;; )
|
||||
|
||||
(use-package rainbow-mode
|
||||
:delight (rainbow-mode "Ⓡ") ;; " Rbow"
|
||||
:delight (rainbow-mode "Rb") ;; " Rbow" "\u24C7"
|
||||
:commands rainbow-mode)
|
||||
|
||||
(use-package focus
|
||||
@@ -420,7 +420,7 @@ See also `dashboard-insert-section' for the sequence of elements."
|
||||
)
|
||||
|
||||
(use-package virtual-auto-fill
|
||||
:delight (virtual-auto-fill-mode "Ⓥf")
|
||||
:delight (virtual-auto-fill-mode "Fv") ;; "\u24CB\uFF46"
|
||||
:commands virtual-auto-fill-mode
|
||||
;;:hook (help-mode . virtual-auto-fill-mode)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user