From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Alex Schroeder Newsgroups: gmane.emacs.devel Subject: Re: [lurwas@moya.dnsalias.net: groff version 1.18.1 and emacs] Date: Sat, 07 Dec 2002 17:35:51 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87n0nh3hy0.fsf@emacswiki.org> References: <20021206.231951.98410592.wl@gnu.org> <200212062255.gB6MtK710335@rum.cs.yale.edu> <20021207.165828.63102220.wl@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039279603 7155 80.91.224.249 (7 Dec 2002 16:46:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 7 Dec 2002 16:46:43 +0000 (UTC) Cc: monnier+gnu/emacs@rum.cs.yale.edu Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Ki6D-0001rD-00 for ; Sat, 07 Dec 2002 17:46:41 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18KiFO-0004ta-00 for ; Sat, 07 Dec 2002 17:56:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18KhwO-0003kC-04 for emacs-devel@quimby.gnus.org; Sat, 07 Dec 2002 11:36:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Khw4-0003jg-00 for emacs-devel@gnu.org; Sat, 07 Dec 2002 11:36:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Khw2-0003iv-00 for emacs-devel@gnu.org; Sat, 07 Dec 2002 11:36:12 -0500 Original-Received: from isp247n.hispeed.ch ([62.2.95.247] helo=smtp.hispeed.ch) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Khw0-0003ff-00; Sat, 07 Dec 2002 11:36:08 -0500 Original-Received: from confusibombus (dclient217-162-237-104.hispeed.ch [217.162.237.104])gB7GZp32020129; Sat, 7 Dec 2002 17:35:52 +0100 Original-Received: from alex by confusibombus with local (Exim 3.35 #1 (Debian)) id 18Khvj-00006u-00; Sat, 07 Dec 2002 17:35:51 +0100 Original-To: Werner LEMBERG X-Face: ^BC$`[IcggstLPyen&dqF+b2'zyK#r.mU*'Nms}@&4zw%SJ#5!/7SMVjBS7'lb; QK)|IPU5U'o1'522W4TyzB3Ab*IBo^iw]l4|kUbdZuUDO6=Um-.4IzhNiV'B"@K#jy_(wW|Zbk[34flKY^|PrQ?$u2\fKg^]AY>wOX#H32i In-Reply-To: <20021207.165828.63102220.wl@gnu.org> (Werner LEMBERG's message of "Sat, 07 Dec 2002 16:58:28 +0100 (CET)") Original-Lines: 18 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2.92 (i686-pc-linux-gnu) Original-cc: rms@gnu.org Original-cc: Ted.Harding@nessie.mcc.ac.uk Original-cc: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:9954 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:9954 Werner LEMBERG writes: >> > > Should the `man' program pass `-c' to nroff? >> > >> > I don't think so. Making Emacs understand SGR is much better. >> >> I agree, but I also think that if TERM refers to a terminal that >> does not understand SGR, then man or groff should notice it >> and make sure that SGR codes are not generated. > > groff is as dumb as TeX. It knows nothing about TERM. I won't change > that. Well, it still looks like a bug in groff or man that ought to be fixed upstream. As for teaching Emacs about SGR -- we can use ansi-color.el to do the right thing. At least it works in shell mode... :) Alex.