home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Wed, 27 Jan 1993 17:57:56 EST
- Date: Wed, 27 Jan 1993 12:26:27 +0100
- From: griffith%earley.sns.neuphilologie.uni-tuebingen.de@lucid.com (John Griffith)
- Message-ID: <9301271126.AA16100@earley.sns.neuphilologie.uni-tuebingen.de>
- Subject: problem sending string to a process
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 45
-
-
- I'm using lemacs-19.3 and trying to patch some elisp files that allow
- a Quintus prolog file to be evaluated from emacs. The problem seems
- to be that what consitutes a process name is different in 19 than it
- was in 18. Anyway, here's the backtrace I get:
-
- Signalling: (file-error "writing to process" "bad file number" #<process qui>)
- process-send-string(#<process qui> "loadregi47
- /home/server/griffith/programs/ALE/testgram9.pl14 /tmp/quia04125")
- send-qui("loadregi47
- /home/server/griffith/programs/ALE/testgram9.pl14 /tmp/quia04125")
- (cond ((= sltp-char 112) (save-excursion ... ... ...) (setq word2
- "procedure") (send-qui ...)) ((= sltp-char 114) (write-region ... ...
- qui-zap-file) (setq word2 "region") (send-qui ...)) ((= sltp-char 98)
- (save-excursion ... ...) (setq word2 "buffer") (send-qui ...)) (t
- (error "Bad option"))))
- (let (word1 word2 (file-name ...)) (cond (... ...) (... ...)) (cond
- (... ... ... ...) (... ... ... ...) (... ... ... ...) (t ...))
- (message (concat word1 " " word2 "...")) (sit-for 0)
- (&clear-message)))
- send-load-to-qui("compile" 114)
- (cond ((string-equal ... "") (error "Cannot load from this buffer
- before it is written to a file")) (t (sleep-for 1) (message ...)
- (send-load-to-qui pl-load-type ...))))
- (let (pl-char) (cond (... ...) (t ... ... ...))))
- qui-load("compile")
- (lambda nil (interactive) (cond (... ...)) (qui-load "compile"))()
- call-interactively(qui-compile)
-
-
- The symbol #<process qui> (which I guess is a vector?) is not what the
- function process-send-string wants. Does anybody have an idea how I
- can fix this?
-
- Thanks,
-
- --
- John Griffith
- Seminar fuer Sprachwissenschaft
- Universitaet Tuebingen
- Wilhelmstr. 113
- W7400 Tuebingen
- Germany
-
- email: earley.sns.neuphilologie.uni-tuebingen.de
-