From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rocky Newsgroups: gmane.emacs.help Subject: Grand Unified Debugger Rewrite's process buffer: comint, eterm or eshell? Date: Fri, 30 Oct 2009 07:32:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1257048571 19634 80.91.229.12 (1 Nov 2009 04:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Nov 2009 04:09:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 01 05:09:24 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N4Rkn-000898-FI for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Nov 2009 05:09:21 +0100 Original-Received: from localhost ([127.0.0.1]:57901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Rkn-0006F0-0X for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Nov 2009 00:09:21 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!r5g2000yqb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 66.92.120.162 Original-X-Trace: posting.google.com 1256913135 31822 127.0.0.1 (30 Oct 2009 14:32:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 30 Oct 2009 14:32:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r5g2000yqb.googlegroups.com; posting-host=66.92.120.162; posting-account=jKjGDQoAAABKN2iauJtD3DV5oMZpXuQo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:174271 X-Mailman-Approved-At: Sun, 01 Nov 2009 00:08:34 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69371 Archived-At: I have started to rewrite gud from the ground up. For the process buffer I have 3 choices. 1. I can stick with comint.el. It seems the most creaky. 2. term.el is pretty cool, but it doesn't provide a hook to run when output is produced and this is something I need. I use it both in comint.el and eshell.el in "shell tracker" (think pdb-track) mode. So this leads to the last choice ... 3. eshell.el. It also seems pretty cool too. However its focus seems to be more as a command shell rather than a process buffer manager interacting via elisp to a debugger front-end. This mismatch in goals manifests itself in little things like the ability to set the name of the buffer initially, starting the shell with a specific debugger invocation, customizing the banner shown on entry, avoiding the myriad of key bindings that are not applicable here. Although little things each easly addressed, I think they are manifestations of the larger issue may keep cropping up if I go down this path. So right now, my take is to add a output filter hook to term.el. But I'd be interested and grateful in thoughts and suggestions.