From: Glenn Morris <rgm@gnu.org>
To: 11565@debbugs.gnu.org
Subject: bug#11565: delayed init variables don't get documentation properties
Date: Sat, 26 May 2012 18:29:54 -0400 [thread overview]
Message-ID: <arvcjih8yl.fsf@fencepost.gnu.org> (raw)
Package: emacs
Version: 24.1.50
Current trunk:
emacs -Q
C-h v Info-default-directory-list
-> Not documented as a variable.
The doc string is in the DOC file though.
I think this is because:
1) it's a preloaded defcustom using custom-initialize-delay
2) custom-initialize-delay keeps variables unbound until they are
initialized. There's a comment about this in the source: "This seemed to
be at least as good as setting it to an arbitrary value like nil".
3) Snarf-documentation (semi-recently; bug#11036) ignores unbound
variables, on the assumption that they are for other platforms (eg
w32-specific).
I guess either we undo 3), or change 2) so that it sets the variable to
nil. The latter seems ok to me ...?
next reply other threads:[~2012-05-26 22:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-26 22:29 Glenn Morris [this message]
2012-05-27 13:00 ` bug#11565: delayed init variables don't get documentation properties Stefan Monnier
2012-05-28 19:53 ` Glenn Morris
2012-05-28 19:56 ` Glenn Morris
2012-05-28 20:27 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=arvcjih8yl.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=11565@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.