From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9712: 24.0.50; doc about byte-compiling `defcustom' Date: Mon, 10 Oct 2011 22:17:29 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318299477 19537 80.91.229.12 (11 Oct 2011 02:17:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 02:17:57 +0000 (UTC) Cc: 9712@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 04:17:53 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RDRuj-0000Vp-Cr for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 04:17:53 +0200 Original-Received: from localhost ([::1]:40674 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDRui-0002QL-Mk for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2011 22:17:52 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDRuf-0002Q0-4P for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 22:17:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDRue-0006mF-4B for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 22:17:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDRue-0006mA-20 for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 22:17:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDRus-0005JW-11 for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 22:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Oct 2011 02:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9712 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9712-submit@debbugs.gnu.org id=B9712.131829947220406 (code B ref 9712); Tue, 11 Oct 2011 02:18:01 +0000 Original-Received: (at 9712) by debbugs.gnu.org; 11 Oct 2011 02:17:52 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDRuh-0005J3-7B for submit@debbugs.gnu.org; Mon, 10 Oct 2011 22:17:51 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDRuf-0005Ip-Tt; Mon, 10 Oct 2011 22:17:50 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAOylk05FxJoX/2dsb2JhbABDqBqBBoFTAQEEAVYjBQsLNBIUGA0kiBG6BYdMBKEdhEU X-IronPort-AV: E=Sophos;i="4.68,520,1312171200"; d="scan'208";a="141054934" Original-Received: from 69-196-154-23.dsl.teksavvy.com (HELO ceviche.home) ([69.196.154.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 10 Oct 2011 22:17:29 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 490C5660B6; Mon, 10 Oct 2011 22:17:29 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Sun, 9 Oct 2011 13:42:47 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 Oct 2011 22:18:02 -0400 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:52492 Archived-At: retitle 9712 defcustom's initial value expression is not byte-compiled thanks > This is what the byte-compiled file shows: > #@14 jjjjjjjjjjjj > (custom-declare-variable 'titi '(eval-when-compile > `(,(kbd "S-"))) '(#$ . 509) :type '(repeat sexp) :group 'edit) > #@12 kkkkkkkkkk > (defvar toto '([S-tab]) (#$ . 647)) > Here's the bug (a doc bug), as I see it: Where in the doc is this > behavior described? Where does it say that the STANDARD arg to > defcustom is not evaluated by the byte compiler, even when you use > `eval-when-compile'? The bug is not in the doc but in the behavior. Stefan