From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#59793: 29.0.60; subr.elc is not compiled correctly Date: Sun, 04 Dec 2022 18:27:07 +0100 Message-ID: <87iliraxlg.fsf@miha-pc> References: <87lenpne48.fsf@163.com> <83cz90erqg.fsf@gnu.org> <87359wr08z.fsf@disroot.org> <0D6CA055-C9DD-425D-9D0B-03B555227E72@gnu.org> <87v8mspfuo.fsf@disroot.org> <83sfhwcq9h.fsf@gnu.org> <87zgc31kov.fsf@disroot.org> Reply-To: miha@kamnitnik.top Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33258"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tumashu@163.com, 59793@debbugs.gnu.org To: Akib Azmain Turja , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 04 18:26:22 2022 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 1p1skv-0008RB-LL for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Dec 2022 18:26:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1skd-0006Ha-Q7; Sun, 04 Dec 2022 12:26:03 -0500 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 1p1skc-0006HR-La for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 12:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1skc-000548-E2 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 12:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1skb-0006md-T7 for bug-gnu-emacs@gnu.org; Sun, 04 Dec 2022 12:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: miha@kamnitnik.top Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Dec 2022 17:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59793 X-GNU-PR-Package: emacs Original-Received: via spool by 59793-submit@debbugs.gnu.org id=B59793.167017474126067 (code B ref 59793); Sun, 04 Dec 2022 17:26:01 +0000 Original-Received: (at 59793) by debbugs.gnu.org; 4 Dec 2022 17:25:41 +0000 Original-Received: from localhost ([127.0.0.1]:58809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1skH-0006mN-7p for submit@debbugs.gnu.org; Sun, 04 Dec 2022 12:25:41 -0500 Original-Received: from kamnitnik.top ([209.250.245.214]:33532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1skC-0006mF-3T for 59793@debbugs.gnu.org; Sun, 04 Dec 2022 12:25:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1670174734; bh=moaQrdQchBHedftBtf3/4pABRxwRZLc2mLaWcB7yfIw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=sx4wh8FfvST9ydMUlyLaBelD5AlPXDXtehzUUSoycVHeXDCetD5mRY6TofgOUyJrn j+2EpCdavgCaVt75dIL8KrfOK5BudBiwF7PO+g9jF0MgGlpIdFsr6ZamSdClOva5nH PSoC1+cgM13ZGzeiD/Nj3mCCo+tkeW7FqKWoFKuw4lKujvc/inN00nwaVJIYL/t5/s ohomKUSdR85xnC4aYRxorwAb+YSAHdBHMoaCMUjN4a5fNasKMfPmiTHJHnPC5jow9z yLoaxZXKnuIqklaYyCdTSGwhHTkQHzrMBXZMecwbU7FKlKO72ZO8e6TDSje+wZDt26 KLPlFdUeOnhmw== In-Reply-To: <87zgc31kov.fsf@disroot.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:249956 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Both source and compiled Emacs Lisp code should show the same behavior, > except performance. But 'subr.el' and 'subr.elc' show different > behaviors. Isn't this a byte-compiler bug? In Emacs 29.0.50, I checked M-x disassemble RET insert-for-yank-1 RET and it looks like it uses an 'insert' bytcode operation instead of funcalling the 'insert' function. I think this is what prevents overriding of 'insert' from working on byte-compiled code, as explained in '(elisp) Advice and Byte Code'. > --=20 > Akib Azmain Turja, GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5 > Fediverse: akib@hostux.social > Codeberg: akib > emailselfdefense.fsf.org | "Nothing can be secure without encryption." Best regards. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmOM2GsTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP/BAEACY+a53ObpOVlx6yjOVaHdKqo38uCnO qDvN5jPgb9kvcjq4J7tezzK/ep+wHnoPBCaJeahtdiLAM0xtJgGsQ133q+NADN0U MzVh9KxQ9aFYOuOxKZIIU3UGooQueuCBAL7GIuRzwDVyzCGJnthYcxWt22nNpE1o SYKbs6ggSJVtD/u8GcWkqSKBHX89eN8jYRv5qz8+d0wB1Ubmil+VgwaJO/+NiO0f ylY2iIOfcWHCC42nkd1N0nPZPzz0xNOYolTjGZ0JLKMsZfZObXp4H8j38wEg/Unn F8qtGNO3KCe+GrufQPd/nfBCbxQmn6XLzITa1KpY6i/K0JsgcA18dH1Xf6p1+WzW eQ1QQeramtSGXDvLzFEA+TY7ZBEqqDvG7z80j/ojGuc3zfaPfbzjkZX6DipGGU5r VEkuxWu5NPWXqew0X7gk3BcHvo7YxqzjEV3KdcXXnOYPfOIDPxKD/RBF3qPwM/8+ nU9uVq+BBLEDqnk2/HNKRfVybAWq4q7qT9/3zLpmWQmjR7N02UfJudlRZp7gKd2a fgYPtD9dKa4rUZ8nmDU/hn6o3ialVKFtwVRqpkwS7XIBxZick1lE4EuxsY8gLovt Q+fV1l2k8Fx6ExBkRjaIsmXsOwHlwqdKu6YaBlMA8Umoq88UoFV3vAfwiUP88Q0U TuB3LNQ1c1T7fQ== =N8L0 -----END PGP SIGNATURE----- --=-=-=--