简体   繁体   English

有没有一种方法可以显示我已安装到emacs中的每个软件包的版本号?

[英]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.

相关问题 什么是打包我的Emacs安装(包和配置)的最佳方式,以便可以快速安装到任何地方? - Whats the best way to package my Emacs installation (packages and config) so that it can quickly be installed anywhere? Emacs(24.4.1)无法打开已安装的软件包 - Emacs (24.4.1) will not open installed package 在通过Chocolatey安装了emacs的Windows上,如何将.emacs文件放在Windows上? - Where do I place my .emacs file on Windows with emacs installed through chocolatey? emacs用于托管在github上的已安装软件包的子模块 - emacs for submodule of installed package that hosted on github 为什么不能在MELPA上更新我的emacs软件包? - Why can't I update my emacs package on MELPA? 如何在Emacs中找到系统的显示尺寸? - How do I find the display size of my system in Emacs? Emacs的组织模式:为了能够在Emacs守护程序中使用它,我必须将导出放在哪里? - Org-mode with Emacs: Where do I have to put my export in order to be able to use it in Emacs daemon? 使用el-get安装emacs-jedi时出现包加载问题 - Package load problems with el-get installed emacs-jedi 如何在Emacs中使用“ package-install”(elpa)安装的软件包被加载? - How are the packages installed with 'package-install'(elpa) in Emacs loaded? Emacs:我想突出显示变量包含的数字,没有变量本身的名称 - Emacs: I want to highlight the numbers that my variables contain, no the name of the variables by itself
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM