From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jason Vas Dias Newsgroups: gmane.emacs.bugs Subject: bug#51757: 27.2; [patch] man.el : wait for all man(1) output to be buffered before fontifying Date: Fri, 12 Nov 2021 15:50:48 +0000 Message-ID: References: <87czn7cptw.fsf@gnus.org> <83fss220ml.fsf@gnu.org> <86lf1u8ujx.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24858"; mail-complaints-to="usenet@ciao.gmane.io" To: larsi@gnus.org, 51757@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 16:51:12 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 1mlYpb-0006Az-HS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 16:51:11 +0100 Original-Received: from localhost ([::1]:38458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlYpa-0004JK-8g for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 10:51:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlYpS-0004Iv-Cq for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:51:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34245) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlYpS-0004NJ-4r for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlYpS-0006FB-1R for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jason Vas Dias Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Nov 2021 15:51:01 +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.163673226023993 (code B ref 51757); Fri, 12 Nov 2021 15:51:01 +0000 Original-Received: (at 51757) by debbugs.gnu.org; 12 Nov 2021 15:51:00 +0000 Original-Received: from localhost ([127.0.0.1]:45791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlYpQ-0006Ev-2D for submit@debbugs.gnu.org; Fri, 12 Nov 2021 10:51:00 -0500 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:35361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlYpL-0006Ed-C4 for 51757@debbugs.gnu.org; Fri, 12 Nov 2021 10:50:58 -0500 Original-Received: by mail-wr1-f52.google.com with SMTP id i5so16316101wrb.2 for <51757@debbugs.gnu.org>; Fri, 12 Nov 2021 07:50:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=GhuIzjyclfbBojUI0K452b4Oe9u2/ZolIwYbkiygvNc=; b=WnRmw//DiwNdIUgcbWm82ZjlQTPVaCwyXnqm5r4j+aB5JUU1E3doi6bXXywM1K3/oj o0EBUO/Mqr77jPR5BzUQPyKCzdh/dMIE3U/36qxLPJLDC55PiAvpWxFeP6PFJbIEQBxI lMNuoxXlnRBV/243l80K2JQtI6NhbEBykmmkIlFuX00SmoAd93W89TUQ2wScmELTYpow W3vUEL6apY9YMKZH9bl1FRL8uXkEVQq4+5RkVj+T1tcwnNOZViLm2CIktxxWisqhMX1c Ow7OWUaXnKDcY5cS7kUqAUGi+mMkUPfGxvTSDGZeJdciE/svh78AkN2eGFvET9qsDibo rdjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=GhuIzjyclfbBojUI0K452b4Oe9u2/ZolIwYbkiygvNc=; b=2Jt9ln+4fz3IBH6JxFHc4QJmU/YsjmfKS8X+A2AmsVt1oS6XO8bhIfL7akL1Lf8yVf 1IB00LIFPEIGq930rSlnurYntjdxoTXKbisUD/cfWnHO2jGsIWptkpwLbo0q8GTr9K67 yWruBFt3bzEujNe6LGiqVfoJY3NgtJqvejn/AqMoXOr4y02+jVsCC3XF3Q8Z0mqgYZNi EyPGWq/ofPZINgKltKqS43ZnsxyPG05AbNE4MJspd6XZqIb2SwJc1zwc+xRQFotrA2IW /lebfzwllUTDj+oJhQKQ5wgyozmIKa3N/Y+z9iJB2k7qJub2sLIxCOVr31gq1G1wdNQp 8RvQ== X-Gm-Message-State: AOAM5331Qwn4XjTYQ9RDCWkWJlG08I1U2wXnqYaadMAwUFagXwAlhMjM ajGZM2HlL6Kcfr6gTkSsqDiGjevaReaGqngxsug= X-Google-Smtp-Source: ABdhPJz9O7b/Dwja8ztlUswL3HjjmwdZPFSS9XhL4oWf2sFE7vG9RQOENm/AEsdIszkAfcM9FIoalxJNOlyyu7I8ric= X-Received: by 2002:a05:6000:1862:: with SMTP id d2mr19723566wri.203.1636732249367; Fri, 12 Nov 2021 07:50:49 -0800 (PST) Original-Received: by 2002:a05:6000:1788:0:0:0:0 with HTTP; Fri, 12 Nov 2021 07:50:48 -0800 (PST) In-Reply-To: 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:219779 Archived-At: ---------- Forwarded message ---------- From: Jason Vas Dias Date: Fri, 12 Nov 2021 15:49:20 +0000 Subject: Re: bug#51757: 27.2; [patch] man.el : wait for all man(1) output to be buffered before fontifying To: Juri Linkov What version of Emacs / man / groff are you running ? Mine are: $ rpm -q emacs man groff-base emacs-27.2-5.fc34.x86_64 package man is not installed groff-base-1.22.4-7.fc34.x86_64 Are you using the Red Hat patches to Emacs ? If not, it may be an RH patch related thing. It happens 100% every time loading the bash manpage for me, at the same places in the file. Thanks & Best Regards, Jason On 11/11/2021, Juri Linkov wrote: >>> Of course, with the man.el from emacs-28, I get the error: >>> 'completing-read: Symbol=E2=80=99s function definition is void: forma= t-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. >