From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: ansi-color.el and comint.el
Date: Tue, 26 Apr 2005 14:11:39 -0600 [thread overview]
Message-ID: <d4m6vt$g80$1@sea.gmane.org> (raw)
In-Reply-To: <49482.217.194.34.123.1114522002.squirrel@wwws.franken.de>
Stephan Stahl wrote:
> 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 :)
Would it work if ansi-color-for-comint-mode-on added
ansi-color-process-output to comint-output-filter-functions? If so,
should ansi-color-for-comint-mode-off remove it?
--
Kevin Rodgers
prev parent reply other threads:[~2005-04-26 20:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-26 13:26 ansi-color.el and comint.el Stephan Stahl
2005-04-26 15:00 ` Luc Teirlinck
2005-04-26 22:12 ` Stephan Stahl
2005-04-26 20:11 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='d4m6vt$g80$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).