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: VanL <van <at> scratch.space>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 36927 <at> debbugs.gnu.org
Subject: bug#36927: 26.2.90; include stdarg.h is without hyperlinking on vfprintf's manpage
Date: Tue, 6 Aug 2019 17:22:42 +1000
> On 6 Aug 2019, at 13:56, Eli Zaretskii <eliz <at> gnu.org> 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.






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

Previous Next


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