[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Axiom-developer] [Axiom-mail] axiom and emacs ?
From: |
Francois Maltey |
Subject: |
[Axiom-developer] [Axiom-mail] axiom and emacs ? |
Date: |
Thu, 19 May 2005 14:38:48 -0500 |
Changes http://page.axiom-developer.org/zope/mathaction/AxiomMail/diff
--
Hello,
I try to write an axiom mode for emacs and xemacs.
When I use emacs (not xemacs) I can send data to axiom and read the result.
When I use xemacs (v. 21.5 beta 18) I read data BUT it seems that axiom
(the program) doesn't receive any data.
Why axiom doesn't read xemacs process-send-string ?
Do you have any idea ?
Have a good day.
Fran�ois
(defvar axiomRun-process nil)
(defun axiomRun-filter (proc str) (insert str))
(defun send-str-to-axiom ()
(interactive)
(beginning-of-line)
(process-send-string axiomRun-process
(concat (buffer-substring (point) (point-max)) "\n")))
(defun axiom-run nil (interactive)(axiomRun-this-axiom-run "*Axiom*"))
(defun axiomRun-this-axiom-run (str)
(switch-to-buffer str)
; I try the 3 cases, without let, with a t-variable, and a nil-variable.
(let
((process-connection-type nil))
(setq axiomRun-process
(start-process "axiom" (current-buffer) "sh" "-e" "axiom"))
; I also try the direct call, not the sh -e call.
(set-process-filter axiomRun-process (function axiomRun-filter))))
During no-one case I can't send data with xemacs.
With emacs only the t-variable process-connection-type fails.
Do you have any idea ?
_______________________________________________
Axiom-mail mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/axiom-mail
--
forwarded from http://page.axiom-developer.org/zope/mathaction/address@hidden