From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: defcustom standard value and byte-compilation Date: Wed, 11 Mar 2015 14:56:52 -0400 Message-ID: References: <87r3sxukh4.fsf@gnu.org> <8761a8rohr.fsf@gnu.org> <87egovr2xl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1426100275 7784 80.91.229.3 (11 Mar 2015 18:57:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Mar 2015 18:57:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 11 19:57:45 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YVlpA-000156-Pg for ged-emacs-devel@m.gmane.org; Wed, 11 Mar 2015 19:57:44 +0100 Original-Received: from localhost ([::1]:56418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVlpA-0005WX-7i for ged-emacs-devel@m.gmane.org; Wed, 11 Mar 2015 14:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVlou-0005WD-Ae for emacs-devel@gnu.org; Wed, 11 Mar 2015 14:57:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVlom-0007aF-LB for emacs-devel@gnu.org; Wed, 11 Mar 2015 14:57:28 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:59727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVlom-0007a7-GJ for emacs-devel@gnu.org; Wed, 11 Mar 2015 14:57:20 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id BF84A8514F; Wed, 11 Mar 2015 14:57:19 -0400 (EDT) Original-Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 276821E5B8D; Wed, 11 Mar 2015 14:56:53 -0400 (EDT) Original-Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id 0A82AB4102; Wed, 11 Mar 2015 14:56:52 -0400 (EDT) In-Reply-To: <87egovr2xl.fsf@gnu.org> (Tassilo Horn's message of "Wed, 11 Mar 2015 16:04:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 132.204.24.67 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:183788 Archived-At: >> That's no problem, lexical-binding supports dynamically scoped >> variables as well (you just have to declare them beforehand via >> (defvar )). > Yes, I know. But having non-prefixed (defvar name) etc just looks so > damn wrong. Not having the (defvar ) doesn't make any difference: the code still uses those non-prefixed names. >>> But customize shows the value of the expression, not the expression >>> itself. >> IIRC there's a way to get the expression rather than the value. > At least I couldn't find one in the customize UI but maybe you're right. I can't find it either. And I can't even remember where the bug was reported. Maybe the bug was slightly different than what I said, I just have a faint memory of it. Stefan