From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#70784: Abolish string resizing Date: Mon, 06 May 2024 20:29:05 +0800 Message-ID: <87ttjb3yzy.fsf@yahoo.com> References: <86v83rb2bl.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28683"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mattias.engdegard@gmail.com, 70784@debbugs.gnu.org, monnier@iro.umontreal.ca, Drew Adams To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 06 14:31:01 2024 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 1s3xUj-0007Gu-Gp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 06 May 2024 14:31:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3xUS-0004yA-6j; Mon, 06 May 2024 08:30:44 -0400 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 1s3xUN-0004xK-Vq for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:30:40 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3xUM-0005rN-JH for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:30:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3xUk-0003aW-AN for bug-gnu-emacs@gnu.org; Mon, 06 May 2024 08:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 May 2024 12:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70784 X-GNU-PR-Package: emacs Original-Received: via spool by 70784-submit@debbugs.gnu.org id=B70784.171499860213678 (code B ref 70784); Mon, 06 May 2024 12:31:02 +0000 Original-Received: (at 70784) by debbugs.gnu.org; 6 May 2024 12:30:02 +0000 Original-Received: from localhost ([127.0.0.1]:37829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3xTl-0003YP-TF for submit@debbugs.gnu.org; Mon, 06 May 2024 08:30:02 -0400 Original-Received: from sonic309-20.consmr.mail.ne1.yahoo.com ([66.163.184.146]:41376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3xTj-0003Y1-DO for 70784@debbugs.gnu.org; Mon, 06 May 2024 08:30:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1714998569; bh=4wvqn4IPT1e6++LqUZLryHP6OHZba/LfHZv7ITnuHwY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=qa2n2UJ8+wGKBbSkO6Kt6Fl+Wll+BWr0sPX/L52fn0EIRfYs+VY7BtqDHMYxEwY+D3fbTDZ8XusWNR7LWetw21zd52kMXTV7QHdTRwpKm1pxsLNRr672qcy566lHXJ98c31om2IZPct1HhKheWKDcrkeioKDDE+EGgOcv5BYK7miQZlB8p3t81iTxfrtXoQPKi1Z59FmkOcnV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0ti3rbWii9J4S9OSA.xC1 NiJWMTDLYEuhYpoN8pPmohJ1YWhad5XrlEjGk9T4MA90.OnaF_OQfI7mbTc6KGfMbxiD26gp6594 tdL9k_91qKAYVRfYouoVSnijK7iCNOr06f_EgQHogoiroMESNIL0YhE1LxsMfW4dUcETmNkP8fix kQozGg2cGrYZDxrL0ocAitc1hpgH3oy_hoGZaKyTl0lkmE6Q9nVcasKIGCTb09w.pSXK3M7v4avM voLGNEJmnq.loZ0G4Xsx67tf5qm01NCbVAmIWZGJlNQQI2G4XuuIYnXu46_okc7ff7mRtmWuHQ0K FUne6HBD67VvcvwPatyfOZAldOqbk_.PnV7zSuufinja9K8U_qxp5dwJIdkUzARTCdNizpvlNCyw 8GpwYlmIjxXW3y6lF5w67mvR2enJ.TEj2j2AbGfMJt X-Sonic-MF: X-Sonic-ID: 9a4c7666-c1c0-40de-b13a-dd0ac386c144 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Mon, 6 May 2024 12:29:29 +0000 Original-Received: by hermes--production-sg3-6f9f87bd85-44gpn (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2c0db7f4ff1b4034029f6548163e3edf; Mon, 06 May 2024 12:29:25 +0000 (UTC) In-Reply-To: <86v83rb2bl.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 06 May 2024 14:35:26 +0300") X-Mailer: WebService/1.1.22256 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:284576 Archived-At: Eli Zaretskii writes: > Which is why no one is proposing to make string immutable. This is > not what this proposal is about, and Mattias made a point of saying > that explicitly. The point is that CL string implementations are capable of modifying strings in such a manner as Mattias proposes to "abolish". I presume some are implemented as Emacs's are, while others simply use a representation for multibyte strings where all characters are the same wide size (which incidentally there's nothing preventing Emacs from implementing).