这是我的
我打开emacs时遇到警告:
警告(初始化):在加载c:/home/.emacs文件时出现错误: 变量的符号值为空:c-mode-base-map 为了确保正常运作,您应该调查并删除初始化文件中错误的原因。使用--debug-init选项启动Emacs以查看完整的错误回溯。
我运行了--debug-init命令,并返回了以下内容。我不知道它的含义:
~/.emacs
文件:(setq-default c-basic-offset 4 c-default-style "linux")
(setq-default tab-width 4 indent-tabs-mode t)
(define-key c-mode-base-map (kbd "RET") 'newline-and-indent)
我打开emacs时遇到警告:
警告(初始化):在加载c:/home/.emacs文件时出现错误: 变量的符号值为空:c-mode-base-map 为了确保正常运作,您应该调查并删除初始化文件中错误的原因。使用--debug-init选项启动Emacs以查看完整的错误回溯。
我运行了--debug-init命令,并返回了以下内容。我不知道它的含义:
Debugger entered--Lisp error: (void-variable
c-mode-base-map
)
(define-key c-mode-base-map (kbd "RET") (quote newline-and-indent)) eval-buffer(#<buffer *load*> nil "c:/home/.emacs" nil t) ; Reading at buffer position 311 load-with-code-conversion("c:/home/.emacs" "c:/home/.emacs" t t) load("~/.emacs" t t)
achead:include-directories
我也遇到了同样的问题。有什么想法吗? - user2030677