I have an error "Symbol's value as variable is void: @DEFADVICE_OK@" when I run "M-x pymacs-eval" in emacs (after installing rope, ropemacs, pymacs by this recommendations https://stackoverflow.com/a/22496541/4549375). What is wrong, what can I do for solving this problem?
If I changed Make file this way:
Makefile:
PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't'
...
prepare:
$(PPPP) pymacs.el.in => pymacs.el
then I do make and check for trying to install I get this:
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!
Asked
Active
Viewed 88 times
0

Community
- 1
- 1
-
Could you show the string before `(defadvice documentation...` in the file `pymacs.el`? – artscan Feb 14 '15 at 07:12
-
(when @DEFADVICE_OK@ – Vladislav Borisov Feb 15 '15 at 15:59
1 Answers
0
It's strange. The approximate order of execution associated with a variable @DEFADVICE_OK@:
Makefile
PPPP = $(PYTHON) pppp -C ppppconfig.py => DEFADVICE_OK = 't'
...
prepare:
$(PPPP) pymacs.el.in => pymacs.el
So, pymacs.el
doesn't contain @DEFADVICE_OK@ at all ('t'
instead of this).

artscan
- 2,340
- 15
- 26
-
I have changed 257 line in pymacs.el (@DEFADVICE_OK@ => t) after I run "M-x pymacs-eval" I have request "Python expression:" what could I inter in it? – Vladislav Borisov Feb 15 '15 at 16:10
-
You shouldn't change the file `pymacs.el` manually because it is generated automatically. You should use `make` command for it. ... `pymacs-eval` evaluates any python expression, e.g. `(lambda(x): 2*x)(3)` – artscan Feb 15 '15 at 17:51