From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59793: 29.0.60; subr.elc is not compiled correctly Date: Sat, 03 Dec 2022 11:55:35 +0200 Message-ID: <83cz90erqg.fsf@gnu.org> References: <87lenpne48.fsf@163.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59793@debbugs.gnu.org To: Feng Shu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 10:57:31 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 1p1PH1-00085d-3F for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 10:57:31 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1PGd-00043a-Kw; Sat, 03 Dec 2022 04:57:07 -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 1p1PGY-000438-Tw for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 04:57:03 -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 1p1PGY-0007SN-K1 for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 04:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1PGY-0007IR-74 for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 04:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 09:57:02 +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.167006136928033 (code B ref 59793); Sat, 03 Dec 2022 09:57:02 +0000 Original-Received: (at 59793) by debbugs.gnu.org; 3 Dec 2022 09:56:09 +0000 Original-Received: from localhost ([127.0.0.1]:51456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1PFg-0007I0-Hz for submit@debbugs.gnu.org; Sat, 03 Dec 2022 04:56:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1PFd-0007Hc-2t for 59793@debbugs.gnu.org; Sat, 03 Dec 2022 04:56:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1PFV-0005VZ-Ot; Sat, 03 Dec 2022 04:55:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6F0+OPanr5vGzkClvcb0nNXT87gwSJHKQYk0A0C4+Tk=; b=lbChamLDR6FY tLEXRulShXKnom0bOV3SOYABE8YIg0uYzRolL0XADoGF9/SfN7NPw6tkAz1bVi53JUnq1n0gI2CM7 ElbAk1B+Z87YHHfZiM34enBtQ59lI/D+PqdkRAanTWG9GnQ8B3KJTuH8zgbh/Qus2cXBXrR7++P6x OegWCOVA43wjQ10zfkT7MqwjhEHrbLjHnaywV8rhzR+vZYFg7rI8ovq49uRrZDguE/PAR4yi6h/w5 qS3hStmNjzBu/4KfO+UChV6CEG4kDhQYKUTT8NKGdhAtEwVOB53CnsDAaOTrvrkalQJ+2uYGHRnOr Kmm6Z7NNU2N2dA0RRX25oQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1PFV-0000gG-81; Sat, 03 Dec 2022 04:55:57 -0500 In-Reply-To: <87lenpne48.fsf@163.com> (message from Feng Shu on Sat, 03 Dec 2022 15:24:55 +0800) 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:249819 Archived-At: > From: Feng Shu > Date: Sat, 03 Dec 2022 15:24:55 +0800 > > This week, I faced an issue about emacs-eat: > > > eat-yank not work well: https://codeberg.org/akib/emacs-eat/issues/9 > > > ------------- > (defun eat-yank (&optional arg) > "Same as `yank', but for Eat. > > ARG is passed to `yank', which see." > (interactive "*P") > (when eat--terminal > (funcall eat--synchronize-scroll-function) > (cl-letf* ((inhibit-read-only t) > (insert-for-yank (symbol-function #'insert-for-yank)) > ((symbol-function #'insert-for-yank) > (lambda (&rest args) > (cl-letf (((symbol-function #'insert) > (lambda (&rest args) > (eat-send-string-as-yank > eat--terminal > (mapconcat (lambda (arg) > (if (stringp arg) > arg > (string arg))) > args ""))))) > (apply insert-for-yank args))))) > (yank arg)))) > --------- > > > After some test with author of emacs-eat, we find that config > > (require 'eat) > (load "subr.el") > > work, while the below config do not work. > > (require 'eat) > (load "subr.elc") > > > we find that C-x C-e insert-for-yank and insert-for-yank-1 works too. > > > so we think subr.elc is not compiled correctly, I use the below > script to compile emacs, do not install and run ~/emacs/emacs29/src/emacs directly Thanks, but what exactly "does not work" in the byte-compiled version of subr.el? Do you have a recipe to reproduce the problem you see without using emacs-eat? If so, please post such a recipe. Because from your report, I don't see how to reproduce the problem and how to investigate it.