这是我的本来的最新的custom-file,我没有再用Spacemacs,而是用的purcell的配置,其实这里面并没啥内容
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(safe-local-variable-values
(quote
((checkdoc-minor-mode . t)
(mangle-whitespace . t)
(no-byte-compile t))))
'(session-use-package t nil (session)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-group-tag ((t (:height 1.0)))))
然后这是每次都插进去的一摸一样的配置,插在 custom-set-variables 里面
'(compilation-message-face (quote default))
'(cua-global-mark-cursor-color "#2aa198")
'(cua-normal-cursor-color "#839496")
'(cua-overwrite-cursor-color "#b58900")
'(cua-read-only-cursor-color "#859900")
'(highlight-changes-colors (quote ("#d33682" "#6c71c4")))
'(highlight-symbol-colors
(--map
(solarized-color-blend it "#002b36" 0.25)
(quote
("#b58900" "#2aa198" "#dc322f" "#6c71c4" "#859900" "#cb4b16" "#268bd2"))))
'(highlight-symbol-foreground-color "#93a1a1")
'(highlight-tail-colors
(quote
(("#073642" . 0)
("#546E00" . 20)
("#00736F" . 30)
("#00629D" . 50)
("#7B6000" . 60)
("#8B2C02" . 70)
("#93115C" . 85)
("#073642" . 100))))
'(hl-bg-colors
(quote
("#7B6000" "#8B2C02" "#990A1B" "#93115C" "#3F4D91" "#00629D" "#00736F" "#546E00")))
'(hl-fg-colors
(quote
("#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36")))
'(magit-diff-use-overlays nil)
'(nrepl-message-colors
(quote
("#dc322f" "#cb4b16" "#b58900" "#546E00" "#B4C342" "#00629D" "#2aa198" "#d33682" "#6c71c4")))
'(pos-tip-background-color "#073642")
'(pos-tip-foreground-color "#93a1a1")
'(safe-local-variable-values
(quote
((no-byte-compile nil)
(checkdoc-minor-mode . t)
(mangle-whitespace . t)
(no-byte-compile t))))
'(session-use-package t nil (session))
'(smartrep-mode-line-active-bg (solarized-color-blend "#859900" "#073642" 0.2))
'(term-default-bg-color "#002b36")
'(term-default-fg-color "#839496")
'(vc-annotate-background-mode nil)
'(weechat-color-list
(quote
(unspecified "#002b36" "#073642" "#990A1B" "#dc322f" "#546E00" "#859900" "#7B6000" "#b58900" "#00629D" "#268bd2" "#93115C" "#d33682" "#00736F" "#2aa198" "#839496" "#657b83")))
'(xterm-color-names
["#073642" "#dc322f" "#859900" "#b58900" "#268bd2" "#d33682" "#2aa198" "#eee8d5"])
'(xterm-color-names-bright
["#002b36" "#cb4b16" "#586e75" "#657b83" "#839496" "#6c71c4" "#93a1a1" "#fdf6e3"]))
明显是我之前使用Spacemacs 所残留下来的配置,然后Emacs机智地记住了,(不知道记在什么地方),然后每次我修改完一个variable以后点击save all 就插进去了。
然而最最灵异的事情在于,我完全找不到这段配置究竟在什么地方。Mac下使用mdfind(Spotlight)也找不到,然后Emacs已经重新编译了2次了,我的配置文件已经完全换新的了,然后cache文件我已经完全删掉过很多次了,然后elpa我也重新删掉重新装了,只不过旧的那个Spacemacs的配置我没舍得删,路径在 ~/.spacemacs.d/custom.el 内容很多,既有
'(hl-bg-colors
(quote
("#7B6000" "#8B2C02" "#990A1B" "#93115C" "#3F4D91" "#00629D" "#00736F" "#546E00")))
'(hl-fg-colors
(quote
("#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36" "#002b36")))
这种灵异事件中的,也有不在灵异事件中的其他配置。总共有200多行。
我的新配置中完全没有提到一点点 Spacemacs ,绞尽脑汁也想不出来Emacs是把过去很久之前的custom 信息保存下来的。而且还是选择性地记住了。
想问问大家有什么有效的排查手段,因为这个问题我绝对每次都能复现。