최근에 Geany에서 Emacs로 옮겼습니다. Emacs의 공백 문자를 Geany에서와 같이 사용자 정의하고 싶습니다. Geany와공백 모드에서 문자의 색을 변경하십시오.
, 점은 작고 회색 :
이맥스와
, 점은 크고 흰색과 같습니다
나는 Geany 도트 훨씬 가볍고을 찾을 수 눈에.
솔루션 내 이맥스 파일에서 (setq whitespace-style (quote (spaces tabs newline space-mark tab-mark newline-mark)))
댓글을 달았 후 문제가 해결 된
: 예상대로
;; make whitespace-mode use just basic coloring
;;(setq whitespace-style (quote (spaces tabs newline space-mark tab-mark newline-mark)))
(setq whitespace-display-mappings
;; all numbers are Unicode codepoint in decimal. ⁖ (insert-char 182 1)
'(
(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 「▷」
))
공백 문자는 이제 정확히 본다.
줄을 주석 처리하는 대신'face'를'whitespace-style'리스트에 추가 할 수있다. – rekado