【问题标题】:EMACS auto-complete: Error running timer ‘ac-update-greedy’: (wrong-number-of-arguments setq 1)EMACS 自动完成:错误运行计时器“ac-update-greedy”:(错误的参数数量 setq 1)
【发布时间】:2018-05-13 05:52:47
【问题描述】:

升级自: EMACS 23.4-bin-i386 with auto-complete-1.3.1,AC-Mode 完美运行

2017-09-17 的 GNU Emacs 25.3.1 (x86_64-w64-mingw32) 在 Windows10 上带有 auto-complete-1.5.1

.emacs 配置为:

(add-to-list 'load-path "~/EMACS/EMACS_Extentions/auto-complete-1.5.1/")
(require 'auto-complete-config)
(ac-config-default)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
(add-to-list 'ac-user-dictionary-files "~/.emacs.d/ac-dict/org.dict")
(add-to-list 'ac-modes 'org-mode)

现在我收到以下错误:

Auto-Complete mode enabled in current buffer
You can run the command ‘auto-complete-mode’ with M-x au-compl- RET
Auto-Complete mode enabled in current buffer
Error running timer ‘ac-update-greedy’: (wrong-number-of-arguments setq 1)[2 times]
auto-complete error: (wrong-number-of-arguments setq 1)

已经在 GIT-HUB 上看到了同样的问题: https://github.com/auto-complete/auto-complete/issues/442 但根本没有解决方案。

很高兴有任何建议!

【问题讨论】:

  • 如果您在您发布的链接中一直阅读到 github 讨论的底部,您会发现对于您所显示的 setq 错误已经有了解决方案。
  • @SteveVinoski 正如您在我的 .emacs 配置中所见,使用了 v1.5.1 of auto-complete,其中包含了 #424。但是,问题依然存在。我认为,我的安装中也没有留下旧的字节码。我还能检查什么?

标签: debugging emacs autocomplete


【解决方案1】:

经过几次尝试和另一个 EMACS 启动后,出现了一条看似合理的错误消息,这进一步帮助了我。自动完成现在可能有一个依赖于 popup.el。集成后,自动完成功能再次正常。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-23
    • 1970-01-01
    • 1970-01-01
    • 2011-10-31
    • 1970-01-01
    • 2012-06-29
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多