# HG changeset patch # User Oleksandr Gavenko # Date 1506012619 -10800 # Node ID 35dbe903d7e0129b4b650b137c858eddcbf034e9 # Parent 592689d6d2225fea15175f7bd461a898968df771 Problems with hunging on re-display when symbols is used on Windows can be solved by: (setq inhibit-compacting-font-caches t) or choosing DejaVu Sans Mono font. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28535 diff -r 592689d6d222 -r 35dbe903d7e0 .emacs-my --- a/.emacs-my Thu Sep 21 15:09:27 2017 +0300 +++ b/.emacs-my Thu Sep 21 19:50:19 2017 +0300 @@ -445,7 +445,7 @@ (set-fontset-font nil 'cyrillic "Courier New-10:antialias=none") (set-fontset-font nil 'greek "Courier New-10:antialias=none") (set-fontset-font nil 'phonetic "Courier New-10:antialias=none") - (set-fontset-font nil 'symbol "Courier New-10:antialias=none"))) + (set-fontset-font nil 'symbol "DejaVu Sans Mono-10:antialias=none"))) (fset 'yes-or-no-p 'y-or-n-p) @@ -3259,10 +3259,15 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "cfengine") -(my--eval-after-load cfengine3 - (defconst cfengine3--prettify-symbols-alist - '(("->" . ?→) - ("=>" . ?⇛)))) +(add-to-list 'auto-mode-alist '("\\.cf\\'" . cfengine3-mode)) + +;; Problems with hunging on re-display when symbols is used on Windows can be solved by: +;; (setq inhibit-compacting-font-caches t) +;; or choosing "DejaVu Sans Mono" font. +;; (my--eval-after-load cfengine3 +;; (defconst cfengine3--prettify-symbols-alist +;; '(("->" . ?→) +;; ("=>" . ?⇛)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (message "Pascal")