From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Character mode for comint? Date: Sat, 29 Oct 2011 15:48:50 -0400 Message-ID: References: <87mxckp2vs.fsf@gmail.com> <87d3dgp2hb.fsf@gmail.com> <87r51wm3jw.fsf@gmail.com> <87k47om2e5.fsf@gmail.com> <87ty6rlvgn.fsf@gmail.com> <87fwiblsng.fsf@gmail.com> <87aa8jpxgq.fsf@uwakimon.sk.tsukuba.ac.jp> <871utvir1a.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319917741 4709 80.91.229.12 (29 Oct 2011 19:49:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 19:49:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 21:48:58 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RKEtk-0006uM-11 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 21:48:56 +0200 Original-Received: from localhost ([::1]:43795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEtj-0000Iu-I5 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 15:48:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEtg-0000Ie-E2 for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:48:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKEtf-0005Fl-Bj for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:48:52 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:60808 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKEtf-0005Fh-9L for emacs-devel@gnu.org; Sat, 29 Oct 2011 15:48:51 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmcGAKJXrE5MCrTo/2dsb2JhbABCmliPEIEGgXIBAQQBVigLCzQSFBgNiDmybokCBKFEhEU X-IronPort-AV: E=Sophos;i="4.69,424,1315195200"; d="scan'208";a="145117478" Original-Received: from 76-10-180-232.dsl.teksavvy.com (HELO pastel.home) ([76.10.180.232]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 29 Oct 2011 15:48:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7383658E17; Sat, 29 Oct 2011 15:48:50 -0400 (EDT) In-Reply-To: <871utvir1a.fsf@gmail.com> (Antoine Levitt's message of "Sat, 29 Oct 2011 20:36:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145779 Archived-At: > Actually, the basic code seems to be pretty simple. In character mode, > pretty much everything is mapped to term-send-raw, which is just a > wrapper around process-send-string. Indeed. In inferior-prolog-mode, for example we mix the two in some occasions (because some Prolog systems read a single char (rather than a string) to decide how to continue). Stefan