From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#4755: 23.1; case where `C-M-x' on defcustom doesn't seem to work Date: Tue, 5 Jul 2016 13:00:19 -0400 Message-ID: References: <340F1FE0FD29493A984C1582F2B10756@us.oracle.com> <87poqsd8lc.fsf@users.sourceforge.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1467743569 11241 80.91.229.3 (5 Jul 2016 18:32:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jul 2016 18:32:49 +0000 (UTC) Cc: 4755@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 05 20:32:40 2016 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 1bKV9C-0004Rh-Ph for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 20:32:38 +0200 Original-Received: from localhost ([::1]:57130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKV9C-0004aZ-59 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Jul 2016 14:32:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKTib-0000cr-Ec for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 13:01:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKTiY-0006Lp-7w for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 13:01:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKTiY-0006Ld-4a for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 13:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bKTiX-0007b0-Sw for bug-gnu-emacs@gnu.org; Tue, 05 Jul 2016 13:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Jul 2016 17:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 4755 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 4755-submit@debbugs.gnu.org id=B4755.146773802729151 (code B ref 4755); Tue, 05 Jul 2016 17:01:01 +0000 Original-Received: (at 4755) by debbugs.gnu.org; 5 Jul 2016 17:00:27 +0000 Original-Received: from localhost ([127.0.0.1]:38515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKThz-0007a5-Ax for submit@debbugs.gnu.org; Tue, 05 Jul 2016 13:00:27 -0400 Original-Received: from mail-oi0-f51.google.com ([209.85.218.51]:36584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bKThx-0007Zt-WE for 4755@debbugs.gnu.org; Tue, 05 Jul 2016 13:00:26 -0400 Original-Received: by mail-oi0-f51.google.com with SMTP id f189so237718227oig.3 for <4755@debbugs.gnu.org>; Tue, 05 Jul 2016 10:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=W6Kh48l2y6BEfHJJbYtrksyb1ZzWdvK8Uzz86XZPico=; b=hIhxKYuuSrm9dvXAGBScgQahOE7Q1WbvMs8dbLa7YdI8vX0sJy/Ozh9kXAmgbzi+WD rlnzvZxPFt0NsO4XB/EZmPH5Ytz8vG7C0wqnboS/be8HGAoRI9YeStmD6gXco+Qp3Bc2 plJTx0BgPiA+qh5W+cXfAH+19RiJFrJ499FoNixMn9+mVC4uOrIM+VZwvCawuK3f2uEn LriuxcswdZQuQaZCRbcvgYmIQowMy3Oa2UFxKfEPCSKIlaNsDYZo2jwRN/5JzEWJwRPY oSL3KhujhAPWw86R2dcWdA8pRwmoOf72izHn7fdhMo77Mmd6PaCqAfu2d32wBCl3ifNg JODQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=W6Kh48l2y6BEfHJJbYtrksyb1ZzWdvK8Uzz86XZPico=; b=bEO1LSafrmCDsfb0KxC1Xwh0NwTe4vS/91SNpuQTaBsX1FdqgChIrN/Z+0cwaGSK3d JqbyguCSBmhU/S4gsA0l8zWMA4NRXrvYO3JCyhNG9tUgtNMQjk/JjSL6En3nrEw76LAg jiwPHMl8J1qaiX8BYO2cAFuo2KnOqU4ur60ioQf/gTRpXFjL7iOpmIpOH20zU8Rp4qQ4 D9JQZkp+O6MIw7xlVc7uFySuUiQWKqk1SsAqGU9EjJ+VV6VaHqdQ1dpUBKR86V+Uvbi9 n/ix77agZjCR4DlpM63qjAVPhIsHTWIal8QcH8xXEZUqybnxloU4MbNTMNMBScMS7gZB FPcg== X-Gm-Message-State: ALyK8tJeBZjDnr4az0s26wtruYYAc+5xTiEx2pP86zmPPXwur+eIUogQOnLe5CvWMg9pyk55OGv9dahm2GcZEQ== X-Received: by 10.202.5.193 with SMTP id 184mr9323413oif.143.1467738020373; Tue, 05 Jul 2016 10:00:20 -0700 (PDT) Original-Received: by 10.157.4.197 with HTTP; Tue, 5 Jul 2016 10:00:19 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 9hLIWZIYdVDtKHnugZ3ShxxFUOQ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120451 Archived-At: On Tue, Jul 5, 2016 at 10:30 AM, Drew Adams wrote: > `foo', not `toto' was customized, and the Value shown > here is correct. But the "Original value" is incorrect. > The "Original value" shown is the new, current value > of `foo'. `toto' never had, as still does not have, > that "Original value". Ah, but this appears to be expected behaviour: (defcustom SYMBOL STANDARD DOC &rest ARGS) [...] STANDARD is an expression specifying the variable's standard value. It should not be quoted. It is evaluated once by `defcustom', and the value is assigned to SYMBOL if the variable is unbound. The expression itself is also stored, so that Customize can re-evaluate it later to get the standard value. DOC is the variable documentation. Compare what happens with: (defcustom time (current-time) "the time" :type '(list integer)) So perhaps the thing to be fixed is that describe-variable should say "Standard value" rather than "Original value".