Flymake在Windows Emacs上不适用于我

时间:2009-09-21 18:23:18

标签: windows emacs

Debugger entered--Lisp error: (void-variable compilation-error-regexp-alist-alist)
  (flymake-reformat-err-line-patterns-from-compile-el compilation-error-regexp-alist-alist)
  (append (quote (... ... ... ... ... ...)) (flymake-reformat-err-line-patterns-from-compile-el compilation-error-regexp-alist-alist))
  (defvar flymake-err-line-patterns (append (quote ...) (flymake-reformat-err-line-patterns-from-compile-el compilation-error-regexp-alist-alist)) "Patterns for matching error/warning lines.  Each pattern has the form\n(REGEXP FILE-IDX LINE-IDX COL-IDX ERR-TEXT-IDX).\nUse `flymake-reformat-err-line-patterns-from-compile-el' to add patterns\nfrom compile.el")
  eval-buffer(#<buffer  *load*<2>> nil "flymake" nil t)
  load-with-code-conversion("c:/elisp/flymake.el" "flymake" nil t)
  require(flymake)
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("c:/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil ",T

任何想法?

1 个答案:

答案 0 :(得分:3)

是的,看起来'flymake缺少(require 'compile)依赖项。您可以通过在.emacs中添加(require 'flymake)行以上的内容来解决此问题。