试图让xiki工作。
它已安装:
$ xiki directory
/Users/joshcheek/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/
移动所有文件的shell脚本已成功执行AFAIK,但我关闭了该shell,因此无法显示其输出。不过,没有什么让我觉得自己错了。
看起来服务器正在运行:
$ xiki status
xiki_process.rb: running [pid 93257]
我已经安装了 emacs(我在安装 xiki 之前安装了它),并设置了 init 文件:
$ cat ~/.el4r/init.rb
# Beginning of the el4r block:
# RCtool generated this block automatically. DO NOT MODIFY this block!
# This is the el4r initialization file.
# End of the el4r block.
# User-setting area is below this line.
# User-setting area is below this line.
$LOAD_PATH.unshift "/Users/joshcheek/.rvm/gems/ruby-1.9.3-p194/gems/xiki-0.6.3/lib"
require 'xiki'
Xiki.init
KeyBindings.keys # Use default key bindings
Themes.use "Default" # Use xiki theme
但是当我运行 emacs 时,它会拆分屏幕并将此错误放在底部:
Warning (initialization): An error occurred while loading `/Users/joshcheek/.emacs':
error: el4r-instance is dead.
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
当我按 Option-l 时(也尝试了 Escape l,以防选项不是元),似乎没有发生任何事情(当我在欢迎窗口窗格中执行此操作时,它说它是只读的,当我在底部执行此操作时一个说 xiki 死了,它什么也没做)。回到控制台,xiki status
仍然说它正在使用相同的 pid 运行。
有两个日志,每个都有相同的问题:
$ tail /tmp/el4r-joshcheek.9*
==> /tmp/el4r-joshcheek.92157.log <==
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `call'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `readline'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `el4r_recv'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:790:in `el4r_get'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:768:in `block in el4r_wait_expr'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:836:in `el4r_with_call'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:765:in `el4r_wait_expr'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:760:in `el4r_wait_expr_loop'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:1102:in `<main>'
2012-09-12 23:50:14 -0500:Exiting.
==> /tmp/el4r-joshcheek.93192.log <==
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `call'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `readline'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:797:in `el4r_recv'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:790:in `el4r_get'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:768:in `block in el4r_wait_expr'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:836:in `el4r_with_call'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:765:in `el4r_wait_expr'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:760:in `el4r_wait_expr_loop'
from /Users/joshcheek/.rvm/rubies/ruby-1.9.3-p194/bin/el4r-instance:1102:in `<main>'
2012-09-12 23:53:41 -0500:Exiting.
我不知道我应该如何加载它,我以为我只是启动 emacs,我可以开始双击单词之类的东西table
到目前为止它没有这样做,但我不认为它正确地与emacs交谈。
当我查看 emacs gui 中的信息时,它说它是 24.2 版(从这里安装),当我emacs --version
在控制台上这样做时,它说它是 22.1.1 版我可以解决这个问题并尝试将它们都升级到 24 版,但我什至不知道这是否是问题所在(尽管我可能更喜欢从控制台使用这些)。
我尝试查找有关如何使用它的文档,但这种方式似乎并不多。尝试加入谷歌组,我会在那里问,但我的会员资格正在等待中。
我只是希望能够尝试视频中的内容。