Annoying escape sequences in manual-entry bffer

Stephen J. Turnbull stephen at xemacs.org
Wed Jul 23 19:56:55 EDT 2008


Vladimir G. Ivanovic writes:

 > '(manual-entry "ls") produces stuff like this:
 > 
 > > ^[[1mNAME^[[0m

Well, I'm not sure how to get rid of it entirely; a lot of programs
assume you have a capable terminal.  Your man program's man page
should tell you how to do that, then you can add those switches to the
Manual-switches variable.

Alternatively, M-x ansi-color-for-comint-mode-on RET will allow XEmacs
to display those sequences nicely.

 > which didn't happen with a non-mule 21.5-b28 build. Merely changing 
 > '--with-mule' to '--without-mule' fixes the problem.

I have no idea why this would change anything.

Have you tried both builds with "xemacs -vanilla"?  It's possible that
you have installed ansi-color wrapped in a (unless (featurep 'mule) ...)
or something like that.






More information about the XEmacs-Beta mailing list