bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GROFF_NO_SGR when calling groff (was: Menu: Help -> Manuals -> Read Man


From: Reiner Steib
Subject: GROFF_NO_SGR when calling groff (was: Menu: Help -> Manuals -> Read Man Page... problem)
Date: Fri, 19 Mar 2004 19:47:31 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

On Thu, Mar 18 2004, Eli Zaretskii wrote:

>> > Current Emacs development sources already set GROFF_NO_SGR=1 when they
>> > run `man'.
[...]
>       (setenv "GROFF_NO_SGR" "1")
>       (if (fboundp 'start-process)
>           (set-process-sentinel
>            (start-process manual-program buffer "sh" "-c"
>                           (format (Man-build-man-command) man-args))
>            'Man-bgproc-sentinel)

Wouldn't it make sense to _use_ the SGR control sequences by applying
`ansi-color-apply-on-region' (from `ansi-color.el') on the output
buffer instead of suppressing them?

I don't have groff >= 1.18 here so I dunno if it would work nicely.

[ Probably this should be discussed on emacs-devel.
  -> Added along with Mail-Followup-To: address@hidden ]

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]