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#12467: 24.1; customization initialization confusing Date: Tue, 18 Sep 2012 14:11:52 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1347991968 18532 80.91.229.3 (18 Sep 2012 18:12:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2012 18:12:48 +0000 (UTC) Cc: 12467@debbugs.gnu.org To: Robert Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 18 20:12:50 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 1TE2Hx-0002Hn-D6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2012 20:12:49 +0200 Original-Received: from localhost ([::1]:41514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE2Ht-0000vF-1q for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2012 14:12:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE2Hq-0000v7-Lo for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 14:12:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TE2Hp-0005Di-LA for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 14:12:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TE2Hp-0005Da-HD for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 14:12:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TE2J8-000399-7g for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 14:14:02 -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: Tue, 18 Sep 2012 18:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12467 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12467-submit@debbugs.gnu.org id=B12467.134799199811952 (code B ref 12467); Tue, 18 Sep 2012 18:14:02 +0000 Original-Received: (at 12467) by debbugs.gnu.org; 18 Sep 2012 18:13:18 +0000 Original-Received: from localhost ([127.0.0.1]:42154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TE2IP-00036j-LB for submit@debbugs.gnu.org; Tue, 18 Sep 2012 14:13:17 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:37262) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TE2IM-00036T-Db for 12467@debbugs.gnu.org; Tue, 18 Sep 2012 14:13:16 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TE2H2-0008Ln-7i; Tue, 18 Sep 2012 14:11:52 -0400 X-Spook: security Manfurov PLO UOP Israel infowar UNSCOM terrorist X-Ran: (&MK%7B.~9hViQG6BKQp_0+ X-Hue: green X-Attribution: GM In-Reply-To: (Robert Horn's message of "Tue, 18 Sep 2012 12:37:01 -0400") 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:64569 Archived-At: Robert Horn wrote: > I found a confusing behaviour for customization. To trigger the > behavior, assign a value of "t" to org-habit-show-all-today. What I > found is: > > - If you start emacs and immediately go into *shell* and print org-habit-show-today-all you get an error because that variable has not yet been bound. Customization only applies settings when relevant. Otherwise it would have to unconditionally load at startup every package in which you have customized an option. Use plain-old setq if you need different behaviour. > - If you start emacs and immediately go into options->config for > org-habit, the org-habit-show-today-all will indicate that it has > been set outside of the customization system when the customized > value is "t". When the customized value is "nil" there is no > indicated problem. Sounds like a bug. However, there is no "org-habit-show-today-all" variable in the Emacs trunk so I cannot test this. I cannot reproduce this when customizing eg org-export-html-table-use-header-tags-for-first-column. > But a naive user would expect that starting the customization process > for the group would also cause processing of the startup > customization. I don't really know what this means.