all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ansi-color.el and comint.el
@ 2005-04-26 13:26 Stephan Stahl
  2005-04-26 15:00 ` Luc Teirlinck
  2005-04-26 20:11 ` Kevin Rodgers
  0 siblings, 2 replies; 4+ messages in thread
From: Stephan Stahl @ 2005-04-26 13:26 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-26 22:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.