简体   繁体   English

emacs中的颜色主题选项

[英]color theme options in emacs

I am running Emacs 24 from the terminal of my mac, when I do: 当我这样做时,我正在从Mac的终端运行Emacs 24:

M-x load-theme 

Emacs asks: Emacs问:

Custom theme name:

I would very much like to answer that question, but I don't know what options I have! 我非常想回答这个问题,但是我不知道我有什么选择! I've been searching online for over an hour. 我已经在网上搜索了一个多小时。 Most related answers tell me: "Now just type the theme you want." 大多数相关的答案告诉我:“现在只需键入所需的主题即可。” or "Here is one awesome customized theme!". 或“这是一个很棒的定制主题!”。

One person mentions hit TAB to autocomplete to show a list, but hitting TAB only moves my cursor forward. 有人提到点击TAB会自动完成以显示列表,但是点击TAB只会使我的光标向前移动。 (Hitting TAB on my windows 7 Emacs works though). (虽然在我的Windows 7 Emacs上击中TAB仍然有效)。

I would appreciate any help on this matter: How do I find what themes(names) I can choose from? 在此问题上,我将不胜感激:如何找到可以选择的主题(名称)? Thank you! 谢谢!

OSX comes with Emacs 22 preinstalled as well. OSX还预装了Emacs 22。 You might be running Emacs 22 from the Terminal accidentally (perhaps you just typed emacs -nw which would normally start Emacs 22). 您可能不小心从终端运行了Emacs 22(也许您只是键入了emacs -nw正常启动Emacs 22)。

Normally in Emacs 24, after Mx load-theme you'd get the prompt Load custom theme: and pressing TAB once at this point would show the list of all available themes. 通常在Emacs 24中,在Mx load-theme您会得到提示“ Load custom theme: ,此时按一次TAB将显示所有可用主题的列表。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM