2011-09-15 12 views
1

私はidoモードを使用しています。そしてAIX上のGNUM emacs 21.1.1。 .emacs.dにido.elを追加します。 .emacsファイルに次の行を追加します。emacsでidoモードを設定する21

(load-file "~/.emacs.d/site-lisp/ido/ido.el") 
(require 'ido) 
(ido-mode t) 
(setq ido-enable-flex-matching t) ;; enable fuzzy matching 

emacsを起動すると、それは文句を言います。イドモードはありません。 これを修正するには?バックトレース

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() 
+4

'emacs --debug-init'を実行し、バックトレースの内容を貼り付けます。 –

+0

これはidoメーリングリストに投稿する必要があります。 – pmr

答えて

1

を確かにあなたも、このアプローチを取ることによって、他のアップグレードの非互換性が発生することがありますが、時間が経つにつれてその問題は確かにだけ悪くなります。私たちはRHEL5にアップグレードしているので、私はemacs 21を長い間持っていると仮定します。幸いEmacsWikiにはolder versionへのリンクがあります。それは何十年も経っていますが、何よりも優れています。

正常に動作しているようですが、定数の名前が異なる場合があります。たとえば、ido-default-file-methodをselected-windowに設定しましたが、後者の名前は同じバージョンのコードで同じウィンドウになります。

0

のEmacs 21.1.1の

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 

内容は(21.1はほぼ正確に10年前にリリースされた)かなり古代です。より最新のバージョンにアップグレードしてください。(まだAIXでビルドされていない場合を除いて)うまくいくはずです。多くの人が未完成バージョン24を使用していますが、23.3は現在の安定版です。

idoもまた、Emacsの標準的な部分です。最近、あなたのコピーを取り除くことができるはずです。

私は同じ問題を抱えている...

関連する問題