From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Mutating existing persistent data Date: Tue, 07 Dec 2021 13:22:08 +0800 Message-ID: <87v901htvj.fsf@yahoo.com> References: <87tufmjyai.fsf@gnus.org> <875ys2lyt0.fsf@yahoo.com> <87wnkhlxb9.fsf@yahoo.com> <2FD7D920-D92C-480B-B2AC-91A17F0397C4@mit.edu> <87zgpdi0rk.fsf@gnus.org> <878rwxje1x.fsf@yahoo.com> <87v901huhw.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34376"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Qiantan Hong , John Yates , Stefan Monnier , Arthur Miller , "emacs-devel@gnu.org" To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 06:24:16 2021 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 1muSxc-0008iu-P2 for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 06:24:16 +0100 Original-Received: from localhost ([::1]:46372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muSxb-0007gT-6p for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 00:24:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muSvm-0006qO-Co for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:22:22 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:32816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muSvj-0007JD-SI for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:22:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638854537; bh=YZwugCb/2J21EFBTnuS9u/vOqdTBZdxPZF2LKk+odg8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=F4pKshf/omB4H4NZ7l9Sq6RS6UEcKG//tF1TkLBo6f751rYWK9FuMn0oFNSeKmGxm0Vx2O56sZq2xxy4OBKe+C4Mw1TUt1hgxZkRT0ayPK84hORtMb/jMmcOTlKkRds7rNy7YvgHcq2AUbmwcVR3REMY9nz+7vm10UkLffCbLKElrJq99dAa2HKIIctsFiBXKTvG+YXgHa5jtO3E1O7BozgE5d3r0iC/LAWoqjQ/k20ZQ74ewHhgUa9nb7bnpqNepvngnf3Wehtr2UitheeowVOyYQT2Y+JuIvpRWaLG0PU6oToNnKBncNK/QQCxnOoBv/8e/3eofAqynudiB0c8oA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638854537; bh=f5HIfuc94M3e+ZkE0/6LZy7e3grYaWFahiKSdVdPI94=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=CaENREI9Qhp5bwCIDzX/T1Frm1NTIl725zwTyN5Sv6TaaWc29sOHXChTPl0gI7bxPX878wRxHMooilZu44DBKHcetUJkprfBrVOajIOjVJB312Phr3dXP2hY2/CghHspZ+mlsouKyI2yFU0aYHf8D6j1ThaDhybdnUyxU4xMTg6NIr7TIIzsuhKf4UZ23GzQX6PJEOUy5viOx8wdRiDNY50W6q8dFiPIKiaEgu/pdhcNZ3yYBOUEAXozGyuz2wIClp2DAevgCG6HsbaylyIFu69iRrSKTi9SZtO8UKfDXoOiav4VVnxTJJzGCYt6AqzNy4eaA+ro3PZGMU8tpO949Q== X-YMail-OSG: H6XCdzsVM1klvbIwkxwMw_iQI8YBa8KnEk17RIrUdNh_KoUWWEaw5XrXZsuvng3 88xJrXsRT41RgdRSiFDYQ0mldD92Qe.QEqK5sUshYLvoSD1AU2BfHIFHOdaAna7JgMxo6A4t4Ay5 .XkmWYuebu0mXWDUePeq.lgJgFYTxFckFQb.4tzTX4fDBhh7SrnUk4.Yvn2r9ujLtcaMyQJ2Cd.j bBATSKCXWvkLGgE.zaHP8D.7LvHBsAn2lJ68tVqLAI0fOIM9A.0SnrEGR8dYgyhO0Vn3gkJiZnNu TVSCdpS16RX0nVCzuibJoLvSEix2PAjtuOLOWatfTZC1Pl72JoRFR9G6KHoXIpHth2MUwuaFVkNO SUiZoGusagSmllyTWF5hDUD.T6dXEx29tm10PdCSEr_QDWvuupqp0ra85goiMljVnv7_pg9H3QAd vfjDOTV4pKe2LVD0tzRzepeget8QCb9I_aRdrHrHXRRpQFoNkWGz0VMyTAuU3SQ37VGhfN6hRv1h QG0FmYQ8nb6Nuq20UKsOlpOR3NPdtXAhYd3wOxC8HSbwS1Z3VYnVCINWsebIvR.CDRcDa8c5WXOZ RZGjRM4mxIEP68tDMu.JS0jQEaodu8HVnLwUGoKe7hb0eFaTPHVC12hiGLEQZUcbTttn4dZxjgnZ H1iJJAXOzud62jS2BmQRMEIXTUDvCiiyv_Wc4w4ySoujR2.RQ.eW0E8QvdKOjY03464wfwixO6Ji MTZNAgHI6a3s1Aq2qd04x9tEErFKQ3uPp4H6HdQamNbfRkAokcoyFqgkPZ1Buwu3WcVSCtv67_G1 4dQOyypIkB5.sgruGw94K4A3P2xqLdV29Bge8O6yp5 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Tue, 7 Dec 2021 05:22:17 +0000 Original-Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 8f51bf20e96ad5b8bc917a167c2dd7a1; Tue, 07 Dec 2021 05:22:13 +0000 (UTC) In-Reply-To: <87v901huhw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Dec 2021 06:08:43 +0100") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.consmr.mail.ne1.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:281202 Archived-At: Lars Ingebrigtsen writes: > I think we're moving away from get/set pairs. We could have gone even > more magical -- reader macros! Reader macros are one of the features of Common Lisp that are highly prone to abuse. They also make the meaning of simple programs confusing to the human eye. It would be a shame for a basic feature of Emacs Lisp to use such a facility. Personally, I never saw the benefit of generalized variables in Emacs Lisp. I think it would be more practical to stick with the tried and true method of set and get pairs. > (push 'gazonk (sticky-value list-foo)) > But we should call this something other than "sticky", because that's > kinda sticky. What if Emacs isn't built with sqlite3 support? Is there a fall back in place for that situation?