unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: larsi@gnus.org, Jason Vas Dias <jason.vas.dias@gmail.com>,
	51757@debbugs.gnu.org
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	[thread overview]
Message-ID: <86lf1u8ujx.fsf@mail.linkov.net> (raw)
In-Reply-To: <83fss220ml.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Nov 2021 17:05:54 +0200")

>> 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.





  reply	other threads:[~2021-11-11 17:35 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10 23:45 bug#51757: 27.2; [patch] man.el : wait for all man(1) output to be buffered before fontifying Jason Vas Dias
2021-11-11  3:51 ` Lars Ingebrigtsen
2021-11-11 11:36   ` Jason Vas Dias
2021-11-11 11:51     ` Lars Ingebrigtsen
2021-11-11 12:08     ` Jason Vas Dias
2021-11-11 12:09       ` Lars Ingebrigtsen
2021-11-11 15:05       ` Eli Zaretskii
2021-11-11 17:35         ` Juri Linkov [this message]
     [not found]           ` <CALyZvKxJppsmxTPY7+Gzhc82eYY-a6cCdL25cQ23KbdD=RUU_Q@mail.gmail.com>
2021-11-12 15:50             ` Jason Vas Dias
2021-11-12 15:54               ` Jason Vas Dias
2021-11-13 17:38                 ` Juri Linkov
2021-11-15 23:06 ` Dan Čermák
2021-11-16  3:28   ` Eli Zaretskii
2021-12-23 10:24     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86lf1u8ujx.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=51757@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=jason.vas.dias@gmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).