#49
帖子
由 youarehike » 2009-08-08 0:38
前人,帮忙看看,我按照上面做法做得,但是emacs没什么反应,比如,按key帮定ctrl c + k, 依旧是emacs缺省的关闭当前buffer的命令,不是如上面定义的那样。对emacs,我很新手,我的做法如下。
sudo apt-get install emacs
sudo apt-get install ecb
cd
sudo touch .emacs
sudo chmod 777 .emacs
sudo mkdir lib
cd lib
sudo mkdir emacs-lisp
cd emacs-lisp
sudo mkdir slime-2.0
sudo touch jerry-basic.el .... jerry-wiki.el
sudo chmod 777 *.el
ls -l
-rwxrwxrwx 1 777 root 9573 2009-08-07 23:46 jerry-basic.el
-rwxrwxrwx 1 root root 2520 2009-08-07 23:52 jerry-calendar.el
-rwxrwxrwx 1 root root 1320 2009-08-07 23:59 jerry-cedet.el
-rwxrwxrwx 1 root root 2394 2009-08-07 23:55 jerry-dictionary.el
-rwxrwxrwx 1 root root 3441 2009-08-08 00:01 jerry-dired.el
-rwxrwxrwx 1 root root 3237 2009-08-07 23:53 jerry-folding.el
-rwxrwxrwx 1 root root 22955 2009-08-07 23:56 jerry-function.el
-rwxrwxrwx 1 root root 3486 2009-08-07 23:54 jerry-ido.el
-rwxrwxrwx 1 root root 14827 2009-08-08 00:05 jerry-key-bindings.el
-rwxrwxrwx 1 root root 1546 2009-08-07 23:50 jerry-language.el
-rwxrwxrwx 1 root root 2989 2009-08-07 23:56 jerry-mew.el
-rwxrwxrwx 1 root root 20637 2009-08-08 00:02 jerry-mode.el
-rwxrwxrwx 1 root root 2732 2009-08-08 00:00 jerry-org.el
-rwxrwxrwx 1 root root 10302 2009-08-08 00:05 jerry-other-elisp.el
-rwxrwxrwx 1 root root 3008 2009-08-07 23:58 jerry-w3m.el
-rwxrwxrwx 1 root root 1694 2009-08-08 00:04 jerry-wiki.el
cd
cd .emacs.d
ls -a -l
-rwxrwxrwx 1 sl500 sl500 0 2009-08-07 23:41 .abbrev_defs
drwx------ 2 sl500 sl500 4096 2009-08-08 00:19 auto-save-list
-rwxrwxrwx 1 sl500 sl500 0 2009-08-07 23:41 .emacs.bmk
把相应的Lisp脚本复制在相应的文件里。
重启emacs
只测试了ctrl c + k,发现不行。
问题应该是我太匆忙和太新,所以想问,emacs支持的lisp脚本有没有什么调试的方法,就象这个例子,一下子复制很多文件,但是不知道问题出现在哪里,请有懂的帮忙回答一下。