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: Fri, 09 Aug 2019 16:58:00 +0300 Message-ID: <83ftmaa1av.fsf@gnu.org> References: <83imrbd24r.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="36752"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36927@debbugs.gnu.org To: van@scratch.space Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 09 15:59:11 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 1hw5QC-0009QL-WB for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 15:59:09 +0200 Original-Received: from localhost ([::1]:59590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw5QB-0004xw-HL for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 09:59:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35555) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hw5Q6-0004xp-SN for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 09:59:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hw5Q5-0005X0-TU for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 09:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hw5Q5-0005Ww-QO for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 09:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hw5Q5-0001iB-KS for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 09:59: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: Fri, 09 Aug 2019 13:59: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.15653590986530 (code B ref 36927); Fri, 09 Aug 2019 13:59:01 +0000 Original-Received: (at 36927) by debbugs.gnu.org; 9 Aug 2019 13:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:43079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw5PN-0001hG-UC for submit@debbugs.gnu.org; Fri, 09 Aug 2019 09:58:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hw5PL-0001h3-VK for 36927@debbugs.gnu.org; Fri, 09 Aug 2019 09:58:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hw5PF-0004xJ-Fi; Fri, 09 Aug 2019 09:58:09 -0400 Original-Received: from [176.228.60.248] (port=4224 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hw5PE-00046E-1J; Fri, 09 Aug 2019 09:58:09 -0400 In-reply-to: <83imrbd24r.fsf@gnu.org> (message from Eli Zaretskii on Mon, 05 Aug 2019 19:10:28 +0300) 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:164804 Archived-At: > Date: Mon, 05 Aug 2019 19:10:28 +0300 > From: Eli Zaretskii > Cc: 36927@debbugs.gnu.org > > > From: VanL > > Date: Mon, 5 Aug 2019 11:51:56 +1000 > > > > See manpage for vfprintf(). > > > > Unlike the first instance of the #include preprocessing directive > > > > #include > > > > at approximately line 12 of printf(3), which is underlined and > > hyperlinked, the second instance at approximately line 32, is not > > underlined and not hyperlinked. > > > > 1. M-x man RET vfprintf > > 2. on line 32 see #include which is without hyperlinking > > For some reason, we don't put a button on the second #include. 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.) I think I made it much better on master, although I still see a rare case where one or the other "include" is not buttonized. But I've run out of time, so someone else will have to find and fix what I missed. I'm leaving this bug open because I don't think it's 100% fixed.