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 19:47:03 +0300 Message-ID: <831qxb6fw8.fsf@gnu.org> References: <4d1b8687-20f2-137a-2739-7bba28828991@daniel-mendler.de> <87wnf5mpt4.fsf@gnus.org> <835ymp78hl.fsf@gnu.org> <834k276gyd.fsf@gnu.org> <698d2a57-db2a-1c8a-5fe1-305b1c37aea2@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36359"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, monnier@iro.umontreal.ca, 55205@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 02 18:47:10 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 1nlZCY-0009Gy-Ck for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 18:47:10 +0200 Original-Received: from localhost ([::1]:47258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlZCW-0004mO-PM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 May 2022 12:47:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49812) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlZCQ-0004mG-Of for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 12:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlZCQ-0004IA-Et for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 12:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlZCQ-0000Hv-AJ for bug-gnu-emacs@gnu.org; Mon, 02 May 2022 12:47:02 -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 16:47:02 +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.16515100211100 (code B ref 55205); Mon, 02 May 2022 16:47:02 +0000 Original-Received: (at 55205) by debbugs.gnu.org; 2 May 2022 16:47:01 +0000 Original-Received: from localhost ([127.0.0.1]:37859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlZCP-0000Hg-CD for submit@debbugs.gnu.org; Mon, 02 May 2022 12:47:01 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlZCN-0000HT-Kq for 55205@debbugs.gnu.org; Mon, 02 May 2022 12:47:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60576) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlZCI-0004Cl-Bj; Mon, 02 May 2022 12:46:54 -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=5sbkTqaAjLzdOt9J9162yodkvbqXGn8C4Vv6LfsOzH0=; b=iz3/E/nfh34/ PP28iZHyC5GfccBp4YD9zlY9g3Ghk58odfbOHZaEg7q3XiZCZxPrWj8zoENHW1ChFCVRx9keWUgNw x4WDDY7Assb52axt/1iG9kgesREaiD907LOzc/36ibQZ7sxtbWAMn/GBh6uO+Hu+sGuJgUbOx3sLi kJx1TOeEiUSFFvP//AW5NfY4muGLBHvzPFvD06AQLHU8IbR5gbfhHv6XwDLP0yiKy94lItxPnIeI+ 9NxVNfPClJ6fkV94AroOqmlVvHDt7vs0ibcY/0fuDWmDZK5xyKm2yyrArwsKzYT6iWFDwWzXQFgwx j60yuwOjKLzug84v2Iwk2Q==; Original-Received: from [87.69.77.57] (port=4570 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 1nlZCH-0001Gz-Rj; Mon, 02 May 2022 12:46:54 -0400 In-Reply-To: <698d2a57-db2a-1c8a-5fe1-305b1c37aea2@daniel-mendler.de> (message from Daniel Mendler on Mon, 2 May 2022 18:38:37 +0200) 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:231271 Archived-At: > Date: Mon, 2 May 2022 18:38:37 +0200 > Cc: larsi@gnus.org, 55205@debbugs.gnu.org > From: Daniel Mendler > > One should add that *by definition* of the completion API, mutations of > the supplied candidate strings don't take place. For example you can run > completion on strings from the obarray: > > (completing-read "Symbol: " obarray) > > It would be quite harmful if the symbol names are destroyed in the > process. I think we have different ideas of what constitutes the "completion API", or, more accurately, the area which you consider as "completion API that doesn't mutate strings by definition". > I don't see the completion API as a meat-grinder. It is all quite > well-defined. Many of meat-grinders I had to deal with were extremely well-defined. There's no contradiction between the two.