From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: suzee Newsgroups: gmane.emacs.help Subject: Re: Problem with defining a background color by variable Date: Sun, 12 Jun 2022 11:41:31 +0200 Message-ID: <43342c57-ee79-c290-6e1e-cb3b061fd835@mailbox.org> References: <0916306f-7e89-426d-5b05-631e5b8fa522@mailbox.org> <834k0qwa8t.fsf@gnu.org> <6fd8ba0d-7393-19c9-5fb8-137cfccb6119@mailbox.org> <83zgiiutrj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9353"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 12 11:43:33 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o0K84-0002E7-JI for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 11:43:32 +0200 Original-Received: from localhost ([::1]:33734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0K83-0007Yo-3L for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Jun 2022 05:43:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0K6W-0007YY-2z for help-gnu-emacs@gnu.org; Sun, 12 Jun 2022 05:41:58 -0400 Original-Received: from mout-p-201.mailbox.org ([2001:67c:2050:0:465::201]:45992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1o0K6G-0003GF-Be for help-gnu-emacs@gnu.org; Sun, 12 Jun 2022 05:41:55 -0400 Original-Received: from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4LLV8G23Dgz9sNZ for ; Sun, 12 Jun 2022 11:41:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1655026894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JEylay8mFHGhRwyyoj2AigWuXyNq8sxA+U5NNFEBUFU=; b=L2AKEgeFGmfH5PEHj1H85eFR+rPLIrAY79IqZF0ZN3ZT2aW+86lrNMHqKUrhGKIX2qSjoC wFRujOlNyZTFysMhOl6Zs9gk7/2FI6jAlQTL/hwWJ6//Wn4OFnql8Hmk+hT6ETnQIq1EKE +w9n7MMfy/BUhpoHefibqO7L1sTz5uuEDQ2RSnB+47Frkyvz16gyzG+qw70EHt8+IGT5dK KPYQo40CXzoQr0OZCLhogUo4vFJkE3MkTFe0w637Gd6eC/1YR27pSB5LCR71ak1BT14hQs 1KeiRcchFLQO5ozkLj0lclI7VyBoKuEPhaYeYAwsO/K11N41anTXzjp9CWuw+Q== Content-Language: en-US In-Reply-To: <83zgiiutrj.fsf@gnu.org> X-MBO-RS-ID: a9a441a5d3d3070b1a6 X-MBO-RS-META: f3pcte387o6tz3mt4e1sxh5a8oe7uhzk Received-SPF: pass client-ip=2001:67c:2050:0:465::201; envelope-from=vronk+cllbrtn.mcs@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_LOCAL_NOVOWEL=0.5, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137738 Archived-At: On 12.06.22 11:16, Eli Zaretskii wrote: >> I'd be happy to understand the error message though to gain some >> knowledge about elisp. Any idea about that? > > I think it's because of the quoting: the entire list is quoted, so the > value of mycolor is not evaluated. You need to use a smarter quoting, > something like > > `((t (:background ,mycolor))) > Ah yeah that works. I still have to get my head around the quoting. Thanks for your help! Problem solved :]