Hrvoje Niksic wrote:
Why exactly does Manual-snip-subchapter default to t? It took me
some
time to find that `M-x man string(3tcl) RET' showing the string(3) man
page was in fact a feature!
The docstring says:
*Should man look in chapter 3 for ctime(3c)?
This is relevant for Solaris and, perhaps, other systems which have
`man -s 3' not find things in chapter 3c, or other such sub-chapters
Obviously, `man -s 3' not finding things in chapter 3c is not the only
problem -- having foo(3c) and foo(3tcl) guarantees that `man -s 3' is
the wrong thing to do. What I really don't understand is how this
feature is ever useful. Why would I ever want Emacs to turn my
explicit foo(3frobozz) into foo(3)?
I would like this to default to f. Am I missing something?
My guess is that this is to allow for manpages with broken
cross-references.
E.g. the cross-references in the X11 manpages refer to section "3X11",
but the pages may actually be in section "3x".
FWIW, the RH6.2 "man" program seems to cope with this (i.e. it has
it's own subchapter-snipping functionality). The "man" program on my
previous (ancient Slackware) system didn't; clicking on the links in
the X11 manpages didn't work if Manual-snip-subchapter was nil.
--
Glynn Clements <glynn.clements(a)virgin.net>