Comments (8)
请按照模板提供必要的信息,否则无法准备判断问题。
再一个就是把项目克隆到~/.emacs.d 后, 我没有对项目文件作任何更改, 启动 emacs 后自动就选择了 ustc 源, 安完了我看项目文件夹内配置, 默认指定的是 melpa 源啊, 不知道为啥没有使用默认的源.
请检查 custom.el
from .emacs.d.
刚才的表达是有问题的对不起, 重新表述一下. 之所以没有提供配置模板, 是因为我没有对配置进行更改啊都保持的默认.
第一步
mv ~/.emacs.d ~/.emacs.d.bak
git clone --depth 1 https://github.com/seagle0128/.emacs.d.git ~/.emacs.d
然后不对 ~/.emacs.d
内文件内容做任何更改, (此时不存在 custom.el 这个文件), 一切都保持 github 仓库原样.
第二步, 打开 emacs ,自动进行安装, 我发现它使用的是 ustc 源啊. 而不是官方的 melpa 源. 不知道是不是自动根据我的网络环境测速选择了最快的源.
Warning (emacs): ‘:events-buffer-scrollback-size’ deprecated. Use ‘events-buffer-config'
这个提示, 是在 29.2 版本出现的, 无论是 opensuse 官方源中的, 还是我在 debian 11 自己编译的, 都会出现这个问题.
from .emacs.d.
debian 11 官方版太旧了, 用的自编译, 版本信息:
$ emacs --version
GNU Emacs 29.2
Development version ef01b634d219 on HEAD branch; build date 2024-02-19.
opensuse 用的 Tumbleweed 最新版 , 官方仓库中就是最新的 29.2 版所以直接从官方仓库中安装了.
from .emacs.d.
之所以会提到第一次打开 emacs 的 " 默认源 " 是因为, 在使用 ustc 源的情况下(也许不是因为 ustc ,而是其它什么原因), emacs 会给出警告 ,, 对于我是可以复现的, 提示如下
from .emacs.d.
在弹出警告后, 我不想继续安装, 于是点了右上角的 X 关闭了emacs, 这时进入 ~/.emacs.d
目录, 发现刚才运行 emacs 产生了 custom.el
文件 ,打开这个文件, 取消 (setq centaur-package-archives 'melpa) ; Package repo: melpa, emacs-cn, bfsu, netease, sjtu, tencent, tuna or ustc
的注释(也就是启用 melpa 源), 再次打开 emacs , 不再出现警告, 等一会就安装完成了.
from .emacs.d.
第一次启动会自动生成custom.el,package-archives也会自动测速选择最快的镜像源。如果不想用镜像,手动改为melpa即可。
from .emacs.d.
Every time I open a new file I get this Warning (emacs): ‘:events-buffer-scrollback-size’ deprecated. Use ‘events-buffer-config’.
So annoying. Is there a fix for it?
from .emacs.d.
This warning is from jsonrpc. Try
- Upgrade jsonrpc.
- Customize warning-suppress-log-types.
from .emacs.d.
Related Issues (20)
- [Bug] Blank screen on fresh install HOT 7
- [Bug] Find File is very slow HOT 7
- Is dotfiles a dependency of Centaur Emacs?
- Installation process isn't working [Bug] HOT 1
- Installation error [Question] HOT 7
- [Bug] nerd-icons-octicon: Unable to find icon with name ‘key’ in icon set ‘octicon’
- [Bug] Table text cannot be centered, vertical bars cannot be aligned HOT 1
- Supports the opening of large files HOT 12
- Nerd-icon.el url: raw.githubusercontent [Bug] HOT 4
- [Bug] the window size is always maximized at startup HOT 2
- [Feature Request] Maybe 'init-package' should before 'init-custom' HOT 1
- [Feature Request] How could I config PYIM input method with pyim-wbdict? HOT 1
- [Feature Request] How to install package from git, when package is not in melpa HOT 3
- Buffer visualization HOT 2
- 请问怎么关闭透明背景 , 或者调整透明度? HOT 2
- 使用默认主题时, corfu 补全弹出框中选中的高亮行与其它行几乎无法区分 HOT 1
- 怎么打开 flymake 的实时错误检查? HOT 2
- [Bug] my-dashboard-insert-copyright: Symbol’s value as variable is void: dashboard-set-footer
- [Bug] failed to install HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from .emacs.d.