all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mauro Aranda <maurooaranda@gmail.com>
To: 34027@debbugs.gnu.org
Cc: michael.albinus@gmx.de
Subject: bug#34027: 27.0.50; disable-theme resets variables to their initial values
Date: Fri, 3 Jan 2020 12:25:32 -0300	[thread overview]
Message-ID: <CABczVwehBxnUjNcTSZC7HNuDKP5VAuHcj2zcV-kkVurtQQjkfg@mail.gmail.com> (raw)
In-Reply-To: <87y37sd7iq.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 753 bytes --]

Michael Albinus <michael.albinus@gmx.de> 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.

[-- Attachment #2: Type: text/html, Size: 946 bytes --]

  parent reply	other threads:[~2020-01-03 15:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-10 12:25 bug#34027: 27.0.50; disable-theme resets variables to their initial values Michael Albinus
2019-01-10 16:34 ` Glenn Morris
2019-01-10 18:43   ` Michael Albinus
2020-01-03 15:25 ` Mauro Aranda [this message]
2020-09-04 15:06 ` Mauro Aranda
2020-09-05 11:55   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABczVwehBxnUjNcTSZC7HNuDKP5VAuHcj2zcV-kkVurtQQjkfg@mail.gmail.com \
    --to=maurooaranda@gmail.com \
    --cc=34027@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.