cabins / .emacs.d Goto Github PK
View Code? Open in Web Editor NEW追求轻量以及简洁的Emacs配置。代号:酸枣(个头小,口感没那么好,但营养丰富)。
追求轻量以及简洁的Emacs配置。代号:酸枣(个头小,口感没那么好,但营养丰富)。
使用这份配置文件,会在启用了 Native-compile 的 Emacs 28 上报错。我的配置文件也会爆出同样的错误: Wrong arguments: (3 . 4) 2 。使用 emacs --debug-init
排查后,追根溯源发现是 benchmark-init
这个包的问题,只要把这个包移除就好。
朋友的这份配置文件也是一样,在 lisp/init-package.el 里边,把 benchmark-init 这个移除就可以用了。这个包太老,好久没更新了,melpa 这里显示上一次更新是 2015 年,是时候寻找替代品了。
OS: ubuntu20.04
emacs: 26.3
Debugger entered--Lisp error: (void-variable elisp-flymake-byte-compile-load-path)
(append elisp-flymake-byte-compile-load-path load-path)
(setq elisp-flymake-byte-compile-load-path (append elisp-flymake-byte-compile-load-path load-path))
eval-buffer(#<buffer load> nil "/root/.emacs.d/init.el" nil t) ; Reading at buffer position 793
load-with-code-conversion("/root/.emacs.d/init.el" "/root/.emacs.d/init.el" t t)
load("/root/.emacs.d/init" t t)
#f(compiled-function () #<bytecode 0x1e0f4d>)()
command-line()
normal-top-level()
hello,cabins:
如题
在hook (...).eglot-ensure提示警告,提示”(c-mode c++-mode go-mode java-mode js-mode python-mode rust-mode web-mode)"is a malformed function,
’("C-c e f" . #'eglot-format)‘ is a malformed function。
然后同样这个文件最下面:“(use-package restclient
:mode (("\.http\'" . restclient-mode)))”这里同样警告说’("\.http\'" . restclient-mode‘ is a malformed function。
所以想请教你该怎么解决?拜托,谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.