From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#40671: [DOC] modify literal objects Date: Sun, 17 May 2020 11:43:39 +0200 Message-ID: <8FE4C211-A888-4696-893B-CE3C06901A27@acm.org> References: <880dc34b-46a9-0149-3c6e-0a951a70125d@cs.ucla.edu> <9c46b93e-a855-0be0-7ab0-50cb8c5cd74d@yandex.ru> <48e90f87-1519-9101-d54b-4bfd81a0c936@yandex.ru> <252d6368-ddea-2f41-b53f-cd927ebc3d1d@cs.ucla.edu> <43d93102-d361-f64b-971b-909418b89fca@yandex.ru> <2ca64f28-1255-4135-6e45-0f0e12b9e72d@cs.ucla.edu> <0c7570cb-bf52-a617-bf54-27a47c54e04a@cs.ucla.edu> <04298f7d-f2c0-5186-57d3-522e3d886166@cs.ucla.edu> <88af48c6-bc39-6ab0-59ec-7d537f2d375d@yandex.ru> <41d69e2e-561f-743a-e1f0-282b2e22b66c@cs.ucla.edu> <87mu6ftk6o.fsf@web.de> <873687xjqn.fsf@web.de> <9982fae9-cc93-439e-8fe5-a68bdb21c637@default> <87tv0nvztm.fsf@web.de> <05BEF593-F16A-4DEE-98BC-653221F1F9EE@acm.org> <0e9e09ce-f129-b359-e9aa-5296708b0f45@cs.ucla.edu> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="109407"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Heerdegen , 40671@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 17 11:45:10 2020 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 1jaFr4-000SKj-NB for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 11:45:10 +0200 Original-Received: from localhost ([::1]:37990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaFr3-00083m-1q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 May 2020 05:45:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaFqw-00083U-Rk for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 05:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaFqw-0006QK-Iw for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 05:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaFqw-0008Mr-Gs for bug-gnu-emacs@gnu.org; Sun, 17 May 2020 05:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 May 2020 09:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40671 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40671-submit@debbugs.gnu.org id=B40671.158970864432085 (code B ref 40671); Sun, 17 May 2020 09:45:02 +0000 Original-Received: (at 40671) by debbugs.gnu.org; 17 May 2020 09:44:04 +0000 Original-Received: from localhost ([127.0.0.1]:42307 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaFq0-0008LR-4T for submit@debbugs.gnu.org; Sun, 17 May 2020 05:44:04 -0400 Original-Received: from mail237c50.megamailservers.eu ([91.136.10.247]:41408 helo=mail56c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaFpx-0008Ks-Ob for 40671@debbugs.gnu.org; Sun, 17 May 2020 05:44:02 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1589708623; bh=V8odF4KHUHIdnwCy1+0DkgR+rEv9GjL2z079Rxl85YE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ivzGbgCnPhmhmOTmHf7FQHY7eH5UZ920shF3lZUT4qL0ISHaDxjvt0zv75BA2X75R qmit34/E1Za8/lh1IKGzcZ+FQQzvTr8yxc1E01l8mX3BXasP0ugjMSR4OiFv/Gm1R5 0/3z2qNvgYR4tzy98hxpmV82NedwQTO6IjD3tKio= Feedback-ID: mattiase@acm.or Original-Received: from stanniol.lan (c-4e4ae655.032-75-73746f71.bbcust.telenor.se [85.230.74.78]) (authenticated bits=0) by mail56c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 04H9hdlW001934; Sun, 17 May 2020 09:43:42 +0000 In-Reply-To: <0e9e09ce-f129-b359-e9aa-5296708b0f45@cs.ucla.edu> X-Mailer: Apple Mail (2.3445.104.14) X-CTCH-RefID: str=0001.0A782F23.5EC106F4.005D:SCFSTAT68638221, ss=1, re=-4.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: -4.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UqsdyN4B c=1 sm=1 tr=0 a=klNLuyVZdLUgl+K5Uafb2A==:117 a=klNLuyVZdLUgl+K5Uafb2A==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=ueNryGlU0QXi5fdAIB4A:9 a=CjuIK1q_8ugA:10 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:180443 Archived-At: 17 maj 2020 kl. 02.11 skrev Paul Eggert : > Thanks for sending that patch. Even if incomplete, it's better to not = try to > modify constants so I installed the attached into master; it's derived = from your > patch and supersedes my earlier (typo-containing) patch about nconc. Thank you, and your resulting patch looks all right. As an extra check, = I verified that the AWK-generated files result in the same tables. The follow-up change reducing string and vector literal mutation also = looks fine. Just out of curiosity, how did you locate those instances? = By searching for calls to mutating functions or with an instrumented = Emacs?