all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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/

  reply	other threads:[~2004-03-19 18:47 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-17  9:56 Menu: Help -> Manuals -> Read Man Page... problem Peter Breitenlohner
2004-03-17 19:01 ` Eli Zaretskii
2004-03-18  8:52   ` Peter Breitenlohner
2004-03-18 15:37     ` Reiner Steib
2004-03-18 16:04       ` Peter Breitenlohner
2004-03-18 16:26     ` Eli Zaretskii
2004-03-19 18:47       ` Reiner Steib [this message]
2004-03-19 20:02         ` GROFF_NO_SGR when calling groff Werner LEMBERG
2004-03-24 11:15     ` Menu: Help -> Manuals -> Read Man Page... problem Peter Breitenlohner
2004-03-25  7:06       ` 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

* 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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.