From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#63513: [PATCH] Make persist-defvar work with records and hash tables Date: Fri, 08 Sep 2023 12:51:41 +0000 Message-ID: <87msxw96aq.fsf@localhost> References: <871qvz4kdw.fsf@localhost> <87wn1axgh6.fsf@breatheoutbreathe.in> <83jzx925lv.fsf@gnu.org> <87a5xubwoo.fsf@breatheoutbreathe.in> <87v8csku60.fsf@breatheoutbreathe.in> <83cyyz94c6.fsf@gnu.org> <87a5u2ydzg.fsf@breatheoutbreathe.in> <83msy25g0s.fsf@gnu.org> <624CBB7F-1442-400D-8D4D-1B26EBE9DACB@breatheoutbreathe.in> <877cp5bmig.fsf@breatheoutbreathe.in> <8734zoaolv.fsf@localhost> <83zg1wx4eq.fsf@gnu.org> <87wmx098ep.fsf@localhost> <83sf7ox27d.fsf@gnu.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="22768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: adam@alphapapa.net, phillip.lord@russet.org.uk, 63513-done@debbugs.gnu.org, monnier@iro.umontreal.ca, joseph@breatheoutbreathe.in To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 08 14:51:20 2023 Return-path: Envelope-to: geb-bug-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 1qeaxD-0005gn-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Sep 2023 14:51:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeax1-0004rL-NT; Fri, 08 Sep 2023 08:51:07 -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 1qeawu-0004qc-Tq for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 08:51:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeawu-00085h-Go for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 08:51:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeaww-00043a-E1 for bug-gnu-emacs@gnu.org; Fri, 08 Sep 2023 08:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Sep 2023 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63513 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63513-done@debbugs.gnu.org id=D63513.169417745615583 (code D ref 63513); Fri, 08 Sep 2023 12:51:02 +0000 Original-Received: (at 63513-done) by debbugs.gnu.org; 8 Sep 2023 12:50:56 +0000 Original-Received: from localhost ([127.0.0.1]:42543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeawq-00043H-FN for submit@debbugs.gnu.org; Fri, 08 Sep 2023 08:50:56 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:42183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeawm-000431-Jb for 63513-done@debbugs.gnu.org; Fri, 08 Sep 2023 08:50:55 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 76B00240101 for <63513-done@debbugs.gnu.org>; Fri, 8 Sep 2023 14:50:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694177444; bh=i4bEbkqakMyYypFMjRGiEGCWDfq8ykgYQJLbxaIHVbA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=NF3IdIVkQe1J+lqXlpfyp8wlpgiyNzl3lvnubw10dXS14x7akTkp2MgW1SjgRWjf+ M2H5moabvg34yjReYInl04I5NVP+Q0mWvAotXL2KqdiBTfMDRZxSBz6L6wk3Ju3HBO 6skCcYCdc9oHHdIZVW/1GAJ+/FzMJigsW0RuyJJXkOVsSQqOdGs82GOYaF5K5R1LTZ sqjiN9coIXSGpyGxt23plm6/qG6XvnEm9AuhT3M09kVX0iegWSVFZgWAl3FHi76REM 0oneX3gB5qfU4x7UOhIEVxqCGvW1Ea6pWH6r32pK1GSzyOpaMvLbbQIMiiElQ9umDr DuL0kEFfoy2ig== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RhwvQ2yVhz6tvZ; Fri, 8 Sep 2023 14:50:42 +0200 (CEST) In-Reply-To: <83sf7ox27d.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269773 Archived-At: Eli Zaretskii writes: >> > Why do we need them in subr.el, i.e. preloaded? Why cannot these >> > functions be autoloaded instead? >> >> Similar functions - `string-equal-ignore-case' and `copy-tree' - are >> already in subr.el. I do not see why the new functions discussed here >> should be any different. > > We make the decision whether a function must be preloaded in a case by > case basis, to avoid making the memory footprint of an Emacs session > larger than it needs to be. So arguments "by similarity" are not > useful in this case; you need to explain why you think these functions > are needed right from the startup. > ... Got it. Then, I do not insist on subr.el specifically. Autoloading is fine. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at