From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Character mode for comint? Date: Sun, 30 Oct 2011 01:35:33 +0900 Message-ID: <87aa8jpxgq.fsf@uwakimon.sk.tsukuba.ac.jp> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: dough.gmane.org 1319906151 31086 80.91.229.12 (29 Oct 2011 16:35:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 16:35:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Antoine Levitt Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 18:35:47 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 1RKBsp-0007u8-F8 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 18:35:47 +0200 Original-Received: from localhost ([::1]:53578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKBso-0003p0-V3 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 12:35:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39538) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKBsm-0003ou-3y for emacs-devel@gnu.org; Sat, 29 Oct 2011 12:35:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKBsk-0003nH-TD for emacs-devel@gnu.org; Sat, 29 Oct 2011 12:35:44 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:55535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKBsk-0003lz-Kc for emacs-devel@gnu.org; Sat, 29 Oct 2011 12:35:42 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id E37A83FA0756; Sun, 30 Oct 2011 01:35:33 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id D713A1A273F; Sun, 30 Oct 2011 01:35:33 +0900 (JST) In-Reply-To: <87fwiblsng.fsf@gmail.com> X-Mailer: VM 8.2.0a1 under 21.5 (beta31) "ginger" 2dbefd79b3d3 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.158.97.223 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:145771 Archived-At: Antoine Levitt writes: > Because then you don't benefit from the emacs interaction features of > the various python modes, like sending the current > buffer/region/defun. If your question is "why are these features > implemented with comint rather than term-mode", I have no clue. Here's a clue: ;;; term.el --- general command interpreter in a window stuff ;; Copyright (C) 1988-1995, 1997 Free Software Foundation, Inc. ;; Author: Per Bothner ;; Based on comint mode written by: Olin Shivers So comint can do it, and term-mode can teach you how to tickle comint mode into doing what you want it to do. If you're very lucky, your investigation of term-mode may show that this is a feature of comint itself and you just have to enable it. I-got-no-fish-today-but-here's-a-rod-and-reel-ly y'rs,