From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de>
Cc: bug-gnu-emacs@gnu.org
Subject: GROFF_NO_SGR when calling groff (was: Menu: Help -> Manuals -> Read Man Page... problem)
Date: Fri, 19 Mar 2004 19:47:31 +0100 [thread overview]
Message-ID: <v9vfl0d67w.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 2914-Thu18Mar2004182628+0200-eliz@elta.co.il
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: emacs-devel@gnu.org ]
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/
next parent reply other threads:[~2004-03-19 18:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200403170956.i2H9uaPf029906@pcl321.mppmu.mpg.de>
[not found] ` <7704-Wed17Mar2004210116+0200-eliz@elta.co.il>
[not found] ` <Pine.LNX.4.58.0403180936040.3919@pcl321.mppmu.mpg.de>
[not found] ` <2914-Thu18Mar2004182628+0200-eliz@elta.co.il>
2004-03-19 18:47 ` Reiner Steib [this message]
2004-03-19 20:02 ` GROFF_NO_SGR when calling groff Werner LEMBERG
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9vfl0d67w.fsf@marauder.physik.uni-ulm.de \
--to=4.uce.03.r.s@nurfuerspam.de \
--cc=bug-gnu-emacs@gnu.org \
--cc=reiner.steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).