From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Per Bothner Newsgroups: gmane.emacs.bugs Subject: bug#22785: 24.5; comint/shell modes should be merged with term mode Date: Tue, 23 Feb 2016 12:33:14 -0800 Message-ID: <56CCC20A.4090804@bothner.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1456259726 21684 80.91.229.3 (23 Feb 2016 20:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 20:35:26 +0000 (UTC) To: 22785@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 21:35:13 2016 Return-path: Envelope-to: geb-bug-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 1aYJfr-0004rA-Ey for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 21:35:11 +0100 Original-Received: from localhost ([::1]:59740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJfq-0000Uj-RW for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 15:35:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJfm-0000TQ-IY for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:35:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYJfi-0000GI-Bp for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:35:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJfi-0000GE-8T for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aYJfi-00015W-1k for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Per Bothner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Feb 2016 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14562596464113 (code B ref -1); Tue, 23 Feb 2016 20:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2016 20:34:06 +0000 Original-Received: from localhost ([127.0.0.1]:41694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYJeo-00014H-2z for submit@debbugs.gnu.org; Tue, 23 Feb 2016 15:34:06 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50523) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYJem-00013n-5g for submit@debbugs.gnu.org; Tue, 23 Feb 2016 15:34:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYJef-000067-Hq for submit@debbugs.gnu.org; Tue, 23 Feb 2016 15:33:59 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJef-000061-Fb for submit@debbugs.gnu.org; Tue, 23 Feb 2016 15:33:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJee-0000Jh-3g for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:33:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYJeZ-0008Vy-S9 for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:33:56 -0500 Original-Received: from aibo.runbox.com ([91.220.196.211]:53941) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYJeZ-0008Vs-Hm for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:33:51 -0500 Original-Received: from [10.9.9.213] (helo=mailfront13.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1aYJeX-0006hk-Bc for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:33:49 +0100 Original-Received: from 70-36-239-75.dsl.dynamic.fusionbroadband.com ([70.36.239.75] helo=toshie.bothner.com) by mailfront13.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1aYJe5-0001Bb-SX for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:33:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:113612 Archived-At: The "line" submode of term mode duplicates much of the functionality of comint mode. When I wrote term mode, my hope was that it would subsume comint mode, or that comint mode would be built on top of term mode. That never happened - so far. 'shell mode' should basically be the same as 'term' mode, except that shell mode starts of in line-editing mode, while term mode starts up in character mode. There are obvious advantages to merging these modes. One is we have ansi escape sequence handling in a single place. Another is that you can run console applications from shell mode. In GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.18.7) of 2016-02-02 on buildhw-05.phx2.fedoraproject.org Windowing system distributor `Fedora Project', version 11.0.11800000 System Description: Fedora release 23 (Twenty Three) Configured using: `configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Shell-script Minor modes in effect: sh-electric-here-document-mode: t diff-auto-refine-mode: t xterm-mouse-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent messages: Wrote /home/bothner/DomTerm/bin/domterm Mark set Saving file /home/bothner/DomTerm/bin/domterm... Wrote /home/bothner/DomTerm/bin/domterm Mark set Saving file /home/bothner/DomTerm/bin/domterm... Wrote /home/bothner/DomTerm/bin/domterm Mark set Saving file /home/bothner/DomTerm/bin/domterm... Wrote /home/bothner/DomTerm/bin/domterm Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils info css-mode ispell view mule-util parse-time sgml-mode sh-script smie executable etags ring texinfo smerge-mode diff-mode easy-mmode scheme nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok add-log conf-mode help-mode autoconf autoconf-mode make-mode vc-dispatcher vc-svn cc-langs misearch multi-isearch vc-git js advice help-fns byte-opt bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv json imenu thingatpt cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-cvs server time-date xt-mouse tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 515998 51413) (symbols 48 29080 0) (miscs 40 1048 8712) (strings 32 53861 12727) (string-bytes 1 1792324) (vectors 16 27981) (vector-slots 8 1509840 153066) (floats 8 176 561) (intervals 56 77667 486) (buffers 960 103) (heap 1024 74981 4504)) -- --Per Bothner per@bothner.com http://per.bothner.com/ -- --Per Bothner per@bothner.com http://per.bothner.com/