From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#34027: 27.0.50; disable-theme resets variables to their initial values Date: Fri, 3 Jan 2020 12:25:32 -0300 Message-ID: References: <87y37sd7iq.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000512691059b3dec43" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="161204"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael.albinus@gmx.de To: 34027@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 03 16:26:23 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1inOqA-000fa4-CO for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jan 2020 16:26:18 +0100 Original-Received: from localhost ([::1]:53410 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inOq3-0004Hm-8B for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Jan 2020 10:26:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42435) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inOpw-0004FL-7F for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2020 10:26:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inOpv-0005Hx-3f for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2020 10:26:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35314) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inOpu-0005H0-KP for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2020 10:26:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inOpu-00052X-Gv for bug-gnu-emacs@gnu.org; Fri, 03 Jan 2020 10:26:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87y37sd7iq.fsf@gmx.de> Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Jan 2020 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34027 X-GNU-PR-Package: emacs Original-Received: via spool by 34027-submit@debbugs.gnu.org id=B34027.157806515319358 (code B ref 34027); Fri, 03 Jan 2020 15:26:02 +0000 Original-Received: (at 34027) by debbugs.gnu.org; 3 Jan 2020 15:25:53 +0000 Original-Received: from localhost ([127.0.0.1]:41287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inOpk-000529-Sp for submit@debbugs.gnu.org; Fri, 03 Jan 2020 10:25:53 -0500 Original-Received: from mail-lj1-f177.google.com ([209.85.208.177]:35632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1inOpi-00051v-SJ for 34027@debbugs.gnu.org; Fri, 03 Jan 2020 10:25:51 -0500 Original-Received: by mail-lj1-f177.google.com with SMTP id j1so36840625lja.2 for <34027@debbugs.gnu.org>; Fri, 03 Jan 2020 07:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=Err0xZzDOj6TQVabPK3uHDhRDK3jK2nT36JgpBmvk/U=; b=b5E1ERa/olRiu9U3Bzzcr3cqDyG5I1F8JHLeza34KS+Y7t04lYPSSGqrJ9kvtOYPU5 TETBtt54OCrhSOx/w9uSLwn01MTYZU5mR5gIgSPjF5rp+XOaQnLtbK2CEkJLm+tNtHXb PlGgiHg5mMfpLlvuaWzkzEamc0Xn+k2hWnj/PbSflUNlWqLyVpmg0NpwDquU8dTeRxKp /F0UtcOS15Dp7JYSmnXVeJILXEZI2EUjumqImhNljXryO87hUCwTbv8QcRxoiP0We6iB zYYqHMlbtLWe4eUjBiNBrHHq8e/xHlCpjBv9RbcKrhVPYKuSiouU9hDbGG9bf3H+8iNG DkrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=Err0xZzDOj6TQVabPK3uHDhRDK3jK2nT36JgpBmvk/U=; b=Zhe7kGvcQquFcccOADK9P6rJCw79f/HGl8W8S2I8mBtS9h5206FFWhJkla+CWSJh8m gqVCRYVUhCPwaI+rHX1jsrMudz9OgAadv6A7WzaPlIRYRTmstJEPbSzWOq9pOIXLeUH4 rPZBjxhS4EpHGNgaIWVYJnn2hq9deyKkT9kemZrdIOHRcId8Je6QqClLBdF80oWUnRJP s+FPjbLKLugeJh82SttTF8V5kA3WcTr61YEL0dCBgdaCFzHzsdR8EKlHXnS7Tthv2Sfb iMuuU6dU1ijbKvZtJDa3R/7YTnaO90QUzNJOhuQfondPP2XAkc7rK633/4vBxhGY1SlB Sb2A== X-Gm-Message-State: APjAAAWXCSsG/+9+MZ7G7Uh98Yc2GaEVPi1VQHUV16VlJbjqpc/nwkGc RhnCT2b153DxhR46pgIcEEj4fEJpH9Ym++JA/HRS99xO X-Google-Smtp-Source: APXvYqzcMyXUqRmZ5sKQJWc5S9NItHBLG9mrpkIvCOgflNc5nsHw0QsaxrcA094Wdzi8VTc341BB0OJJZy8LJcF4JIc= X-Received: by 2002:a2e:8152:: with SMTP id t18mr52840287ljg.255.1578065143603; Fri, 03 Jan 2020 07:25:43 -0800 (PST) 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: 209.51.188.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:174118 Archived-At: --000000000000512691059b3dec43 Content-Type: text/plain; charset="UTF-8" Michael Albinus writes: > I've added the test case custom--test-theme-variables in > test/lisp/custom-resources/custom--test-theme.el for showing the effect. The test is failing for a different reason. With the call to custom-set-variables, both variables will end up having a user theme setting, and since the user theme has the highest priority, enabling the custom--test theme makes no difference. The following check fails, because of the user theme having the highest priority: ;; The variables have the theme values. (should (equal custom--test-user-option 'bar)) (should (equal custom--test-variable 'bar)) IOW, the variables have the user theme values, and not the custom--test theme values. Best regards, Mauro. --000000000000512691059b3dec43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Michael Albinus <michael.albinus@gmx.de> writes:

> I've added the t= est case custom--test-theme-variables in
> test/lisp/custom-resources= /custom--test-theme.el for showing the effect.

The test is failing f= or a different reason.=C2=A0 With the call to
custom-set-variables, both= variables will end up having a user theme
setting, and since the user t= heme has the highest priority, enabling
the custom--test theme makes no = difference.=C2=A0 The following check fails,
because of the user theme h= aving the highest priority:

;; The variables have the theme values.<= br>(should (equal custom--test-user-option 'bar))
(should (equal cus= tom--test-variable 'bar))

IOW, the variables have the user theme= values, and not the custom--test
theme values.

Best regards,
Mauro.
--000000000000512691059b3dec43--