From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#11565: delayed init variables don't get documentation properties Date: Sat, 26 May 2012 18:29:54 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1338071463 14613 80.91.229.3 (26 May 2012 22:31:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 May 2012 22:31:03 +0000 (UTC) To: 11565@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 27 00:31:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SYPVj-0001Bo-QR for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 May 2012 00:30:59 +0200 Original-Received: from localhost ([::1]:60977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYPVj-000240-HK for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 May 2012 18:30:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYPVf-00023k-QV for bug-gnu-emacs@gnu.org; Sat, 26 May 2012 18:30:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SYPVd-0006PS-V6 for bug-gnu-emacs@gnu.org; Sat, 26 May 2012 18:30:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SYPVd-0006PO-Rm for bug-gnu-emacs@gnu.org; Sat, 26 May 2012 18:30:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SYPWj-0000fQ-Q2 for bug-gnu-emacs@gnu.org; Sat, 26 May 2012 18:32:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 May 2012 22:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11565 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13380714672496 (code B ref -1); Sat, 26 May 2012 22:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2012 22:31:07 +0000 Original-Received: from localhost ([127.0.0.1]:44545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYPVq-0000eD-MA for submit@debbugs.gnu.org; Sat, 26 May 2012 18:31:07 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:43173 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SYPVn-0000e5-O0 for submit@debbugs.gnu.org; Sat, 26 May 2012 18:31:05 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1SYPUg-0003yF-DJ; Sat, 26 May 2012 18:29:54 -0400 X-Spook: subversive clandestine JPL White House KGB EuroFed X-Ran: ^GXH!Ig*:i6Ccz>l}YD8h?NDM4C?vKE3Mzm8t'!.W1x#i&fR%'`HuzyCJN#4}zQx{H>5@+ X-Hue: red X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:60378 Archived-At: 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 ...?