Subject: bug#36927: 26.2.90; include stdarg.h is without hyperlinking on vfprintf's manpage

From: VanL <[email-masked]>
Date: Tue, 6 Aug 2019 17:22:42 +1000

> On 6 Aug 2019, at 13:56, Eli Zaretskii <[email-masked]> wrote:
> 
>>> For some reason, we don't put a button on the second #include.
>> 
>> The buttoning needs to be more aggressive.
> 
> You mean, like making every word a button?

In this case, I mean the lines containing the 'include' preprocessing directive for C.

Where you make every word a button, possibly, leads to an inverted tree index for search engines to digest, perhaps 'C-h a' short for '(ask-emacs-anything)' is then possible. 

>> Three variants of bsd platform reproduces this like GNU/Linux.
> 
> All Posix platforms use the same script to massage the 'man' output, so this is hardly surprising.

The script to massage by 'M-x woman RET vfprintf' produces pure, unadulterated formatting in text-mode.

line 11: .In stdio.h
line 24: .In stdarg.h

> Do you actually see what causes the failure to put a button on the second include?

There's that below but lisp/button.el.gz doesn't have any Man variable I can see.

2 matches for "Man-include-regexp" in buffer: man.el.gz
    338:(defvar Man-include-regexp "#[ \t]*include[ \t]*"
    348:  (concat "\\(" Man-include-regexp "\\)"

14 matches in 12 lines for "include" in buffer: man.el.gz
    231:        (base '("/usr/include" "/usr/local/include")))
    234:      (append base (list (expand-file-name arch "/usr/include")))))
    338:(defvar Man-include-regexp "#[ \t]*include[ \t]*"
    339:  "Regular expression describing the #include (directive of cpp).")
    342:  "Regular expression describing <> in #include line (directive of cpp).")
    348:  (concat "\\(" Man-include-regexp "\\)"
    358:;; This includes the section as an optional part to catch hyphenated
    794:          ;; doesn't include a hyphen, we consider the hyphen to be
    799:	;; Make sure the section number gets included by the code below.
    812:	      ;; include the section number in the returned value.
   1265:References include items in the SEE ALSO section,
   1266:header file (#include <foo.h>), and files in FILES.