From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#51757: 27.2; [patch] man.el : wait for all man(1) output to be buffered before fontifying Date: Thu, 11 Nov 2021 19:35:14 +0200 Organization: LINKOV.NET Message-ID: <86lf1u8ujx.fsf@mail.linkov.net> References: <87czn7cptw.fsf@gnus.org> <83fss220ml.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18208"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: larsi@gnus.org, Jason Vas Dias , 51757@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 11 18:42:10 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 1mlE5S-0004YJ-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 18:42:10 +0100 Original-Received: from localhost ([::1]:45862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlE5R-0006pe-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Nov 2021 12:42:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlE5L-0006lc-7y for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 12:42:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlE5K-0000mB-Vf for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 12:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlE5K-00053L-T9 for bug-gnu-emacs@gnu.org; Thu, 11 Nov 2021 12:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Nov 2021 17:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51757 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch moreinfo Original-Received: via spool by 51757-submit@debbugs.gnu.org id=B51757.163665246319332 (code B ref 51757); Thu, 11 Nov 2021 17:42:02 +0000 Original-Received: (at 51757) by debbugs.gnu.org; 11 Nov 2021 17:41:03 +0000 Original-Received: from localhost ([127.0.0.1]:42174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlE4M-00051k-Oz for submit@debbugs.gnu.org; Thu, 11 Nov 2021 12:41:02 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:59265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlE4L-000518-J7 for 51757@debbugs.gnu.org; Thu, 11 Nov 2021 12:41:01 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 0693F200009; Thu, 11 Nov 2021 17:40:53 +0000 (UTC) In-Reply-To: <83fss220ml.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Nov 2021 17:05:54 +0200") 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:219662 Archived-At: >> Of course, with the man.el from emacs-28, I get the error: >> 'completing-read: Symbol’s function definition is void: format-prompt' >> under Emacs-27.2 , which is NOT Emacs-28 :-( . >> >> If you can do 'M-x manual-entry bash' in Emacs-28, and >> it never misses a font transition, let me know - I will >> re-examine once Fedora's Emacs 28 comes out. >> >> But I enclose a screenshot of how the bash manpage looks with the >> Emacs 27.2 man.el, with all the remaining text of the man-page >> after the start of the 'PARAMETERS' section in bold, because >> only a partial escape sequence was at the end of the buffer >> and the transition was missed by fontification-on-the-fly . > > I just did that, and I see no problems with the font transitions. Maybe reproducibility depends on the value of 'read-process-output-max'? But I tried to set it to a very small value (100), and still no ANSI sequence was emitted partially between font-lock iterations.