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:36:12 +0800 Message-ID: <87r1apht83.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> <87v901htvj.fsf@yahoo.com> <87mtldhtpy.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="27460"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Qiantan Hong , "emacs-devel@gnu.org" , Stefan Monnier , Arthur Miller , John Yates To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 06:38:10 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 1muTB4-0006u8-BO for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 06:38:10 +0100 Original-Received: from localhost ([::1]:54804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muTB3-0005tL-4H for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 00:38:09 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muT9O-00057P-K4 for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:36:26 -0500 Original-Received: from sonic317-34.consmr.mail.ne1.yahoo.com ([66.163.184.45]:44941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muT9M-0002rr-1Q for emacs-devel@gnu.org; Tue, 07 Dec 2021 00:36:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638855381; bh=Vw5Hg4BQlZUjlcS2evBu/rN9cqXZdLoadCKk2SEFswE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=XhroAyKIIRY1iYMy0/ZPqBdjNdKYgVhkSjweqVPXncOImji/aaIyiBU+9COiGZOAmb0qEBN0GW0tthj5vcB/t9av5arrXG+HD6ofcfuUTQNvtViY0FebVcMYIlWG+0x95Wa8jCUauKL42CcbYOv1HVsA4MhvOM1+YsNM0TZqda/PkPABR0do5c7EY9Dva035Wso0SEGy4b6zExsmlS6+1ySoY1PVcmIljnhT3r+LXCNarC3WDa6EEsGc7aEcuA3o6SL5EWUmEr83Bh8213UyJH3TKoXo/Nk/29X5dGBeA/dRPNitYnRCaQs/zx3qSirmK0ezons1GZIhXxRpXGbcSw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1638855381; bh=j5ubhwlhtl12GsgTVcx9whUaDNLY60G+qH/5j6WiN8g=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=NQJMIuq6NF1RhTb5EOWtZ9fAwlL2cJ4TiwdDJyqbvL3rbZKvhALgeZGxfK+ZBx2WGDJPQz/hw7fnsNXtj2LAVIV512uT8cbyWRDOXKUE2O96fkKM0ZjPHAhvipBJ68u9ZmA52FDRdSLK+Pxz2RSEaaLFWYa3K8YOYH7XpWOXt3gh1EN+c1u0QJBP8TeiPGGGzRFbgXraV7wZ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ne1.yahoo.com with HTTP; Tue, 7 Dec 2021 05:36:21 +0000 Original-Received: by kubenode510.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 75887f467f65af17270398d32f9d7b27; Tue, 07 Dec 2021 05:36:17 +0000 (UTC) In-Reply-To: <87mtldhtpy.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 07 Dec 2021 06:25:29 +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.184.45; envelope-from=luangruo@yahoo.com; helo=sonic317-34.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:281204 Archived-At: Lars Ingebrigtsen writes: > Yes, it just stores the data in the object, and nothing happens on disk. > (The same happens when you start emacs with -Q, natch.) I think the fallback mechanism should also store data to disk, perhaps by serializing a hash table with `print' and writing it to a file.