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:54:00 +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="8084"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51757@debbugs.gnu.org To: larsi@gnus.org, Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 12 16:55:18 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 1mlYtZ-0001o7-00 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 16:55:17 +0100 Original-Received: from localhost ([::1]:39320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlYtX-00057m-3q for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Nov 2021 10:55:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39698) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlYtK-00056y-6N for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlYtJ-0004kU-UH for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:55:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlYtJ-0006Li-Tj for bug-gnu-emacs@gnu.org; Fri, 12 Nov 2021 10:55:01 -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:55: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.163673245524330 (code B ref 51757); Fri, 12 Nov 2021 15:55:01 +0000 Original-Received: (at 51757) by debbugs.gnu.org; 12 Nov 2021 15:54:15 +0000 Original-Received: from localhost ([127.0.0.1]:45802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlYsY-0006KL-St for submit@debbugs.gnu.org; Fri, 12 Nov 2021 10:54:15 -0500 Original-Received: from mail-wr1-f45.google.com ([209.85.221.45]:45776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlYsQ-0006Jm-Qd for 51757@debbugs.gnu.org; Fri, 12 Nov 2021 10:54:13 -0500 Original-Received: by mail-wr1-f45.google.com with SMTP id w29so16229517wra.12 for <51757@debbugs.gnu.org>; Fri, 12 Nov 2021 07:54:06 -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 :cc:content-transfer-encoding; bh=GCzXydlRpSBQ5N+6Rjeg75iRKfwOmx1/ViwvQ0jS9U0=; b=clzQkpFHBMyrgPF3WCJ582We6UKZ5tGCYKO/h55P80IsTgrVgFQmoLigt+2FqgGvPy IK6VgdI5QDwAbvREoNMq2n7rz/j5bBN676CtdlCvO5NJfkGAzR0+KrAYVPJfiKy9R7Xi T5JuxE4jF3R6pe9QDrS5Ll09GI+EL+/3T0vM/uUyDf2CnzX5HXmjFeFkvN208ZS7Mbtt bWdHMLSVFVB1osh5d4vSEd0X3dx658PApxRYtcmdjp+xkEwPzz+V/he6NdnAERHMdMqy 6E6ADTs//17vU6c3jEzNfvgw3R4mLQdH/8G8Aw0QlN/RpKarbIxeCFdrvnY018T4xrWq YQQg== 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:cc:content-transfer-encoding; bh=GCzXydlRpSBQ5N+6Rjeg75iRKfwOmx1/ViwvQ0jS9U0=; b=nMDQ3h0NCi3eH2rI94DvCTzHi63Rq237+hIyStDL3DijFyX7j0K1IX7fTR/I2phQi3 7b/81ZMKPmll3NaMPw9S3w/qOHABu5OE/G2hNeTZRv52H2FtvpvPfrMZkT08PAswC8lN kqjIxmBt4Bt+QEhmOEXl6fHuM/+J3yePSouRNe5+3f0acwoyqGuFV7HtAxmr2ygqc4mq YkOv7R39hiisHHhfGje4eweO2e1fYJldYY5oT8y20tUn7vA0gCeHbRxew7bYjzezSvqV 7Bw4zggU4u+EOoF6rAToqv9LahsJV9hxLQJq3YsDZ7BHb2yYGDZSf8WL++qmNoeZ6nrp 5RTg== X-Gm-Message-State: AOAM5315kFVvLwtzNxlXYiD2mDCcK4Z4WCmOJezQFIIyIBPK0VDphPMq lJ3BUlh4A8grkViBJj3G9vA6o1P1Y7K2ptwrbSU= X-Google-Smtp-Source: ABdhPJzZZKBVeAMhoWBangDaGkjhVbJnEvVO2vrfRsYCm2X7cMTMMK1t5+nmjQu/zrz4kdaQ4BlVQzn0fyuI6w7spNw= X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr19606096wri.308.1636732441236; Fri, 12 Nov 2021 07:54:01 -0800 (PST) Original-Received: by 2002:a05:6000:1788:0:0:0:0 with HTTP; Fri, 12 Nov 2021 07:54:00 -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:219780 Archived-At: Oops, I meant: $ rpm -q emacs man-db groff-base emacs-27.2-5.fc34.x86_64 man-db-2.9.3-3.fc34.x86_64 groff-base-1.22.4-7.fc34.x86_64 unless you are running these versions, with the Red Hat patches, you may not see this bug. On 12/11/2021, Jason Vas Dias wrote: > ---------- 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: >>>> 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. >> >