emacs - 无法在 emacs 中安装一些 melpa 包
问题描述
我只是在尝试 emacs(来自 vim)。
$ emacs --version
GNU Emacs 27.2
Copyright (C) 2021 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
$ cat ~/.emacs.d/init.el
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See `package-archive-priorities`
;; and `package-pinned-packages`. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
我已经运行M-x package-refresh-contents
了多次,但仍然没有列出许多我想安装的软件包。例如,去模式
知道我在哪里搞砸了吗?谢谢!
编辑
我刚刚尝试了 spacemacs,我想要的包出现在列表中......
解决方案
推荐阅读
- android - 使用 Google map api 在 android Studio 中解析 Json
- php - 添加数组的特定元素
- javascript - 通过在 Reactjs 中添加输入字段的文本,在下一页打开 url
- reactjs - 组件正在更改要控制的文本类型的不受控输入
- php - json_decode 后数组搜索获取键值不起作用
- math - 需要帮忙!关于如何根据给定的 3 个或更多值计算目标值的数学问题
- firefox - Live Reload (Blaise Kal) Firefox 附加组件不适用于 CSS 文件
- python - PyArrow 表:过滤行
- python - 列出列之间的关系
- flutter - 颤振如何在右侧创建带有两个图标的文本字段,与图像相同?