From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: William Stevenson Newsgroups: gmane.emacs.help Subject: New comint mode echoes and concatenates input Date: Mon, 30 Jul 2012 09:18:58 +0100 Message-ID: <87hasplkzx.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343636383 23454 80.91.229.3 (30 Jul 2012 08:19:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 08:19:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 10:19:43 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SvlCZ-0005Hh-Cg for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 10:19:43 +0200 Original-Received: from localhost ([::1]:43726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvlCY-0004BR-NM for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 04:19:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvlCP-0004B6-UC for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 04:19:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SvlCL-0002gX-SX for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 04:19:33 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SvlCL-0002gS-Le for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 04:19:29 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SvlCI-00057o-7f for help-gnu-emacs@gnu.org; Mon, 30 Jul 2012 10:19:26 +0200 Original-Received: from cpc10-belf9-2-0-cust411.2-1.cable.virginmedia.com ([86.24.57.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jul 2012 10:19:25 +0200 Original-Received: from yhvh2000 by cpc10-belf9-2-0-cust411.2-1.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Jul 2012 10:19:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc10-belf9-2-0-cust411.2-1.cable.virginmedia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Cancel-Lock: sha1:nz3KB0wSrz6tYOOqttTBpZRDVZM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86127 Archived-At: Hey, I'm writing a comint mode for an interpreter called cling and I'm getting an echo and concatenation of the input string, better explained by example: ****************** CLING ****************** * Type C++ code and press enter to run it * * Type .q to exit * ******************************************* [cling]$ int i = 0; iinintint int iint i int i =int i = int i = 0int i = 0;int i = 0; [cling]$ i ii (int) 0 [cling]$ #+BEGIN_SRC emacs-lisp ;;Minimal code (make-comint-in-buffer "Cling" (generate-new-buffer "*Cling*") "cling")) #+END_SRC I've tried setting comint-process-echoes to both t and nil. Any help would be appreciated.