From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#46804: 27.1; Man page for git-config(1) is partly displayed in overstriked font Date: Sat, 27 Feb 2021 05:50:40 +0100 Message-ID: <87h7lyjeqn.fsf@gnus.org> References: <87lfbao4y7.fsf@passepartout.tim-landscheidt.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36408"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46804@debbugs.gnu.org To: Tim Landscheidt Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 27 05:51:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFrZP-0009Mj-A6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Feb 2021 05:51:11 +0100 Original-Received: from localhost ([::1]:36884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lFrZN-0000gS-VU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Feb 2021 23:51:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lFrZG-0000g8-Gz for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2021 23:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59706) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lFrZG-0005HC-8d for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2021 23:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lFrZG-0006Yd-68 for bug-gnu-emacs@gnu.org; Fri, 26 Feb 2021 23:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Feb 2021 04:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46804 X-GNU-PR-Package: emacs Original-Received: via spool by 46804-submit@debbugs.gnu.org id=B46804.161440145225172 (code B ref 46804); Sat, 27 Feb 2021 04:51:02 +0000 Original-Received: (at 46804) by debbugs.gnu.org; 27 Feb 2021 04:50:52 +0000 Original-Received: from localhost ([127.0.0.1]:43016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFrZ6-0006Xw-8E for submit@debbugs.gnu.org; Fri, 26 Feb 2021 23:50:52 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:43616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lFrZ4-0006Xi-K1 for 46804@debbugs.gnu.org; Fri, 26 Feb 2021 23:50:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8yYCpXht4MsB2tF/LGj5RGAPlxsQkjpN0Abf3KdLO/s=; b=WThsnUscR018jJ/ECaeh8NNoCQ HSHYx/jCdv0nog3GKOSjVVZcSUBeKyMSjJFDKr2iDuABnsm6LyPbTVEhWksMPcqkq9Frm8dtA9zsn 59DfG8ustqcveJXLQri3WtrlAcTKt9nxSI5aF1zXHE6i1vkYITOm+u5bADLj7mENw8t8=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lFrYv-00023i-RS; Sat, 27 Feb 2021 05:50:44 +0100 X-Now-Playing: Tuxedomoon's _Live in London (1982)_: "Everything You Want" In-Reply-To: <87lfbao4y7.fsf@passepartout.tim-landscheidt.de> (Tim Landscheidt's message of "Fri, 26 Feb 2021 22:10:56 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:200911 Archived-At: Tim Landscheidt writes: > Severity: minor > > On (my) Fedora 32: > > | emacs -Q --eval '(man "1 git-config")' > > causes the part of the man page for git-config(1) from the > section title "CONFIGURATION FILE" to the word "prereceive" > in the entry for "receive.certNonceSlop" to be displayed in > overstriked font. I'm unable to reproduce this on Debian/bullseye -- the manual here doesn't have the word "prereceive" in it, apparently... > I understand that it is, eh, non-trivial to fix this asyn- > chronous chunked fontification, especially for minor cosme- > tical gain. But perhaps it would be possible to append each > received chunk to another, "back" buffer, then, when the > process has ended and there was more than one chunk, fontify > that buffer and copy its contents to the "front" buffer, and > in both cases delete the "back" buffer. (There might be a > more "correct" approach to replace the destructive > backward-delete-char calls & Co. with marking some text as > invisible, so the original input is not lost, but I'm more > interested in the output :-).) I'm not very familiar with man.el fontification, but it uses ansi-color for fontification. And that got the following change in Emacs 28: commit 2e2a8e5491bc6259a9ebe8c703c1c501307953e2 Author: Jim Blandy AuthorDate: Tue Oct 20 13:09:16 2020 +0200 Man highlighting: Don't occasionally bold entire sections. * lisp/ansi-color.el (ansi-color-apply-on-region): Always save a restart position in ansi-color-context-region if the region ends with highlighting active. So it's possible what you're seeing has been fixed in Emacs 28. Would it be possible for you to build the development version of Emacs and see whether the problem is still present there? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no