From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <835zn5a2ac.fsf@gnu.org> References: <83imrbd24r.fsf@gnu.org> <83ftmaa1av.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="37950"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36927@debbugs.gnu.org To: VanL Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 10 09:50:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hwM8l-0009h6-UE for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Aug 2019 09:50:16 +0200 Original-Received: from localhost ([::1]:35292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwM8k-0001uT-B5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Aug 2019 03:50:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53385) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwM8Z-0001uL-I7 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 03:50:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwM8Y-00053q-1h for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 03:50:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34586) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwM8X-00053l-V9 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 03:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hwM8X-0003y8-R9 for bug-gnu-emacs@gnu.org; Sat, 10 Aug 2019 03:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Aug 2019 07:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36927 X-GNU-PR-Package: emacs Original-Received: via spool by 36927-submit@debbugs.gnu.org id=B36927.156542335515197 (code B ref 36927); Sat, 10 Aug 2019 07:50:01 +0000 Original-Received: (at 36927) by debbugs.gnu.org; 10 Aug 2019 07:49:15 +0000 Original-Received: from localhost ([127.0.0.1]:43407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwM7m-0003x3-SR for submit@debbugs.gnu.org; Sat, 10 Aug 2019 03:49:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwM7i-0003wn-7b for 36927@debbugs.gnu.org; Sat, 10 Aug 2019 03:49:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50444) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hwM7c-0004kA-AW; Sat, 10 Aug 2019 03:49:04 -0400 Original-Received: from [176.228.60.248] (port=1869 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hwM7b-0000kY-JM; Sat, 10 Aug 2019 03:49:04 -0400 In-reply-to: (message from VanL on Sat, 10 Aug 2019 15:05:16 +1000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164821 Archived-At: > From: VanL > Date: Sat, 10 Aug 2019 15:05:16 +1000 > Cc: 36927@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.