From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23926: defcustom with STANDARD= gives confusing results Date: Sat, 09 Jul 2016 16:14:27 +0300 Message-ID: <837fcvgdho.fsf@gnu.org> References: <83vb0fgu83.fsf@gnu.org> <87k2gvhvql.fsf@users.sourceforge.net> <838txbgfgx.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468070125 11568 80.91.229.3 (9 Jul 2016 13:15:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 13:15:25 +0000 (UTC) Cc: 23926@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 15:15:14 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 1bLs6E-0002E2-58 for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 15:15:14 +0200 Original-Received: from localhost ([::1]:50923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLs6D-0001Ak-9W for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 09:15:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLs66-00018z-OS for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 09:15:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLs62-0000sx-Ix for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 09:15:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLs62-0000st-FW for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 09:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLs62-0000us-Ce for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 09:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23926-submit@debbugs.gnu.org id=B23926.14680700863484 (code B ref 23926); Sat, 09 Jul 2016 13:15:02 +0000 Original-Received: (at 23926) by debbugs.gnu.org; 9 Jul 2016 13:14:46 +0000 Original-Received: from localhost ([127.0.0.1]:43343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLs5m-0000u7-CU for submit@debbugs.gnu.org; Sat, 09 Jul 2016 09:14:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49369) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLs5k-0000tt-No for 23926@debbugs.gnu.org; Sat, 09 Jul 2016 09:14:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLs5c-0000r0-5B for 23926@debbugs.gnu.org; Sat, 09 Jul 2016 09:14:39 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLs5c-0000qt-1t; Sat, 09 Jul 2016 09:14:36 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1690 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLs5Z-0007Np-Ux; Sat, 09 Jul 2016 09:14:34 -0400 In-reply-to: (message from Noam Postavsky on Sat, 9 Jul 2016 08:55:48 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:120684 Archived-At: > From: Noam Postavsky > Date: Sat, 9 Jul 2016 08:55:48 -0400 > Cc: 23926@debbugs.gnu.org > > On Sat, Jul 9, 2016 at 8:31 AM, Eli Zaretskii wrote: > >> From: npostavs@users.sourceforge.net > >> Cc: 23926@debbugs.gnu.org > >> Date: Sat, 09 Jul 2016 07:54:58 -0400 > >> > >> Yeah, it seems expected because you're familiar with the code. But it > >> causes Emacs to claim the "original" value is different from what it > >> originally was, which seems nonsensical. > > > > It's not nonsensical, it's what actually happens, AFAIK. > > What actually happens is that Emacs goes back in time to change what > the original value was? No, that's the plan for Emacs 42. For now, we just compare to the previous recorded value (computed at dump time, I presume). > >> I wonder why Emacs saves only the original expression and not the > >> actual original value? > > > > It does, but then it reevaluates at startup. > > It seems it's also reevaluated every time the variable is looked at > with customize, or describe-variable. Quite possibly, we reevaluate a defcustom when in doubt. The question is, given the above, do we need to actually do anything with this report, except close it?