我使用了 package.el for emacs-23 文件.com/technomancy/package.el" rel="nofollow">github 上的 technomancy 虽然我能够列出软件包,但每当按“i”安装软件包时,emacs 只需将光标移动到下一个线。当我在包上按“输入”时,会打开一个新缓冲区,显示“安装”按钮。当我单击按钮时,它会下载包文件/目录,但似乎没有安装它。例如,当我尝试安装颜色主题时,它下载了颜色主题目录(和文件),但我无法设置或使用颜色主题。有人知道可能出了什么问题吗?
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?
发布评论
评论(3)
我知道它并不能完全回答您的具体问题,但我使用 el-get 在我的 emacs 安装中安装和管理 elisp 代码。
I know it doesn't exactly answer your specific question, but I have had a wonderful time using el-get to install and manage elisp code in my emacs install.
对我来说,以下步骤效果很好。使用“i”键标记包裹——字母“I”出现在每个包裹的前面。然后按“x”键安装标记的软件包。
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.
由于您使用的是 Emacs 23,因此必须在 init.el 文件中添加“require”。
要启用颜色主题,您需要将(require 'color-theme)添加到 init.el 中。我还下载了一个特定的颜色主题(wombat 主题),并通过在 require 行下添加行(color-theme-wombat)来启用它。
这样,Emacs 总是加载袋熊颜色主题。
我相信,这在 Emacs 24 中是不必要的,所有这一切都会自动发生。
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.