From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: ansi-color.el and comint.el Date: Tue, 26 Apr 2005 15:26:42 +0200 (CEST) Message-ID: <49482.217.194.34.123.1114522002.squirrel@wwws.franken.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1114521867 1763 80.91.229.2 (26 Apr 2005 13:24:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2005 13:24:27 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 26 15:24:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQQ1I-0000fL-FK for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2005 15:22:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQQ71-0007TJ-LW for ged-emacs-devel@m.gmane.org; Tue, 26 Apr 2005 09:28:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DQQ6r-0007T4-MS for emacs-devel@gnu.org; Tue, 26 Apr 2005 09:28:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DQQ6p-0007Sg-Jt for emacs-devel@gnu.org; Tue, 26 Apr 2005 09:28:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQQ6p-0005NR-Fh for emacs-devel@gnu.org; Tue, 26 Apr 2005 09:28:15 -0400 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DQQ8w-0003tv-Jc for emacs-devel@gnu.org; Tue, 26 Apr 2005 09:30:26 -0400 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id EA773245C5 for ; Tue, 26 Apr 2005 15:26:41 +0200 (CEST) Original-Received: from 217.194.34.123 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Tue, 26 Apr 2005 15:26:42 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36409 Hi. ansi-color.el may overwrite comint-output-filter-functions if it is loaded before comint.el. That is because ansi-color.el does a simple (add-hook 'comint-output-filter-functions 'ansi-color-process-output) Now comint-output-filter-functions is defined and when later comint.el is loaded its own (defvar comint-output-filter-functions '(comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt) does nothing so those two functions may be missing. I'm not sure how this is fixed best. Either have comint.el do: (defvar comint-output-filter-functions nil) (add-hook 'comint-output-filter-functions 'comint-watch-for-password-prompt) (add-hook 'comint-output-filter-functions 'comint-postoutput-scroll-to-bottom) or have ansi-color.el require comint. If anyone else thinks this should be fixed :) -- Stephan Stahl