From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: `aset` on strings, changing the size in bytes Date: Fri, 07 Sep 2018 21:33:43 +0000 Message-ID: <88must56x4.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536355941 5110 195.159.176.226 (7 Sep 2018 21:32:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 21:32:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 23:32:16 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyOMS-0001F5-Gw for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 23:32:16 +0200 Original-Received: from localhost ([::1]:40361 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyOOZ-0002wc-1e for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 17:34:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyONz-0002wW-1Z for emacs-devel@gnu.org; Fri, 07 Sep 2018 17:33:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyONu-0001Qk-ET for emacs-devel@gnu.org; Fri, 07 Sep 2018 17:33:50 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyONu-0001Qd-Ah; Fri, 07 Sep 2018 17:33:46 -0400 Original-Received: from c-bdc8e455.04-211-6c6b701.bbcust.telenor.se ([85.228.200.189]:41854 helo=xubuntu) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fyONu-0007YI-0Z; Fri, 07 Sep 2018 17:33:46 -0400 In-Reply-To: (Stefan Monnier's message of "Fri, 07 Sep 2018 15:52:57 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229456 Archived-At: Stefan Monnier writes: > So here's my request: could we declare that we deprecate the use `aset` > on strings when it causes the string's length in bytes to change? According to the documentation, that is already an error... (info "(elisp) Modifying Strings")