Skip to content

Instantly share code, notes, and snippets.

@harrifeng
Created August 31, 2013 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harrifeng/6396943 to your computer and use it in GitHub Desktop.
Save harrifeng/6396943 to your computer and use it in GitHub Desktop.
tmp file to special character
;; (setq whitespace-display-mappings
;; ;; all numbers are Unicode codepoint in decimal. try (insert-char 182 ) to see it
;; '(
;; (space-mark 32 [183] [46]) ; 32 SPACE, 183 MIDDLE DOT 「·」, 46 FULL STOP 「.」
;; (newline-mark 10 [182 10]) ; 10 LINE FEED
;; ;; (tab-mark 9 [9655 9] [92 9]) ; 9 TAB, 9655 WHITE RIGHT-POINTING TRIANGLE 「▷」
;; ))
;;
;; ;; make whitespace-mode use just basic coloring
;; (setq whitespace-style (quote (spaces tabs newline space-mark tab-mark newline-mark)))
;; · 183 MIDDLE DOT
;; ¶ 182 PILCROW SIGN
;; ↵ 8629 DOWNWARDS ARROW WITH CORNER LEFTWARDS
;; ↩ 8617 LEFTWARDS ARROW WITH HOOK
;; ⏎ 9166 RETURN SYMBOL
;; ▷ 9655 WHITE RIGHT POINTING TRIANGLE
;; ▶ 9654 BLACK RIGHT-POINTING TRIANGLE
;; → 8594 RIGHTWARDS ARROW
;; ↦ 8614 RIGHTWARDS ARROW FROM BAR 我的天空,为何挂着,似的脸
;; ⇥ 8677 RIGHTWARDS ARROW TO BAR
;; ⇨ 8680 RIGHTWARDS WHITE ARROW
;; ;; Chinese Font
;; (dolist (charset '(kana han symbol cjk-misc bopomofo))
;; (set-fontset-font (frame-parameter nil 'font)
;; charset
;; (font-spec :family "Kai" :size 12)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment