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 13:24:35 -0800 Message-ID: <56CCCE13.9010702@bothner.com> References: <56CCC20A.4090804@bothner.com> <87si0ji1dd.fsf@acer.localhost.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1456262903 8672 80.91.229.3 (23 Feb 2016 21:28:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 21:28:23 +0000 (UTC) To: Ingo Lohmar , 22785@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 22:28:11 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 1aYKV8-00058z-1P for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 22:28:10 +0100 Original-Received: from localhost ([::1]:60075 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYKV7-0006Y2-DZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 16:28:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYKSA-00021U-Pg for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 16:25:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYKS6-0003Yx-G2 for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 16:25:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44592) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYKS6-0003Yn-Bk for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 16:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aYKS6-0002JJ-5m for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2016 16:25: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 21:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22785 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22785-submit@debbugs.gnu.org id=B22785.14562626988868 (code B ref 22785); Tue, 23 Feb 2016 21:25:02 +0000 Original-Received: (at 22785) by debbugs.gnu.org; 23 Feb 2016 21:24:58 +0000 Original-Received: from localhost ([127.0.0.1]:41719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYKS2-0002Iy-Ai for submit@debbugs.gnu.org; Tue, 23 Feb 2016 16:24:58 -0500 Original-Received: from aibo.runbox.com ([91.220.196.211]:41480) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYKS0-0002Ip-7R for 22785@debbugs.gnu.org; Tue, 23 Feb 2016 16:24:56 -0500 Original-Received: from [10.9.9.213] (helo=mailfront13.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1aYKRy-000134-Sb; Tue, 23 Feb 2016 22:24:54 +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 1aYKRi-0007Hm-7N; Tue, 23 Feb 2016 22:24:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: <87si0ji1dd.fsf@acer.localhost.com> 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:113614 Archived-At: On 02/23/2016 01:05 PM, Ingo Lohmar wrote: > To me, that seems to be a bad idea. They are two different modes > precisely *because* they are quite different. If you want to run > console applications, why would you use shell-mode at all? Why not? There are also hybrid applications, such as ones that use readline. You can't use readline in shell mode, but you can in term mode. > I dumped any use of term.el because I could not control its > complexities, no matter what overrides, patches and advices I used. Well, there have been some kludges (as well as some improvements) to term since I worked on it. It was on the whole probably seen less maintenance than comint mode, since more modes extend the latter. > Term is *significantly* more complex than shell (175k vs 54k), That is the wrong comparison. You need to compare the size of term mode with that of comint mode (162k). Shell mode is just a relatively modest extension of comint mode. To clarify: The goal is to essentially merge term.el and comint.el. Comint.el might still exist, but only as a think veneer on term.el. shell might or might not existing as a separate mode, but it would at most be a thin veneer on top of term mode. Maybe it would make more sense to merge term-mode terminal-handling into comint. shell mode could still extend comint mode. In that case M-x term would more-or-less be the same as starting up shell mode and switching to the char submode. -- --Per Bothner per@bothner.com http://per.bothner.com/