From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "nick" Newsgroups: gmane.emacs.help Subject: Re: Unable to send give input to lisp, hassle in non-fundamental modes Date: 21 Oct 2005 16:11:30 -0700 Organization: http://groups.google.com Message-ID: <1129936290.517158.316330@g49g2000cwa.googlegroups.com> References: <1129889031.929349.118750@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1129936646 10786 80.91.229.2 (21 Oct 2005 23:17:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Oct 2005 23:17:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 22 01:17:25 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ET678-0000Af-Do for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Oct 2005 01:15:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ET677-0007rC-At for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Oct 2005 19:15:53 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g49g2000cwa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 Original-NNTP-Posting-Host: 69.227.135.10 Original-X-Trace: posting.google.com 1129936296 16876 127.0.0.1 (21 Oct 2005 23:11:36 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 21 Oct 2005 23:11:36 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1.1 (KHTML, like Gecko) Safari/312,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g49g2000cwa.googlegroups.com; posting-host=69.227.135.10; posting-account=jUxYUQ0AAAD8UnkLa1i0H0X8rgGAb5qR Original-Xref: shelby.stanford.edu gnu.emacs.help:134869 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30454 Archived-At: >What is C-h k returning in these modes? It says: "ET (translated from ) runs the command newline which is an interactive compiled Lisp function in `simple'. It is bound to RET. (newline &optional arg) Insert a newline, and move to left margin of the new line if it's blank. If `use-hard-newlines' is non-nil, the newline is marked with the text-property `hard'. With arg, insert that many newlines. Call `auto-fill-function' if the current column number is greater than the value of `fill-column' and arg is nil." as opposed to "RET (translated from ) runs the command comint-send-input which is an interactive compiled Lisp function in `comint'. It is bound to RET. (comint-send-input &optional no-newline) Send input to process. After the process output mark, sends all text from the process mark to point as input to the process. Before the process output mark, calls value of variable `comint-get-old-input' to retrieve old input, copies it to the process mark, and sends it. A terminal newline is also inserted into the buffer and sent to the process unless no-newline is non-nil...." in a shell mode before switching to lisp or haskell mode. I tried "M-x comint-send-input" in one of these modes and it says "wrong argument type, markerp nil" >Why don't you upgrade to 21.4 or a more recent Carbon Emacs (22.0.50 >from CVS)? Ok, I will try that. Thanks Nick