From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: `aset` on strings, changing the size in bytes Date: Fri, 7 Sep 2018 16:12:07 -0700 Organization: UCLA Computer Science Department Message-ID: References: <88must56x4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536361821 22874 195.159.176.226 (7 Sep 2018 23:10:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 23:10:21 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cc: emacs-devel@gnu.org To: =?UTF-8?Q?Johan_Bockg=c3=a5rd?= , Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 08 01:10: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 1fyPtI-0005rr-GJ for ged-emacs-devel@m.gmane.org; Sat, 08 Sep 2018 01:10:16 +0200 Original-Received: from localhost ([::1]:40631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyPvO-0003CH-PN for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 19:12:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyPvG-00036E-T1 for emacs-devel@gnu.org; Fri, 07 Sep 2018 19:12:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyPvG-0002fN-5N for emacs-devel@gnu.org; Fri, 07 Sep 2018 19:12:18 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:50812) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyPv9-0001zX-Vx; Fri, 07 Sep 2018 19:12:13 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 461A9160F92; Fri, 7 Sep 2018 16:12:08 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id z-BnfPfMRGK1; Fri, 7 Sep 2018 16:12:07 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8DEB6160FA8; Fri, 7 Sep 2018 16:12:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id rohuXhOrW-ni; Fri, 7 Sep 2018 16:12:07 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5C901160F92; Fri, 7 Sep 2018 16:12:07 -0700 (PDT) In-Reply-To: <88must56x4.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:229462 Archived-At: Johan Bockg=C3=A5rd wrote: > According to the documentation, that is already an error... >=20 > (info "(elisp) Modifying Strings") Cool! That means we can do Stefan's request simply by reverting Kenichi H= anda's=20 patch that introduced the ability to change the byte length of a string (= commit=20 3c9de1afcde82a99137721436c822059cce79b5b dated 2000-07-21 06:45:30 UTC), = since=20 that patch made the code explicitly disagree with the documentation. Thou= gh this=20 leaves open the question of why Handa made that change in the first place= .