From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 15:57:43 2022 Received: (at submit) by debbugs.gnu.org; 20 May 2022 19:57:43 +0000 Received: from localhost ([127.0.0.1]:40155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns8kp-0000lc-4D for submit@debbugs.gnu.org; Fri, 20 May 2022 15:57:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:48730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns8kl-0000lR-Qs for submit@debbugs.gnu.org; Fri, 20 May 2022 15:57:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ns8kl-00089A-HX for guix-patches@gnu.org; Fri, 20 May 2022 15:57:39 -0400 Received: from mail-qv1-xf34.google.com ([2607:f8b0:4864:20::f34]:46962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ns8kf-0004Hb-Ro for guix-patches@gnu.org; Fri, 20 May 2022 15:57:38 -0400 Received: by mail-qv1-xf34.google.com with SMTP id ej7so7752030qvb.13 for ; Fri, 20 May 2022 12:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=e6W3fLTyajM90NGiMeBFOZY9lX+7bnLddaqoVY5tykY=; b=qWBHF/m9Ld/SbnJPiPcruyWxo+P7oSBcvHGzJBtcp+oA44LYmbFEVY2Nbrj0syC/PF 4de3VsHXHyf+5AuUEWjJ0h+W5DzEe7HDXi5uXEN29UXVVvQefVcr1z870V0mN5rZA8qt nR22Ep31qAPTKLDG9dZX+VPRimBHj+CRgxbH81/1Sfdz4dmPiTrsLBVnZ+KQktoms8My TC2FBcDO+J5/iHOZ79AVN3UbS7MjLBaEOBklmg8o3DCS2FxMiwLMTzL2sJtuLnmBRPUT qqjNhdLN2XXaAl9cYenYWCOe4mq/fy7aciZDoenifi2rPhvsNhLCv+iKDunO/LCLPC4x Fv7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=e6W3fLTyajM90NGiMeBFOZY9lX+7bnLddaqoVY5tykY=; b=kVqV70dQ9hgIZ8LIu1kwSa+jx54ztv7bkQy3QWcqJzeP90y0LRNdhXrzEfrEJYy0f9 04mCHVzB8nVYUhprM/GTEJYSbmZVkSQLVtvaxgZpm/qbKJpmYf3ib+8VUYCIFSPHis2W nFuI6qCXu1hw2eJFVrcSR5jqHAhQYAHrgc1XqHPGqXxMvuKHMgYtMVTsFy4kDahFWdZk 0N+1pKo+iWj3ZQX5q+FP3JL+eupi7UfecRsGHJcKVFpWCwweqwsUORZ66foWittI+3l+ fjzA7hVdQZRMMq7aSD90FjFR4x6dgPHzsHAtbee4TTK2P1lhXM4TIIew6OEUFTYd4+VY u+FQ== X-Gm-Message-State: AOAM533wKA/ocBD2f0RfZQ4XP0Y0xDoCOZCoBgidNGBFVBXbfVWBmQvQ FXdiYyjUUe9Il4cA1GLx1cf8JUhu5uM= X-Google-Smtp-Source: ABdhPJyFV+bUax7M2RfwzOGQ6K5zGAJV3CeVQWNkpzVAe52eFTeB+c+MYHpKwqmCsOp4z7IlhLE8XA== X-Received: by 2002:a05:6214:27e4:b0:462:2055:c3cd with SMTP id jt4-20020a05621427e400b004622055c3cdmr409881qvb.31.1653076651343; Fri, 20 May 2022 12:57:31 -0700 (PDT) Received: from kalantha ([204.111.132.153]) by smtp.gmail.com with ESMTPSA id f8-20020ac84708000000b002f3f062dbd5sm242303qtp.43.2022.05.20.12.57.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 12:57:30 -0700 (PDT) User-agent: mu4e 1.6.10; emacs 28.1 From: Andrew Patterson To: guix-patches@gnu.org Subject: [PATCH] Get ~emacs-promise~ to build in emacs 28 Date: Fri, 20 May 2022 15:55:10 -0400 Message-ID: <87fsl4x9hy.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::f34; envelope-from=andrewpatt7@gmail.com; helo=mail-qv1-xf34.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-Get-emacs-promise-to-build-in-emacs-28.patch Content-Description: ~emacs-promise~ patch >From 0df304239efa6dc480e87d2ad833195d15011053 Mon Sep 17 00:00:00 2001 From: Andrew Patterson Date: Fri, 20 May 2022 15:06:07 -0400 Subject: [PATCH] Get ~emacs-promise~ to build in emacs 28 Emacs 28 added a third required argument to ~define-obsolete-function-alias~ and friends. Upstream has removed the aliases, but hasn't released a new version. --- gnu/packages/emacs-xyz.scm | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index ae81f4e395..ca4dec7795 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -30347,19 +30347,29 @@ (define-public emacs-promise (package (name "emacs-promise") (version "1.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/chuntaro/emacs-promise") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1xb34zdbwjvahfhycjphdkm925kgd22dr298c57hwxza4ljc2hxj")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chuntaro/emacs-promise") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xb34zdbwjvahfhycjphdkm925kgd22dr298c57hwxza4ljc2hxj")))) (build-system emacs-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-obsolete + (lambda* _ + (substitute* "promise.el" + (("\\(define-obsolete-function-alias (.*) (.*)\\)" _ + obsolete cur) (format #f + "(define-obsolete-function-alias ~a ~a ~a)" + obsolete cur "\"2020-01-10\"")))))))) (home-page "https://github.com/chuntaro/emacs-promise") (synopsis "Promises/A+ for Emacs") - (description "This is a simple implementation of Promises/A+. + (description + "This is a simple implementation of Promises/A+. This implementation ports the following Promises/A+ features faithfully. See @url{https://github.com/then/promise}. @@ -30371,7 +30381,8 @@ (define-public emacs-promise @item It supports \"thenable\". @item It supports \"Inheritance of Promise\". @item It supports \"rejection-tracking\". -@end itemize\n") +@end itemize +") (license license:gpl3+))) (define-public emacs-async-await base-commit: 598f7289db9955584457ffc11c8504f3938a1618 -- 2.36.1 --=-=-= Content-Type: text/plain; format=flowed -- Andrew Patterson John H. Cochrane is a professor of economics at Chicago, which is like being a professor of economics but more so. -- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 05 15:14:54 2022 Received: (at 55545) by debbugs.gnu.org; 5 Jun 2022 19:14:54 +0000 Received: from localhost ([127.0.0.1]:33493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvi9-00049i-T4 for submit@debbugs.gnu.org; Sun, 05 Jun 2022 15:14:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxvi2-00049O-Kq for 55545@debbugs.gnu.org; Sun, 05 Jun 2022 15:14:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvhx-0007M7-8K; Sun, 05 Jun 2022 15:14:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XYTlrNKKqayMnCztvJdOuBNCKDSG9CcdOYp+WTFrllE=; b=TIne1Xr+ff8m8k3HQWUy ueBTwtn5k++2o8WtSbrQfAJLC7LpHxtCx/i/Gm54zUo8EnA+ArsKXmDN3XS9VYxkrvenEsIOjOAMS Knfh5bOLWvZcK0mBmXuIQG1HsySIJ3knERo2T67n5NRrnjq1PMLNBIYME0ldr6JXuNzo2kX/8JGtB Kkemc+Jihb0qhLVQe70wjUUQhi6arRIyY0NfygzKfvbZSXn459bOm9+r1U1Myoe5h49tgMOqebxQ+ RaZWPek/DANygirbq2LRBkeFdfLfjT+IxB8pNTxNvIxe/Qpw9tAUueNphevWb7VpaKMap4QRovoJp NfHUSZjEJYTolQ==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2774.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2774]:36904 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxvhw-0005sb-LE; Sun, 05 Jun 2022 15:14:41 -0400 From: Mathieu Othacehe To: Andrew Patterson Subject: Re: bug#55545: [PATCH] Get ~emacs-promise~ to build in emacs 28 References: <87fsl4x9hy.fsf@gmail.com> Date: Sun, 05 Jun 2022 21:14:38 +0200 In-Reply-To: <87fsl4x9hy.fsf@gmail.com> (Andrew Patterson's message of "Fri, 20 May 2022 15:55:10 -0400") Message-ID: <87tu8yncrl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55545 Cc: 55545@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Andrew, > - (source > - (origin > - (method git-fetch) > - (uri (git-reference > - (url "https://github.com/chuntaro/emacs-promise") > - (commit version))) > - (file-name (git-file-name name version)) > - (sha256 > - (base32 "1xb34zdbwjvahfhycjphdkm925kgd22dr298c57hwxza4ljc2hxj")))) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/chuntaro/emacs-promise") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1xb34zdbwjvahfhycjphdkm925kgd22dr298c57hwxza4ljc2hxj")))) This change is not related to the build fix, it shouldn't be part of this commit. > (build-system emacs-build-system) > + (arguments > + `(#:phases (modify-phases %standard-phases > + (add-after 'unpack 'patch-obsolete > + (lambda* _ > + (substitute* "promise.el" > + (("\\(define-obsolete-function-alias (.*) (.*)\\)" _ > + obsolete cur) (format #f > + "(define-obsolete-function-alias ~a ~a ~a)" > + obsolete cur "\"2020-01-10\"")))))))) This has been fixed upstream, so you could also update the package to the latest commit, see how it's done in the emacs-libgit package for instance. > (home-page "https://github.com/chuntaro/emacs-promise") > (synopsis "Promises/A+ for Emacs") > - (description "This is a simple implementation of Promises/A+. > + (description > + "This is a simple implementation of Promises/A+. > > This implementation ports the following Promises/A+ features > faithfully. See @url{https://github.com/then/promise}. > @@ -30371,7 +30381,8 @@ (define-public emacs-promise > @item It supports \"thenable\". > @item It supports \"Inheritance of Promise\". > @item It supports \"rejection-tracking\". > -@end itemize\n") > +@end itemize > +") > (license license:gpl3+))) Those changes also shouldn't be part of this patch. Could you please send an update version? Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 05:29:09 2025 Received: (at 55545) by debbugs.gnu.org; 25 Mar 2025 09:29:09 +0000 Received: from localhost ([127.0.0.1]:36278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tx0aq-00022i-UD for submit@debbugs.gnu.org; Tue, 25 Mar 2025 05:29:09 -0400 Received: from latitanza.investici.org ([82.94.249.234]:42703) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tx0ah-00021y-4N; Tue, 25 Mar 2025 05:29:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1742894937; bh=7xKag5o64f7R9PEPul91CPIz6bzVu9oCbHGeAdZUXfQ=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=s0FpWo1yMtmY4e9iEtNTmjD2KGI4cTEYHtuEsh1wUNq16LK4zwS2bEtxLRpF4KXZj 8TEScfyaN5bEe9Ty4aBXpvzdfhHKj0Bea3Wh0OhuFDz3QNpnAbW+gMBu+2F45lXK+Y Yyy5Pb8q3FcVAGAVczpjzBUpz7qVOsYVe/FFDOj4= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZMPkK42z6zGp4S; Tue, 25 Mar 2025 09:28:57 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZMPkK2JbbzGp3x; Tue, 25 Mar 2025 09:28:57 +0000 (UTC) From: Cayetano Santos To: 55545-done@debbugs.gnu.org Subject: Re: [bug#55545] [PATCH] Get ~emacs-promise~ to build in emacs 28 In-Reply-To: <87tu8yncrl.fsf@gnu.org> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Tue, 25 Mar 2025 10:28:56 +0100 Message-ID: <87pli5zcfb.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 55545 Cc: othacehe@gnu.org, 55545@debbugs.gnu.org, andrewpatt7@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Closing. We have now latest (as for today) emacs-promise in the repos, and emacs 29.4. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ+J3WBccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgt17APwMWAYFSqRMCFiZ5IU8fbX5E4mq 8I9NGt8uCDcBGhsS5QD9H4V4Jht/YXVOswi7cn5bOHi8TRkcG3hFuenxNDob0g4= =8fPJ -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 00:07:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Apr 2025 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator