简体   繁体   中英

Emacs Package Management

I used the package.el for emacs-23 file provided by technomancy on github and while I'm able to list the packages, whenever press "i" to install the package emacs simply moves the cursor to the next line. When I press "enter" on the package a new buffer opens showing an "install" button. When I click the button it downloads the package file/directory but doesn't seem to install it. For example, when I tried to install color-theme it downloaded the color-theme directory (and files) but I can't set or use color theme. Anyone know what could be wrong?

我知道它并没有完全回答你的具体问题,但我在使用el-get安装和管理我的emacs安装中的elisp代码时度过了愉快的时光。

For me, the following steps work fine. Mark packages using the 'i' key -- letter 'I' appears at the front of each package. Then press the 'x' key to install marked packages.

Since you are using Emacs 23, you have to add a "require" to your init.el file.

To enable color-theme, you would add (require 'color-theme) to your init.el. I also downloaded a specific color theme (the wombat theme) and enabled it by having the line (color-theme-wombat) under the require line.

That way, Emacs always loads up with the wombat color theme.

I believe, this is not necessary in Emacs 24, and all this happens automatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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