From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.devel Subject: Re: Character mode for comint? Date: Sat, 29 Oct 2011 17:33:07 +0200 Message-ID: <87fwiblsng.fsf@gmail.com> References: <87mxckp2vs.fsf@gmail.com> <87d3dgp2hb.fsf@gmail.com> <87r51wm3jw.fsf@gmail.com> <87k47om2e5.fsf@gmail.com> <87ty6rlvgn.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319902416 7520 80.91.229.12 (29 Oct 2011 15:33:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 29 Oct 2011 15:33:36 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 29 17:33:33 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 1RKAua-00035q-C2 for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 17:33:32 +0200 Original-Received: from localhost ([::1]:48052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKAuZ-000064-Ek for ged-emacs-devel@m.gmane.org; Sat, 29 Oct 2011 11:33:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38340) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKAuX-00005x-8Z for emacs-devel@gnu.org; Sat, 29 Oct 2011 11:33:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RKAuW-0000k5-6I for emacs-devel@gnu.org; Sat, 29 Oct 2011 11:33:29 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RKAuV-0000j5-Vt for emacs-devel@gnu.org; Sat, 29 Oct 2011 11:33:28 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RKAuU-00033r-Ix for emacs-devel@gnu.org; Sat, 29 Oct 2011 17:33:26 +0200 Original-Received: from cab14-1-88-177-9-245.fbx.proxad.net ([88.177.9.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 17:33:26 +0200 Original-Received: from antoine.levitt by cab14-1-88-177-9-245.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 29 Oct 2011 17:33:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cab14-1-88-177-9-245.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:145763 Archived-At: 29/10/11 17:15, Andreas Schwab > Antoine Levitt writes: > >> In term-mode, I can switch between line-mode and character-mode via C-c >> C-j, C-c C-k. In comint buffers (for instance: emacs -Q, M-x >> run-python), there is only the default line-based input mode. I'd like >> to be able to input characters directly. Is there a simple way that >> could be done? > > What's wrong with using term-mode in the first place? > > Andreas. 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.