[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pymacs
From: |
Eric Abrahamsen |
Subject: |
Re: pymacs |
Date: |
Mon, 10 Jun 2013 21:37:43 +0800 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) |
daniel <idnael@gmail.com> writes:
> To put it more simple, the problem is when a python function returns a
> elisp symbol back to elisp:
>
> def teste():
> symb = lisp.simbolo
> OR symb = lisp["simbolo"]
> OR symb = lisp("'simbolo")
> #str(symb) gives " 'simbolo "
> return symb
>
> When the function is invoked from elisp it doesn't return the symbol.
>
> I need this for a python program that creates an emacs menu. And the menu
> structure need to have these symbols that are the functions to be called
> when an menu item is selected.
Ah, can't help you there, I've never done anything fancy with pymacs.
What happens when you call `pymacs-eval' on the return value from the
python function?
- pymacs, daniel, 2013/06/09
- Re: pymacs, andrea crotti, 2013/06/09
- Re: pymacs, daniel, 2013/06/09
- Re: pymacs, Eric Abrahamsen, 2013/06/09
- Re: pymacs, daniel, 2013/06/10
- Re: pymacs, daniel, 2013/06/10
- Re: pymacs,
Eric Abrahamsen <=
- Re: pymacs, daniel, 2013/06/10
- Re: pymacs, Andreas Röhler, 2013/06/10
- Re: pymacs, Kyle Machulis, 2013/06/10
- Re: pymacs, daniel, 2013/06/16
Re: pymacs, Andreas Röhler, 2013/06/10