Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在emacs中自定义已定义的配色方案。就我而言,我有一个java mode. 我知道如何设置背景,或者如何为评论设置颜色,但我应该怎么做才能只为变量重新定义颜色?在最好的情况下,我希望我可以移动到需要的区域并用魔法命令重新定义它......
java mode
要查看特定角色使用的面孔,请将点移至该角色并执行M-x describe-char。它会告诉您使用了哪些面孔,然后您可以使用M-x customize-face或自定义它们(set-face-attribute 'the-face nil :some-parameter value)。
M-x describe-char
M-x customize-face
(set-face-attribute 'the-face nil :some-parameter value)