新手求助 init.el文件没有生效

各位大佬,我配置了init.el文件,但是为什么配置不起作用,就像没有配置一样啊

什么平台,具体路径?

ubuntu 18.04 路径.emacs.d下啊

~/.emacs.d/init.el

路径没问题,下面是报错信息 Warning (initialization): An error occurred while loading ‘/home/t_fighting/.emacs.d/init.el’:

Invalid read syntax: )

To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘–debug-init’ option to view a complete error backtrace.

大佬这是 emacs --debug-init 启动emacs报错信息 Debugger entered–Lisp error: (invalid-read-syntax “)”) read(#<buffer load>) eval-buffer(#<buffer load> nil “/home/t_fighting/.emacs.d/init.el” nil t) ; Reading at buffer position 604 load-with-code-conversion("/home/t_fighting/.emacs.d/init.el" “/home/t_fighting/.emacs.d/init.el” t t) load("/home/t_fighting/.emacs.d/init" t t) #f(compiled-function () #<bytecode 0x25f7fd>)() command-line() normal-top-level()

多了一个括号

open init file后面是不是多了一个引号

谢谢 大佬 问题解决!

感谢帮助 问题解决 多了个引号

加上这一行 (setq debug-on-error t) ,如此再有配置写错的时候,可以先进入,再调出错误信息 ,Luck : )