unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4402: apropos-documentation and platform-specific docs
@ 2009-09-11  7:01 Glenn Morris
  2009-09-11  9:02 ` Eli Zaretskii
  2009-09-11 19:04 ` Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Glenn Morris @ 2009-09-11  7:01 UTC (permalink / raw)
  To: bug-gnu-emacs


On GNU/Linux:
emacs -Q
M-x apropos-documentation nextstep

returns various matches, including things like:

x-create-frame
  Function: Make a new Nextstep window, called a "frame" in Emacs terms.
[...]

The one-line summary is incorrect, since it is the version specific to
the NS build, not the build currently running.

The problem is caused by the DOC file containing three sets of
doc-strings for Fx-create-frame, extracted from w32fns.c, xfns.c, and
nsfns.m.

This made me wonder, why does the DOC file in my GNU/Linux build
contain information extracted from Nextstep and Windows files that is
never going to be relevant? Perhaps it's so that one can in principle
share DOC files between different builds? This doesn't seem like a big
advantage to me. I doubt (m)any people have ever shared the DOC file
between any of these platforms. The size of DOC is a negligible part of
a current Emacs installation.

The standard solution to this kind of thing seems to be that where
functions/variables have multiple, platform-specific definitions, each
should have the same, unified doc-string. This is a bit of a pain.

Only putting the relevant files into the DOC file would eliminate this
issue.






^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-04  3:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-11  7:01 bug#4402: apropos-documentation and platform-specific docs Glenn Morris
2009-09-11  9:02 ` Eli Zaretskii
2009-09-11 18:05   ` Glenn Morris
2009-09-12  8:55     ` Eli Zaretskii
2009-09-12 19:45       ` Stefan Monnier
     [not found]         ` <os1vmatjml.fsf@fencepost.gnu.org>
2009-09-14  1:20           ` Processed: " Emacs bug Tracking System
2017-12-04  3:05           ` Glenn Morris
2009-09-11 19:04 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).