auto-complete を入れる
M-x auto-install-batch で、auto-complete を入れようとすると、
しばらくフリーズして、0KB のファイルをダウンロードしてきやがるので、
やはり、以下を実行。
M-x eshell で shell を起動して
------------------------------------------------------------------------------
Welcome to the Emacs shell
~/.emacs.d $ cd c:\tmp/
c:/tmp $ wget http://cx4a.org/pub/auto-complete/auto-complete-1.3.1.zip
--2011-06-15 17:24:41-- http://cx4a.org/pub/auto-complete/auto-complete-1.3.1.zip
Connecting to XXX.XXX.XXX.XXX:XX... connected.
Proxy request sent, awaiting response... 200 OK
Length: 177153 (173K) [application/zip]
Saving to: `auto-complete-1.3.1.zip'
0K .......... .......... .......... .......... .......... 28% 1.46M 0s
50K .......... .......... .......... .......... .......... 57% 3.40M 0s
100K .......... .......... .......... .......... .......... 86% 4.65M 0s
150K .......... .......... ... 100% 11.2M=0.06s
2011-06-15 17:24:41 (2.80 MB/s) - `auto-complete-1.3.1.zip' saved [177153/177153]
c:/tmp $ cd ~/.emacs.d/
~/.emacs.d $ unzip c:\tmp/auto-complete-1.3.1.zip
cygwin warning:
MS-DOS style path detected: c:\tmp/auto-complete-1.3.1.zip
Preferred POSIX equivalent is: /cygdrive/c/tmp/auto-complete-1.3.1.zip
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Archive: c:\tmp/auto-complete-1.3.1.zip
creating: auto-complete-1.3.1/
inflating: auto-complete-1.3.1/COPYING.FDL.txt
creating: auto-complete-1.3.1/dict/
inflating: auto-complete-1.3.1/dict/c++-mode
inflating: auto-complete-1.3.1/dict/scheme-mode
inflating: auto-complete-1.3.1/dict/clojure-mode
inflating: auto-complete-1.3.1/dict/javascript-mode
inflating: auto-complete-1.3.1/dict/python-mode
inflating: auto-complete-1.3.1/dict/php-mode
inflating: auto-complete-1.3.1/dict/java-mode
inflating: auto-complete-1.3.1/dict/ruby-mode
inflating: auto-complete-1.3.1/dict/css-mode
inflating: auto-complete-1.3.1/dict/tcl-mode
inflating: auto-complete-1.3.1/dict/c-mode
creating: auto-complete-1.3.1/etc/
inflating: auto-complete-1.3.1/etc/test.txt
inflating: auto-complete-1.3.1/etc/install.el
inflating: auto-complete-1.3.1/COPYING.GPLv3.txt
inflating: auto-complete-1.3.1/auto-complete-config.el
inflating: auto-complete-1.3.1/auto-complete.el
creating: auto-complete-1.3.1/doc/
inflating: auto-complete-1.3.1/doc/ac-fuzzy.png
inflating: auto-complete-1.3.1/doc/index.ja.txt
inflating: auto-complete-1.3.1/doc/ac.png
inflating: auto-complete-1.3.1/doc/changes.txt
inflating: auto-complete-1.3.1/doc/demo.txt
inflating: auto-complete-1.3.1/doc/manual.txt
inflating: auto-complete-1.3.1/doc/ac-isearch.png
inflating: auto-complete-1.3.1/doc/manual.ja.txt
inflating: auto-complete-1.3.1/doc/index.txt
inflating: auto-complete-1.3.1/doc/style.css
inflating: auto-complete-1.3.1/doc/changes.ja.txt
inflating: auto-complete-1.3.1/README.txt
inflating: auto-complete-1.3.1/Makefile
inflating: auto-complete-1.3.1/fuzzy.el
inflating: auto-complete-1.3.1/popup.el
inflating: auto-complete-1.3.1/TODO.txt
~/.emacs.d $
------------------------------------------------------------------------------
で、
M-x load-file [RET]
~/.emacs.d/auto-complete-1.3.1/etc/install.el [RET]
~/.emacs.d/auto-complete-1.3.1/ [RET]
として完了。init.el の設定は今度(ansys-modeと辞書を入れてから)。
0 件のコメント:
コメントを投稿