当我在emacs中运行“M-x pymacs-eval”时(在通过此建议https://stackoverflow.com/a/22496541/4549375安装rope,ropemacs,pymacs之后),我有一个错误“Symbol的值为变量为void:@ DEFADVICE_OK @”。有什么不对,我该怎么做才能解决这个问题呢?
如果我以这种方式更改了Make file :
Makefile:
PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't'
...
prepare:
$(PPPP) pymacs.el.in => pymacs.el
然后我做了并检查是否试图安装我得到这个:
python pppp -C ppppconfig.py => DEFADVICE_OK = 't' pymacs.el.in => pymacs.el
* = does not end with .in, ignored.
* = does not end with .in, ignored.
* t does not end with .in, ignored.
ERROR: pymacs.el has been modified, keeping it!
答案 0 :(得分:0)
很奇怪。与变量@DEFADVICE_OK @相关的近似执行顺序:
Makefile
PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't'
...
prepare:
$(PPPP) pymacs.el.in => pymacs.el
所以,pymacs.el
根本不包含@ DEFADVICE_OK @('t'
而不是这个)。