help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to pass messages between emacs and a Python program? (goal: tryi


From: Thien-Thi Nguyen
Subject: Re: How to pass messages between emacs and a Python program? (goal: trying to use emacs as a UI)
Date: Fri, 26 Aug 2016 10:14:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Brian Merchant <address@hidden>
() Thu, 25 Aug 2016 15:18:19 -0700

   Could this be done?

If the program can read stdin and write stdout, you could make
it into a REPL.  Probably the easiest would be to adapt Inferior
Python mode (try ‘M-x run-python RET’ and then ‘C-h m’ in the
resulting buffer, for details).

I think that would be easier than a "live update"-style design,
although certainly that is possible as well (w/ a SMOP).

-- 
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (type via)
   (case type
     (technical (eq 'mailing-list via))
     ...))                              748E A0E8 1CB8 A748 9BFA
--------------------------------------- 6CE4 6703 2224 4C80 7502

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]