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#46722: test-map-into fails Date: Wed, 05 Jan 2022 20:07:50 +0200 Message-ID: <83a6ga9hu1.fsf@gnu.org> References: <871r2yu8b1.fsf@gnus.org> <87czl7w4fh.fsf@dick> <87a6gawabq.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22955"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rgm@gnu.org, stefan@marxist.se, contovob@tcd.ie, dick.r.chiang@gmail.com, 46722@debbugs.gnu.org, larsi@gnus.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 05 19:08:35 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 1n5AiB-0005n1-5k for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 19:08:35 +0100 Original-Received: from localhost ([::1]:51606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5Ai9-0001Wb-6o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Jan 2022 13:08:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Ahe-0001DE-EV for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 13:08:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58401) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5Ahe-0002sH-5G for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 13:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5Ahe-0007X0-0Z for bug-gnu-emacs@gnu.org; Wed, 05 Jan 2022 13:08: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: Wed, 05 Jan 2022 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46722 X-GNU-PR-Package: emacs Original-Received: via spool by 46722-submit@debbugs.gnu.org id=B46722.164140606928931 (code B ref 46722); Wed, 05 Jan 2022 18:08:01 +0000 Original-Received: (at 46722) by debbugs.gnu.org; 5 Jan 2022 18:07:49 +0000 Original-Received: from localhost ([127.0.0.1]:41714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5AhR-0007WZ-Cq for submit@debbugs.gnu.org; Wed, 05 Jan 2022 13:07:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5AhN-0007WJ-OG for 46722@debbugs.gnu.org; Wed, 05 Jan 2022 13:07:47 -0500 Original-Received: from [2001:470:142:3::e] (port=48546 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5AhI-0002oe-8e; Wed, 05 Jan 2022 13:07:40 -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=m4E/rHj4VeCm3k/TwvyLfBh67GDyWFitMIVv4d0w5Os=; b=mbTTLNlIa7CH 6Wppq816onWVYW/nSDt85M/cbuyr2B2NsDMlkVevHkKHa6Ts+D8BMpnVJ/R9JTF/hNJHIwCIJ9Xng zgV83+POnIIIm5p3LsNaK23awgow3OmvmLmYbfiMtDuC/LynGZiiwJIsF5tUxvOR2ZL5qYODQlPCU E/oofdSHdGf9ZJPcwyXCFXkxfMQpQej1iNbNdFmIpc5NMJSRwdclin+OHcmJvU9EgD+7BHV0kCcpH 6PiMY5XY0qf5BlwgVQv07QH4/TcTrxJgNg5722wRkNkWMQ1IdSpkixDWSau6jc0qM6ZQGyOm+mUgo Tf3gzEGHyC4tVwioY1c4zw==; Original-Received: from [87.69.77.57] (port=3813 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 1n5AhI-00072I-7J; Wed, 05 Jan 2022 13:07:40 -0500 In-Reply-To: (bug-gnu-emacs@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" Xref: news.gmane.io gmane.emacs.bugs:223706 Archived-At: > Cc: contovob@tcd.ie, Glenn Morris , > Lars Ingebrigtsen , Stefan Kangas , > 46722@debbugs.gnu.org > Date: Wed, 05 Jan 2022 12:51:09 -0500 > From: Stefan Monnier via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I think I tracked it down. > > The patch below should fix it. Boy do I hate side effects! > Could others confirm that it fixes the problem for them as well? > > Eli, do you think this is appropriate for `emacs-28`? > OT1H this bug probably has been with us since Emacs-25, but OTOH the > patch should be very safe. Is it? how so? copy-sequence is not a trivial operation, at least not with arbitrary data structures. And we nowadays use generics a lot, so this could potentially affect gobs of code. So I'd rather we didn't install this on the release branch.