Re: problem with display of man pages in xemacs

"Stephen J. Turnbull" <[email protected]> Mon, 10 May 2004 13:45:52 +0900
Newsgroups gmane.emacs.xemacs.general
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "Pete" == Pete Siemsen <[email protected]> writes:

    Pete> This is on a Red Hat Fedora 1 Linux system with XEmacs
    Pete> 21.5beta17.  On a Solaris 8 system with XEmacs 21.5beta9, I
    Pete> don't have the problem - the highlighed text is italicized
    Pete> in the XEmacs buffer.  Command-line "man" commands do the
    Pete> same color highlighting on both systems.

Your XEmacs environments are different, I suspect; I don't think
there's any difference between 21.5.9 and 21.5.17 that would cause
this.  If a quick inspection doesn't show anything, we could
investigate, but I really think it's unlikely to depend on the XEmacs
version.

Look at the contents of the variable

comint-output-filter-functions

on both systems (comint mode is the abstract mode that Lisp-to-shell
APIs derive from).

To get color highlighting on any XEmacs, it may be sufficient to do
M-x ansi-color-for-comint-mode-on.  Or you may need to set up
ansi-color specifically for manual-entry, which basically involves
arranging for the colorizing filter to be added to
comint-output-filter-functions.

If this doesn't help, then I would have to guess manual-entry doesn't
use comint, and that's a whole different can of worms.

-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.