From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joel Reicher Newsgroups: gmane.emacs.help Subject: Re: help with add-to-list syntax Date: Fri, 27 Dec 2024 17:22:02 +1100 Message-ID: <86bjwxbq7p.fsf@gmail.com> References: <875xp9q3yh.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31635"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: BP25 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 27 07:22:49 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 1tR3kG-00086N-Ln for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 27 Dec 2024 07:22:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tR3jk-00039p-5H; Fri, 27 Dec 2024 01:22:16 -0500 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 1tR3jf-000394-4q for help-gnu-emacs@gnu.org; Fri, 27 Dec 2024 01:22:11 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tR3jd-0000KA-CK for help-gnu-emacs@gnu.org; Fri, 27 Dec 2024 01:22:10 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-21649a7bcdcso82670025ad.1 for ; Thu, 26 Dec 2024 22:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735280528; x=1735885328; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=kHE/PM4k+XtLQaeqSYYl38GIwdgitbxsy9O34uo/iik=; b=lLbcfcWzpYWKP0IiyH+HlmLkkOcqnQkwWzmqKwfsmmPDDJMWbOW832hTivsSkNreQm 2m0MkdqE+Bm4qrXqJUYKUDSr/q5HNvvEQOfGaC417+nuIgQen7iD6KT0frwuyPVXAUTd p2712A0RX3Dc9/3oq2HyElC++edqiRS33oFmQLiuAXzKXEjS9GkTV0UzNXd3iq8CkVDI TsAmyhjCn05putGPmBL7Jo/fwBUU2jMeFgrwZtREHwUULRO4RYlzlIf0hhGC41SGjhra VTSPFJZ+srPwlXfW5FS5YF8YCrjiOD7xYYYZO+Vkb3LJae1iZdEKCfIZSdxT9XmixFY+ rFvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735280528; x=1735885328; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kHE/PM4k+XtLQaeqSYYl38GIwdgitbxsy9O34uo/iik=; b=CTrQ+wT0B598QmyVVum4d4h8NFSgIunAZXSFlJv3sFQ5gUxjgl3TiU7Zi54wSx9Efz 8Jg2n1pWrqtP97SqWEfSJjtm44Yk8ckdUhIObsRjLW/jdYArOFE9er3I0EeBksX5Mbrb fb9l59Oxhv8v+Syy8e0pGrn1ZU5L4EwD7WveTIRJwL1zlqGYZqad53f6VqAJAul/4OGQ 9B10hj6G2sYAAS3ecsjsFPEAEOSkVqMZs0FTqwiUPVKl/jFVzo3PFSESJxbEfRkcVuwv n92s+SVUfJH8gXWkX2PCI4trbTjIc7MyFKuYYwnBmripSV++djP6rwM/i1Fauzn/K9Ba nxsQ== X-Gm-Message-State: AOJu0Yw6FRWLXVvdvZ3AEdMgL81+XfiWFkx2ycnsQIwLZGjeFjvSKKe4 TzfUk0tGx5Cd5kxRGoKka+UMHtZeFUbXrmEZOfXoTvN++pBUCgMdLVXckCUV X-Gm-Gg: ASbGnctQc4I+zaIyGfxWt9FYFSUXbDdb9yWdRRdi0XalNN7T08A3LBv4N+BFzRtpkTU 3dUxsB6Cj/U3+ubfzg2bNH4uMCvS8/02iBjlWFfy384i1Cg09Ta/zdDyBi5cl/EedNCl5gqz3us tDnxtHyfvvI0ezuOI2M5uOgG0qrfz1FRyA5ywIDNMHdAJt2TjiahkVZh6eW7FqXFXk7LqAmz7G3 k03eQiua554vwY+qHysN5Uyuw5k9ES1/SeofaWoieUmiV38Xvlyg1QcMe3OvK1FVBL2kYJG7HYm +uIqSwPaz0vLAOZAlnHCcW5MGM2nK0AV8Z0mVHvN9WRN X-Google-Smtp-Source: AGHT+IFZLTW4ydI0T2JqccnWlNdlzVzbuJ7I2+3BOgtbpBw90PRd5l7Ns/WEGqBrWHVcyKK4132B+A== X-Received: by 2002:a05:6a00:6c88:b0:71e:4930:162c with SMTP id d2e1a72fcca58-72abde65a6bmr38507511b3a.6.1735280527422; Thu, 26 Dec 2024 22:22:07 -0800 (PST) Original-Received: from LAPTOP-ACR66VVN (139-218-25-158.sta.wbroadband.net.au. [139.218.25.158]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad81617csm13867286b3a.39.2024.12.26.22.22.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Dec 2024 22:22:06 -0800 (PST) In-Reply-To: <875xp9q3yh.fsf@riseup.net> (BP's message of "Wed, 30 Oct 2024 10:29:10 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=joel.reicher@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:149019 Archived-At: BP25 writes: > 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)) Why are you doing a load-file .emacs? That should happen automatically, unless there is something very strange about your setup, and if there is something very strange about your setup, maybe that's the reason other things are failing? Regards, - Joel