GNU bug report logs - #36927
26.2.90; include stdarg.h is without hyperlinking on vfprintf's manpage

Previous Next

Package: emacs;

Reported by: VanL <van <at> scratch.space>

Date: Mon, 5 Aug 2019 01:53:02 UTC

Severity: minor

Tags: fixed

Found in version 26.2.90

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: VanL <van <at> scratch.space>
Cc: 36927 <at> debbugs.gnu.org
Subject: bug#36927: 26.2.90; include stdarg.h is without hyperlinking on vfprintf's manpage
Date: Sat, 10 Aug 2019 10:48:59 +0300
> From: VanL <van <at> scratch.space>
> Date: Sat, 10 Aug 2019 15:05:16 +1000
> Cc: 36927 <at> debbugs.gnu.org
> 
> > The logic in Man-highlight-references0 was flawed: it assumed that a
> > section ("SYNOPSIS", "FILES", "SEE ALSO", etc.) is always received
> > entirely in a single chunk of text that is read from the subprocess,
> > which is, of course, not guaranteed, and depends on factors such as
> > the size of each section, buffering, how busy is the system, etc.
> > (Those reasons also made this a bitch to debug, because a bug comes
> > and goes unpredictably, and never shows when one steps with Edebug.)
> 
> Thanks.
> 
> That sounds really convoluted and this is what I can see

The comments should explain what the code does.  Let me know which
parts are unclear.

> A possible way is to wait for all the subprocess sections to be done and to post-process on the fully collected buffer having lines like

I considered this possibility, but rejected it: since we display the
man page even before the async subprocess exits, it would mean that
the displayed portion is not fontified until the very end, which would
render the entire idea of formatting in the background useless, and
would have use behave on all platforms as we do on MS-DOS.




This bug report was last modified 5 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.