opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 30 July 2012 • 4:18PM -0400

New comint mode echoes and concatenates input
by William Stevenson

REPLY TO AUTHOR
 
REPLY TO GROUP




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.



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

opensubscriber is not affiliated with the authors of this message nor responsible for its content.