emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Snarf-documentation was working by accident


From: Jan Djärv
Subject: Re: [PATCH] Snarf-documentation was working by accident
Date: Fri, 13 Aug 2010 12:35:13 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2



Daniel Colascione skrev 2010-08-13 11.02:
etc/DOC contains documentation for two kinds of symbol:

1) symbols in C
2) symbols in preloaded lisp

There's a test that makes sure a C file is used in a particular build of
Emacs before including its documentation. This test sets a flag if the
file is unused, and if this flag is set, we don't load any more
documentation until we see another file. Scenario 2 neither set nor
tested this flag, so it just used whatever value the flag happened to
have for the last C file; if the last C file happened to not be included
in this build of Emacs, the documentation for the Lisp file was never
loaded.

The effect was that documentation would mysteriously go missing. This
patch always includes documentation for Lisp files.

(Also, is all this lazy loading complexity really needed? etc/DOC is
only 2.3MB here.)


It is not for the size, it is the fact that some symbols are defined several times, like x-popup-dialog for X, W32 and NS. We don't want the NS help string in an X build.

I fixed the issue in a different way.

Thanks for tracking this down.

        Jan D.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]