[Top][All Lists]

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

wrong-type-argument in comint mode

From: Tim Johnson
Subject: wrong-type-argument in comint mode
Date: Sun, 15 May 2005 20:32:12 -0000
User-agent: slrn/ (Linux)

Version Info:
GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of

The following defun: 
; =========================================================================
(defun rebol-send-region (beg end)
  "Send the current region to the inferior Rebol process."
  (interactive "r")
  (comint-send-region rebol-proc beg end)
  (comint-send-string rebol-proc "\n"))

;; Evaluates as expected in Xemacs, but generates the following
;;  error message from GNU emacs

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  comint-send-region("rebol" 361 401)
  rebol-send-region(361 401)

;; I can verify (I think!) that the process name is correct,
;; but it appears to me that elisp is looking for something
;; other than a string? 

Any advice, docs or solutions are welcome.
Also pointers to topics on the error message itself would
be great, I'm not entirely clear on what it is saying.

Tim Johnson <address@hidden>

reply via email to

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