Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在emacs 21中设置ido模式_Emacs_Ido Mode - Fatal编程技术网

在emacs 21中设置ido模式

在emacs 21中设置ido模式,emacs,ido-mode,Emacs,Ido Mode,我正在使用ido模式。以及AIX上的GNUMEmacs21.1.1。 我将ido.el添加到.emacs.d中。并在.emacs文件中添加以下内容 (load-file "~/.emacs.d/site-lisp/ido/ido.el") (require 'ido) (ido-mode t) (setq ido-enable-flex-matching t) ;; enable fuzzy matching 当启动emacs时,它会抱怨。没有ido模式。 如何解决这个问题 error: "U

我正在使用ido模式。以及AIX上的GNUMEmacs21.1.1。 我将ido.el添加到.emacs.d中。并在.emacs文件中添加以下内容

(load-file "~/.emacs.d/site-lisp/ido/ido.el")
(require 'ido)
(ido-mode t)
(setq ido-enable-flex-matching t) ;; enable fuzzy matching
当启动emacs时,它会抱怨。没有ido模式。 如何解决这个问题

error: "Unknown req `min-colors' with options `(88)'"

To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it.  Start
Emacs with the `--debug-init' option to view a complete error
backtrace
回溯的内容

Debugger entered--Lisp error: (error "Unknown req `min-colors' with options `(88)'")
  signal(error ("Unknown req `min-colors' with options `(88)'"))
  error("Unknown req `%S' with options `%S'" min-colors (88))
  face-spec-set-match-display(((min-colors 88) (class color)) #<frame F1 0x201a3600\ >)
  face-spec-choose((((... ...) (:foreground "red1")) ((...) (:foreground "red")) (t (:underline t))) #<frame F1 0x201a3600\ >)
  face-spec-set(ido-subdir (((... ...) (:foreground "red1")) ((...) (:foreground "red")) (t (:underline t))) #<frame F1 0x201a3600\ >)
  custom-declare-face(ido-subdir (((... ...) (:foreground "red1")) ((...) (:foreground "red")) (t (:underline t))) "Face used by ido for highlighting subdirs in the alternatives." :group ido)
  (defface ido-subdir (quote (... ... ...)) "Face used by ido for highlighting subdirs in the alternatives." :group (quote ido))
  eval-buffer(#<buffer  *load*<2>> nil "~/.emacs.d/site-lisp/ido/ido.el" nil t)
  load-with-code-conversion("~/.emacs.d/site-lisp/ido/ido.el" "~/.emacs.d/site-lisp/ido/ido.el" nil nil)
  load("~/.emacs.d/site-lisp/ido/ido.el" nil nil t)
  load-file("~/.emacs.d/site-lisp/ido/ido.el")
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("~/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "^H\205\227^@   Æ=\203^Q^@Ç^HÈQ\2025^@  É=\203'^@ÊÇËÌ#\203#^@Í\2025^@Î\2025^@   Ï=\2031^@Ð\2025^@Ç^HÑQ^ZÒ^SÓ\nÒ\211#\210^KÒ=\203F^@Ë^S^K\203\210^@Ô^K!Õ\232\203\210^@Ö^K!\211^\×P^]Ø^M!\203d$
  command-line()
  normal-top-level()
Debugger已输入--Lisp错误:(错误“未知请求'min colors',选项为“(88)”)
信号(错误(“带有选项“%88”的未知请求“最小颜色”))
错误(“带选项“%S”的未知请求“%S”最小颜色(88))
面规格集匹配显示(((最小颜色88)(类别颜色))#)
面规格选择(((……)(:前景“红色1”)((……)(:前景“红色”))(t(:下划线t)))#
面规格集(ido细分((…)(:前景“红色1”))((…)(:前景“红色”))(t(:下划线t))#)
自定义声明面(ido子曲面(((……)(:前景“red1”))((…)(:前景“red”))(t(:下划线t))“ido用于在备选方案中高亮显示子曲面的面。”:组ido)
(defface ido subdir(引号(……))“ido用于在备选方案中突出显示subdir的面。”:group(引号ido))
求值缓冲区(#nil“~/.emacs.d/site lisp/ido/ido.el”nil t)
使用代码转换加载(“~/.emacs.d/site lisp/ido/ido.el”“~/.emacs.d/site lisp/ido/ido.el”nil-nil)
加载(“~/.emacs.d/site lisp/ido/ido.el”nil nil t)
加载文件(“~/.emacs.d/site lisp/ido/ido.el”)
计算缓冲区(#nil“~/.emacs”nil t)
使用代码转换加载(“~/.emacs”“~/.emacs”t)
荷载(“~/.emacs”t)
#[零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零零^K!\211^\×P^]Ø^M!\203d$
命令行()
正常-顶级()

Emacs 21.1.1相当古老(21.1几乎正好在10年前发布)。升级到更新的版本,您应该会没事(除非它不再构建在AIX上?)很多人都在使用尚未最终版本24,但23.3是当前稳定的版本

如今,ido也是Emacs的标准部分,因此您应该能够删除它的副本


诚然,采用这种方法可能会遇到其他升级不兼容问题,但随着时间的推移,问题肯定会变得更糟…

我也有同样的问题。我们正在升级到RHEL5,所以我认为我们将有很长一段时间的emacs 21。幸运的是EmacsWiki有一个到的链接。它已经有十多年的历史了,但比RHEL5好没什么


它似乎工作正常,但一些常量有不同的名称。例如,我将ido默认文件方法设置为selected window,但后者在旧版本的代码中命名为同一个window。

emacs--debug init
并粘贴回溯的内容。看起来您应该将其发布到ido邮件列表中。