[英]Is there a way to display the version numbers for each package I have installed into my emacs?
The question pretty much says it all. 这个问题几乎说明了一切。 I wish to know which version I have installed. 我想知道我安装了哪个版本。 If I look at the directories in my elpa
folder I just see a date. 如果查看elpa
文件夹中的目录,我只会看到一个日期。
The value in the directory name next to the package name is the version of the package. 在旁边的包名称的目录名称值是包的版本。 If you are seeing dates, then you have installed packages from a package repository which uses dates as versions. 如果看到日期,则说明已从使用日期作为版本的软件包存储库中安装了软件包。 (That would probably be melpa.) (那可能是melpa。)
If you want something different, you will need to use a package repository with a saner version policy. 如果您想要不同的东西,则需要使用具有较精简版本策略的软件包存储库。 melpa-stable is an option. melpa稳定是一个选项。
List all packages available: 列出所有可用的软件包:
Mx package-list-packages Mx package-list-packages
Although you can only filter by keyword, you could use this workaround to list only installed packages: 尽管您只能按关键字过滤,但是您可以使用此替代方法来仅列出已安装的软件包:
(defun installed-packages ()
(interactive)
(list-packages t)
(read-only-mode -1)
(delete-non-matching-lines " installed ")
(read-only-mode 1))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.