방금 쿠분투 11.10으로 업그레이드했습니다. 그 후 Emacs가 공백 부 모드에서 공백을 나타내는 방식이 변경되었습니다. 그것은 rectangulars 음영했다하지 이맥스는 공백의 위치에 점을두고 :Emacs 23.3.1 : 공백 스타일
그때 whitespace
M-x customize-group
과를 통해 변경 시도 -하지만 점 같은 건 없다. 공백은 음영 (위의 그림 참조)으로 표시되어 있지만, 그렇지는 않습니다 (동일한 그림 참조).
여기에 공백 공간면의 값입니다 :
가 나는 또한 superuser에서이 질문을하지만, 내가 거기에 0 대답을 가지고 있기 때문에 - 나는 다른 커뮤니티에 문의하기로 결정했다. 편집 한
:
편집 2 : 루크의 솔루션에 따라
는 (잘못 I 짓을했는지하지 않는 무언가) 공간이나 탭에 어떤 색상을 제공하지
여기에 face
을 추가하면 루크 솔루션이 수정됩니다. Sergey에게 감사드립니다.
(setq whitespace-style (quote
(face spaces tabs newline space-mark tab-mark newline-mark)))
편집 3 : 현재
내가 사용 :
(custom-set-variables
'(whitespace-line-column 9999999)
'(whitespace-tab-width 4 t)
'(whitespace-display-mappings '(
(space-mark ?\ [?\u00B7] [?.]) ; space - centered dot
(space-mark ?\xA0 [?\u00A4] [?_]) ; hard space - currency
(newline-mark ?\n [?$ ?\n]) ; eol - dollar sign
(tab-mark ?\t [?\u00BB ?\t] [?\\ ?\t]) ; tab - left quote mark
))
'(whitespace-style '(face spaces tabs newline space-mark tab-mark newline-mark))
)
(custom-set-faces
'(default ((t (:inherit nil :stipple nil :background "#ffffb1" :foreground "#141312" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 125 :width normal :foundry "monotype" :family "DejaVu Sans Mono"))))
'(whitespace-trailing ((t (:background "grey99"))))
)
이맥스에서 24.3.50.1
'공백 공간'(세 번째 항목)의 값은 무엇입니까? –
@ Luke Girvin : 스크린 샷을 업로드했습니다. – Adobe