From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Ad-hoc list structure tutorializing Date: Sun, 06 Dec 2020 00:45:44 -0500 Message-ID: References: <83zh2udle7.fsf@gnu.org> <8ac1cf69-73ef-d8b9-df79-5a895f194936@dasyatidae.com> <83sg8kd7bs.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arthur.miller@live.com, dimech@gmx.com, monnier@iro.umontreal.ca, rtt@dasyatidae.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 06 06:46:24 2020 Return-path: Envelope-to: ged-emacs-devel@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 1klmsK-0006Xd-2R for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Dec 2020 06:46:24 +0100 Original-Received: from localhost ([::1]:60108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klmsJ-0004h7-1w for ged-emacs-devel@m.gmane-mx.org; Sun, 06 Dec 2020 00:46:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50804) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmrh-0004GX-Tx for emacs-devel@gnu.org; Sun, 06 Dec 2020 00:45:46 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60270) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klmrh-00065F-95; Sun, 06 Dec 2020 00:45:45 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1klmrg-0000pA-2p; Sun, 06 Dec 2020 00:45:44 -0500 In-Reply-To: <83sg8kd7bs.fsf@gnu.org> (message from Eli Zaretskii on Sat, 05 Dec 2020 09:45:43 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:260403 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] add-to-list is oriented at modifying a variable symbol which need not be constant. You can use it with a quoted symbol, of course. cl-pushnew is oriented towards modifying a specific variable. I don't know how one can do that with cl-pushnew. Do you have to call symbol-value? That is much less clean than doing it with add-to-list. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)