From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: byte compiling defcustom Date: Sat, 17 Nov 2007 22:13:21 -0600 (CST) Message-ID: <200711180413.lAI4DLF8025958@jane.dms.auburn.edu> References: <200711171647.lAHGlHqH024027@jane.dms.auburn.edu> <200711172032.lAHKWhgx025030@jane.dms.auburn.edu> <200711172041.lAHKf2SG025058@jane.dms.auburn.edu> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1195359338 17907 80.91.229.12 (18 Nov 2007 04:15:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2007 04:15:38 +0000 (UTC) Cc: dann@ics.uci.edu, monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org To: teirllm@dms.auburn.edu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 18 05:15:42 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ItbZO-0008Ei-10 for ged-emacs-devel@m.gmane.org; Sun, 18 Nov 2007 05:15:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItbZA-0001qW-OP for ged-emacs-devel@m.gmane.org; Sat, 17 Nov 2007 23:15:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ItbZ0-0001gG-6c for emacs-devel@gnu.org; Sat, 17 Nov 2007 23:15:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ItbYy-0001do-GR for emacs-devel@gnu.org; Sat, 17 Nov 2007 23:15:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ItbYy-0001dV-5L for emacs-devel@gnu.org; Sat, 17 Nov 2007 23:15:16 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1ItbYu-0007Ms-5B; Sat, 17 Nov 2007 23:15:12 -0500 Original-Received: from jane.dms.auburn.edu (jane.dms.auburn.edu [131.204.53.201]) by manatee.dms.auburn.edu (8.13.7+Sun/8.13.7) with ESMTP id lAI4FAHX017973; Sat, 17 Nov 2007 22:15:10 -0600 (CST) Original-Received: from jane.dms.auburn.edu (localhost [127.0.0.1]) by jane.dms.auburn.edu (8.13.4+Sun/8.13.4) with ESMTP id lAI4DLnN025961; Sat, 17 Nov 2007 22:13:21 -0600 (CST) Original-Received: (from teirllm@localhost) by jane.dms.auburn.edu (8.13.4+Sun/8.13.3/Submit) id lAI4DLF8025958; Sat, 17 Nov 2007 22:13:21 -0600 (CST) X-Authentication-Warning: jane.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f In-reply-to: <200711172041.lAHKf2SG025058@jane.dms.auburn.edu> (message from Luc Teirlinck on Sat, 17 Nov 2007 14:41:02 -0600 (CST)) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83515 Archived-At: >From my previous message: On second thought, I now believe that I misunderstood and that it should _not_ represent a problem, as long as the uncompiled value is stored in the `standard-value' property. But then again, I assume that byte-compiling the defcustom could store byte code in that property. Anyway, easy enough to check for anybody having the patch already installed: Load the compiled version of: (defcustom stupid (if t (+ 1 1)) "Silly doc.") Then do: (get 'stupid 'standard-value) Which should return: ((if t (+ 1 1))) Sincerely, Luc.