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#55205: 28.1.50; completion--replace illegally mutates completion candidates Date: Mon, 02 May 2022 17:27:09 +0300 Message-ID: <838rrk57sy.fsf@gnu.org> References: <4d1b8687-20f2-137a-2739-7bba28828991@daniel-mendler.de> <87wnf5mpt4.fsf@gnus.org> <835ymp78hl.fsf@gnu.org> <83czgw65bl.fsf@gnu.org> <27ecd6cd-3c2c-d30c-24a3-d77e0331ebf6@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40413"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, larsi@gnus.org, monnier@iro.umontreal.ca, 55205@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 02 16:28:36 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 1nlX2R-000AFr-Bm for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 16:28:35 +0200 Original-Received: from localhost ([::1]:60884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlX2P-0002l5-P6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 10:28:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlX1u-0002ki-3L for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 10:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlX1t-0001Gx-RC for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 10:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlX1t-0004vs-LM for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 May 2022 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55205 X-GNU-PR-Package: emacs Original-Received: via spool by 55205-submit@debbugs.gnu.org id=B55205.165150163518902 (code B ref 55205); Mon, 02 May 2022 14:28:01 +0000 Original-Received: (at 55205) by debbugs.gnu.org; 2 May 2022 14:27:15 +0000 Original-Received: from localhost ([127.0.0.1]:37639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlX15-0004uk-2p for submit@debbugs.gnu.org; Mon, 02 May 2022 10:27:15 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlX13-0004uX-7g for 55205@debbugs.gnu.org; Mon, 02 May 2022 10:27:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57096) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlX0v-0001E4-Vd; Mon, 02 May 2022 10:27:01 -0400 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=DwP0i4C26Gf+sFFC/i3LxsMIouH77A92n1Jp37ENKR4=; b=DbzQJo7AdZp0 2lhrK6sor/Vxl7wmBE7lwXJxWX7BxUrgQFdplcLY3+N6p01jSEIH0BsI91229goh7990EBDXzDX1M Iik3TFfr598IPtb/n1yWSJNrlg3c47zcvEUMTmKPUPuMJmWmBiq9VNKueoxtIrmm8MzJ6VJbdNXIK FbHVth6Nx7GuJNIKoQZBbiHczUipvFBO6IriCOIuQhTu0HE8r/+Z2banhs3aUrD5rV7pwCa8aDiq5 VQnTGzDyiOyjCBxvn3kHuoCOpM3IF9Ip4fdgCpGDQ7WkznCDmzDCP+0km/nSy0PHyqymd0vn/2DnY LV2fIiY0JEi7u9jX4tQ0tg==; Original-Received: from [87.69.77.57] (port=3855 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 1nlX0u-0004jE-8J; Mon, 02 May 2022 10:27:01 -0400 In-Reply-To: <27ecd6cd-3c2c-d30c-24a3-d77e0331ebf6@yandex.ru> (message from Dmitry Gutov on Mon, 2 May 2022 12:46:00 +0300) 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:231259 Archived-At: > Date: Mon, 2 May 2022 12:46:00 +0300 > Cc: mail@daniel-mendler.de, larsi@gnus.org, monnier@iro.umontreal.ca, > 55205@debbugs.gnu.org > From: Dmitry Gutov > > On 02.05.2022 05:23, Eli Zaretskii wrote: > > Collection can include functions, and how do you copy that? > > Collection can be a function, not "include functions". You fetch the > list of strings using that function (for the given input) and then make > a deep copy of that. So I need to call that function twice, is that it? It is normally called by the completion machinery out of my control.