diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -347,10 +347,11 @@ discussion. #+begin_src emacs-lisp (defun jao--set-fontsets (frame) - ;; (set-fontset-font t 64257 "Quivira") - ;; (set-fontset-font t 'egyptian "Noto Sans Egyptian Hieroglyphs") - ;; (set-fontset-font t 'hangul "NanumGothicCoding") + (set-fontset-font t 64257 "Quivira") + (set-fontset-font t 'egyptian "Noto Sans Egyptian Hieroglyphs") + (set-fontset-font t 'hangul "NanumGothicCoding") (set-fontset-font t 'unicode (face-attribute 'default :family)) + (set-fontset-font t 'unicode-bmp (face-attribute 'default :family)) (set-fontset-font t 'symbol "Symbola-10") (set-fontset-font t 'greek "GFS Didot") (set-fontset-font t 'mathematical "FreeSerif") @@ -739,7 +740,9 @@ (defun jao-tracking--clean-slack (s) (let ((s (replace-regexp-in-string - "^\\*Slack - .*? : \\(mpdm-\\)?\\([^ ]+\\)\\( \\(T\\)\\)?.*" "#\\2\\4" s))) + "^\\*Slack - .*? : \\(mpdm-\\)?\\([^ ]+\\)\\( \\(T\\)\\)?.*" + "#\\2\\4" + s))) (replace-regexp-in-string "^[^a-zA-Z#]+" "#" s))) (defun jao-tracking-shorten-aggressively (lst tail-count) @@ -4083,7 +4086,6 @@ Access to spotify uses packages tangled from [[./lib/media/espotify.org][espotify.org]], which offers functionality tailored to the completion engines at hand: #+begin_src emacs-lisp - ;; (jao-maybe-tangle "lib/media/espotify") (jao-load-path "espotify") (use-package espotify :demand t) @@ -4105,11 +4107,11 @@ '(spotify-search-item . spotify-item-keymap))) (when (eq 'counsel jao-completion-engine) - (require 'espotify-counsel) - (defalias 'jao-spotify-album #'espotify-counsel-album) - (defalias 'jao-spotify-track #'espotify-counsel-track) - (defalias 'jao-spotify-artist #'espotify-counsel-artist) - (defalias 'jao-spotify-playlist #'espotify-counsel-playlist)) + (require 'ivy-spotify) + (defalias 'jao-spotify-album #'ivy-spotify-album) + (defalias 'jao-spotify-track #'ivy-spotify-track) + (defalias 'jao-spotify-artist #'ivy-spotify-artist) + (defalias 'jao-spotify-playlist #'ivy-spotify-playlist)) #+end_src *** mpdel #+BEGIN_SRC emacs-lisp |