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: Sat, 09 Sep 2023 11:35:02 +0000 Message-ID: <877coz7f6h.fsf@localhost> References: <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> <871qvz4kdw.fsf@localhost> <8734zoaolv.fsf@localhost> <87fs3o8uil.fsf@localhost> <87msxwa8kd.fsf@breatheoutbreathe.in> <87il8j7ji9.fsf@localhost> <80479897-500e-fe60-6586-0a44ccb5993b@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14968"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63513-done@debbugs.gnu.org, Joseph Turner , Stefan Monnier , Adam Porter , Eli Zaretskii , phillip.lord@russet.org.uk To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 09 13:35:10 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 1qewF4-0003es-6k for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Sep 2023 13:35:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qewEu-0005Dj-N9; Sat, 09 Sep 2023 07:35:00 -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 1qewEt-0005AP-So for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2023 07:34:59 -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 1qewEt-0001F9-ID for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2023 07:34:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qewEw-0007Qy-8x for bug-gnu-emacs@gnu.org; Sat, 09 Sep 2023 07:35: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: Sat, 09 Sep 2023 11:35: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.169425925528517 (code D ref 63513); Sat, 09 Sep 2023 11:35:02 +0000 Original-Received: (at 63513-done) by debbugs.gnu.org; 9 Sep 2023 11:34:15 +0000 Original-Received: from localhost ([127.0.0.1]:46296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qewEA-0007Pt-Qd for submit@debbugs.gnu.org; Sat, 09 Sep 2023 07:34:15 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]:45745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qewE7-0007Pe-Ff for 63513-done@debbugs.gnu.org; Sat, 09 Sep 2023 07:34:13 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 078B624002A for <63513-done@debbugs.gnu.org>; Sat, 9 Sep 2023 13:34:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694259243; bh=BGv4jTmjr0AxKLnsFMml2v1s75pD9v/38kohjQi8ueY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=ZI7rladmrHNb3NywYUMN57PMjo5AZ5RRqm4pY3ojrjTFtne0N+k8ZgEUcRFv1RWA9 tJ9aZZo16tdZQ0ojKbktoFNQhqdtZyvxJOAL8jvHlD0miTVeM4QhyujUyIy9/rSCBi xLdsjHQoyc4cJ2ycSG9VCb8vY9zB9UF30Rsvi1Wps4+oAGOrYb9nXK0YOHvlwHktrG U37HqA9HuyCfu5ER0hHHEZ8JkcEBs2ds1cGlxD859LTw4EDBs8iB35fSDN1FQX4/37 Z9Mf8ohk4m+DcS+hoELgJ+l2YgQKxZ6KTgWblr0DOwqepgUl+5r/A2mm7xEz1rhkVQ v04/LTgkK8fZw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RjW8T5h9kz9rxG; Sat, 9 Sep 2023 13:34:01 +0200 (CEST) In-Reply-To: <80479897-500e-fe60-6586-0a44ccb5993b@daniel-mendler.de> 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:269850 Archived-At: Daniel Mendler writes: >> AFAIU, the recommended way to implement compat function definitions that >> are not yet added to compat.el is using `compat-defun' + `compat-call'. >> Then, one can simply drop `compat-defun' after the function is finally >> release with compat.el without touching the rest of the code. > > `compat-call` is meant to be used to call "extended functions", for > example functions with additional arguments. See the Compat manual for > details. > > The macros from compat-macs.el (`compat-defun` etc.) are internal as > documented in the file compat-macs.el. These macros must not be used > outside Compat. > > So using Compat here has to wait until compat-30.x is released. And do I understand correctly that compat-30 will only be released after Emacs 30 is released? If so, it is awkward for :core packages. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at