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: Tue, 11 Oct 2011 01:09:37 -0400 Message-ID: References: <7D2DB4482840400D81CC74F60D0091DC@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318309856 8061 80.91.229.12 (11 Oct 2011 05:10:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 05:10:56 +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 07:10:52 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 1RDUc8-0004zq-Cz for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 07:10:52 +0200 Original-Received: from localhost ([::1]:41215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDUc7-0007vW-Gb for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 01:10:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDUc4-0007vN-JM for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 01:10:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDUc3-0007nK-R4 for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 01:10:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDUc3-0007nA-O2 for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 01:10:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDUcI-0002Ja-FL for bug-gnu-emacs@gnu.org; Tue, 11 Oct 2011 01:11: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 05:11:02 +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.13183098028827 (code B ref 9712); Tue, 11 Oct 2011 05:11:02 +0000 Original-Received: (at 9712) by debbugs.gnu.org; 11 Oct 2011 05:10:02 +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 1RDUbJ-0002I9-MJ for submit@debbugs.gnu.org; Tue, 11 Oct 2011 01:10:02 -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 1RDUbG-0002Hg-N2 for 9712@debbugs.gnu.org; Tue, 11 Oct 2011 01:09:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EALPOk05FxJoX/2dsb2JhbABDqBqBBoFTAQEEAVYjBQsLNBIUGA0kiBG5JYdMBKEdhEU X-IronPort-AV: E=Sophos;i="4.68,521,1312171200"; d="scan'208";a="141094977" 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; 11 Oct 2011 01:09:38 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id D1758660B6; Tue, 11 Oct 2011 01:09:37 -0400 (EDT) In-Reply-To: <7D2DB4482840400D81CC74F60D0091DC@us.oracle.com> (Drew Adams's message of "Mon, 10 Oct 2011 21:51:00 -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: Tue, 11 Oct 2011 01:11: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:52503 Archived-At: >> The bug is not in the doc but in the behavior. > That was my feeling, as well. But I did not expect agreement, based on the > commented code. > The bug has been there for multiple major Emacs releases now - > a decade or so, and appears to have been introduced intentionally. > If there is no plan to fix it soon, perhaps the info that is in the > comments should at least be conveyed to users. The introduction of lexical-binding makes this issue more serious because this code does not obey the lexical-binding variable (and escapes the sanity checks of cconv.el, hence occasionally hiding problems when converting to lexical-binding). > Alternatively, the code could be uncommented and byte-compiling be let free to > do what is advertised that it does. The downside would be showing users the > constant values in Customize, but that seems like less of a disfunction than > what we have now. We need to solve the display issue some other way, yes. Stefan