[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: groff version 1.18.1 and emacs
From: |
Eli Zaretskii |
Subject: |
Re: groff version 1.18.1 and emacs |
Date: |
Mon, 18 Nov 2002 21:02:15 +0300 |
> From: lurwas <lurwas@moya.dnsalias.net>
> Date: Mon, 18 Nov 2002 13:26:32 +0100 (CET)
>
> groff version 1.18.1 gives wrongly formatted man-pages, thus not
> letting emacs display escape sequences correctly. With earlier groff
> versions, it works.
Probably because Groff 1.18 produces SGR color escape sequences which
the filter used by Emacs doesn't strip.
A workaround would be to set the environment variable that disables
the SGR escapes in Groff's output. This could be done in man.el, just
before it runs `man' in the background. Sorry, I don't remember the
name of the environment variable that does this, but I'm sure it's
documented somewhere in the Groff manual.