From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Colin Watson Newsgroups: gmane.emacs.bugs Subject: bug#5566: 23.1.92; man page header ugly on narrow terminals Date: Fri, 12 Feb 2010 11:23:54 +0000 Message-ID: <20100212112353.GT4484@riva.ucam.org> References: <87tytn621v.fsf@jidanni.org> <20100211222648.GJ13019@belanna.comodo.priv.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265997299 17158 80.91.229.12 (12 Feb 2010 17:54:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 17:54:59 +0000 (UTC) Cc: 5566@debbugs.gnu.org, libwww-facebook-api-perl@packages.debian.org, jidanni@jidanni.org To: gregor herrmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 12 18:54:56 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NfzjD-0007uf-Vk for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Feb 2010 18:54:56 +0100 Original-Received: from localhost ([127.0.0.1]:38496 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfzjD-0006Ef-Ii for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Feb 2010 12:54:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfvTb-0006SO-MK for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2010 08:22:31 -0500 Original-Received: from [140.186.70.92] (port=41606 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfvTb-0006Rm-1A for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2010 08:22:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NfvTa-0006VN-22 for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2010 08:22:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56993) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfvTZ-0006VG-Uj for bug-gnu-emacs@gnu.org; Fri, 12 Feb 2010 08:22:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NfvBi-0006km-0s; Fri, 12 Feb 2010 08:04:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Colin Watson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Feb 2010 13:04:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5566 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5566-submit@debbugs.gnu.org id=B5566.126597982425947 (code B ref 5566); Fri, 12 Feb 2010 13:04:01 +0000 Original-Received: (at 5566) by debbugs.gnu.org; 12 Feb 2010 13:03:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfvBO-0006kQ-LV for submit@debbugs.gnu.org; Fri, 12 Feb 2010 08:03:43 -0500 Original-Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Nftcx-0004xS-4U for 5566@debbugs.gnu.org; Fri, 12 Feb 2010 06:24:03 -0500 Original-Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Nftco-0001gq-Qx; Fri, 12 Feb 2010 11:23:55 +0000 Original-Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) id 1Nftco-0002kR-00; Fri, 12 Feb 2010 11:23:54 +0000 Content-Disposition: inline In-Reply-To: <20100211222648.GJ13019@belanna.comodo.priv.at> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-Mailman-Approved-At: Fri, 12 Feb 2010 08:03:41 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 12 Feb 2010 08:04:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Fri, 12 Feb 2010 12:53:49 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35065 Archived-At: On Thu, Feb 11, 2010 at 11:26:48PM +0100, gregor herrmann wrote: > On Fri, 12 Feb 2010 02:49:00 +0800, jidanni@jidanni.org wrote: > > Here is a complicated bug that involves several packages, and produces > > "WWW::Facebook::API::^HUI^Hsn^Het^Hr..." (^H's visible too) > > on one's emacs screen. > > Looks indeed ugly, but I fail to see what the > libwww-facebook-api-perl package could do about it?! Likewise, I agree that it's ugly, but I'm not convinced that man-db (or groff, which is what's really responsible here) can do anything about it. If the header line just plain doesn't fit, it doesn't fit. No doubt it would be possible to fix this by extending the .TH macro to be able to declare some kind of fallback for use when the page width is too short for the normal display, but, aside from the fact that I have no idea where to start (this would be a groff upstream kind of thing), I'm not sure that the substantial effort involved is worth it. I'm sure it doesn't actually cause any significant confusion. Regarding emacs' odd ^H display, which I think is the meat of Dan's bug report, this would appear to be essentially a bug in emacs. grotty is rendering the just-won't-fit text by way of backspacing over the first part of the header and overstriking the middle part; it's within its rights to do that. I assume that whatever (lack of) terminal emulation is used by M-x man isn't smart enough to handle this; perhaps it special-cases the overstriking used for bold and underlining, and can't cope with overstriking one character over a completely different character? -- Colin Watson [cjwatson@debian.org]