all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
Cc: Ted.Harding@nessie.mcc.ac.uk, emacs-devel@gnu.org
Subject: Re: [lurwas@moya.dnsalias.net: groff version 1.18.1 and emacs]
Date: Fri, 06 Dec 2002 23:26:27 +0100 (CET)	[thread overview]
Message-ID: <20021206.232627.48820000.wl@gnu.org> (raw)
In-Reply-To: <E18KIZV-00076g-00@fencepost.gnu.org>


>     The easiest way currently is to use `setenv' and set the
>     environment variable GROFF_NO_SGR to 1 (within Emacs) in case
>     the man program hasn't been configured already to not use SGR.
> 
> Can you write the code to do this?

It should be straightforward to add

  (setenv "GROFF_NO_SGR" "1")

somewhere in man.el.  I don't know the right location...

> Is the problem really that the man programs are misconfigured?

Yes and no :-) I decided to make SGR the default output format of
groff's TTY output device starting with groff version 1.18 about six
months ago.  Not all tools understand SGR yet, so it will take some
time until everything has been updated.  Setting this environment
variable will always work regardless of the used version of man or
groff, so I think this is the easiest workaround within Emacs.


    Werner

  reply	other threads:[~2002-12-06 22:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E18JXMq-0003vX-00@fencepost.gnu.org>
2002-12-04 12:55 ` [lurwas@moya.dnsalias.net: groff version 1.18.1 and emacs] Werner LEMBERG
2002-12-04 20:20   ` Stefan Monnier
2002-12-05  9:47     ` Werner LEMBERG
2002-12-06 13:32       ` Richard Stallman
2002-12-06 22:19         ` Werner LEMBERG
2002-12-06 22:55           ` Stefan Monnier
2002-12-07 15:58             ` Werner LEMBERG
2002-12-07 16:35               ` Alex Schroeder
2002-12-09 16:12               ` Stefan Monnier
     [not found]           ` <E18LCzH-0004Jz-00@fencepost.gnu.org>
2002-12-09  7:17             ` Werner LEMBERG
2002-12-09 19:16               ` Eli Zaretskii
2002-12-10 20:57                 ` Werner LEMBERG
2002-12-06 13:31   ` Richard Stallman
2002-12-06 22:26     ` Werner LEMBERG [this message]
2002-12-07  0:13       ` Alan Shutko
2002-12-07 18:59       ` Eli Zaretskii

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=20021206.232627.48820000.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=Ted.Harding@nessie.mcc.ac.uk \
    --cc=emacs-devel@gnu.org \
    /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.