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
Axiom-mail@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-mail

--
forwarded from http://page.axiom-developer.org/zope/mathaction/[EMAIL PROTECTED]


_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to