From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rocky Newsgroups: gmane.emacs.help Subject: output-filter-function or equivalent for term.el? Date: Wed, 26 Aug 2009 19:28:22 -0700 (PDT) Organization: http://groups.google.com Message-ID: <3a26ae0f-c74e-4ffa-9e95-03a545f98aa4@c2g2000yqi.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1251364968 7456 80.91.229.12 (27 Aug 2009 09:22:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Aug 2009 09:22:48 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 27 11:22:41 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 1MgbBn-000307-V7 for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Aug 2009 11:22:40 +0200 Original-Received: from localhost ([127.0.0.1]:47578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgbBm-0004Vh-6S for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Aug 2009 05:22:38 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!c2g2000yqi.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 71.183.236.17 Original-X-Trace: posting.google.com 1251340102 16634 127.0.0.1 (27 Aug 2009 02:28:22 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 27 Aug 2009 02:28:22 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c2g2000yqi.googlegroups.com; posting-host=71.183.236.17; posting-account=jKjGDQoAAABKN2iauJtD3DV5oMZpXuQo User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172435 X-Mailman-Approved-At: Thu, 27 Aug 2009 05:21:12 -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:67582 Archived-At: Recently I have been rewriting debugger prompt tracking code. Probably the oldest and most familiar one may be turn-on-pdbtrack from python- mode.el. The way code like this works is to add a hook to comint- output-filter-functions. Having done that and being pleased with the work, I created a similar hook for eshell. All pretty simply done by adding a hook to eshell-output-filter-functions. But I don't see anything for eterm.el. I see a hook which will get called before input is sent to a process, but no hook when the process is waiting on input or has new output. Suggestions? Thanks.