LoginSignup
0
0

More than 5 years have passed since last update.

[memo][解決] whitespace.el の customize がうまくいかない。

Last updated at Posted at 2015-08-29

whitespace.el で space をxyzzy 風に表示したい。同 file の l. 937 -

whitespace.el
;; Hacked from `visible-whitespace-mappings' in visws.el
(defcustom whitespace-display-mappings
  (if (>= emacs-major-version 23)
      ;; Emacs 23 and higher:
      '(
    (space-mark   ?\     [?\u00B7]     [?.]) ; space - centered dot
    (space-mark   ?\xA0  [?\u00A4]     [?_]) ; hard space - currency
    (space-mark   ?\x8A0 [?\x8A4]      [?_]) ; hard space - currency
    (space-mark   ?\x920 [?\x924]      [?_]) ; hard space - currency
    (space-mark   ?\xE20 [?\xE24]      [?_]) ; hard space - currency
    (space-mark   ?\xF20 [?\xF24]      [?_]) ; hard space - currency

がにおう。u00B7 は centerd dot を指すので、ここを変えればよいはずだ。だがこの S 式を scratch buffer に貼り付けていじって評価してやっても反映されない。なぜだろうか。

解決編

http://d.hatena.ne.jp/t_ume_tky/touch/20120906/1346943019 を参考にしたらうまくできた。
https://github.com/idaisukee/.emacs.d/blob/gnupack/init-files/whitespace-init.el というふうに書いた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0