From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: BP25 Newsgroups: gmane.emacs.help Subject: Re: help with add-to-list syntax Date: Wed, 30 Oct 2024 10:29:10 +0000 Message-ID: <875xp9q3yh.fsf@riseup.net> References: <86msimqupw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22743"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Joel Reicher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 30 18:05:28 2024 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 1t6C8N-0005lw-ML for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 30 Oct 2024 18:05:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6C7i-0006T0-5M; Wed, 30 Oct 2024 13:04:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6C7f-0006PW-75 for help-gnu-emacs@gnu.org; Wed, 30 Oct 2024 13:04:43 -0400 Original-Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t6C7d-0000b9-Ap for help-gnu-emacs@gnu.org; Wed, 30 Oct 2024 13:04:42 -0400 Original-Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4XdtlV2DQ4z9wP2; Wed, 30 Oct 2024 17:04:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1730307878; bh=5af/HNj1EeHlMmFf9tgitqd0xMZ+GGrE3LAuSVQxIaI=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=jRJ5ni7/caBu47ypVIc2Oxp5OzZoiAUiQxImMWY9pCWwM/yz04r3sDzwZzugsB+9w 22smkP6Q/Zjpg6AKw/0cvmpGwJPUX4dT9CdbFPz10CHWDV2p3TEQG39Bi3LwJ0OTLK 2SwKRSh+EikxhFgQHsr/tYYrQiJhxeG84llE7+9M= X-Riseup-User-ID: B9FA4C954113C1F88110A504134FD05D7D9E1C2E58C9209D9E2FD68B8AC13048 Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4XdtlT4PwLzFs2w; Wed, 30 Oct 2024 17:04:37 +0000 (UTC) In-Reply-To: <86msimqupw.fsf@gmail.com> Received-SPF: pass client-ip=198.252.153.6; envelope-from=bp25@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148260 Archived-At: Hello! First, the space character should not be escaped, this was my mistake. But it changes nothing with respect to my problem. On Wed, Oct 30 2024, Joel Reicher wrote: >> Hello! Could any of you be so kind as to help me understand this, >> please? I have >> >> (custom-set-variables '(warning-suppress-types '((undo\ >> discard-info)))) >> >> in my .emacs. If I start emacs, do load-file .emacs, then evaluate >> (add-to-list 'warning-suppress-types '(undo\ discard-info)) I get an >> error saying the variable warning-suppress-types is void. > > Instead of doing add-to-list, can you do C-h v and confirm the > variable setting that you expected didn't work? Do you mean this? -> If I start emacs, do load-file .emacs, then do C-h v warning-suppress-types then I see the value being ((undo\ discard-info))