From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#40671: [DOC] modify literal objects Date: Sun, 19 Apr 2020 14:11:24 -0700 (PDT) Message-ID: <8c18a634-23a6-4b5e-98a9-58e80d517fb9@default> References: <83tv1finob.fsf@gnu.org> <1E9E4C19-37C2-4E24-91B7-8101F9CFBF35@acm.org> <527dc4b5-3176-38b5-f2c1-1483ffc814a1@cs.ucla.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="90787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ke.vigouroux@laposte.net, 40671@debbugs.gnu.org To: Paul Eggert , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 19 23:12:17 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 1jQHEf-000NVE-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 23:12:17 +0200 Original-Received: from localhost ([::1]:47780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQHEe-0001vt-5a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 17:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49160 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQHER-0001ud-Gs for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 17:12:03 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQHER-0000W5-1L for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 17:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34561) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQHEQ-0000Vz-L3 for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQHEQ-0000hP-FK for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 17:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Apr 2020 21:12: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.15873307012660 (code B ref 40671); Sun, 19 Apr 2020 21:12:02 +0000 Original-Received: (at 40671) by debbugs.gnu.org; 19 Apr 2020 21:11:41 +0000 Original-Received: from localhost ([127.0.0.1]:46107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQHE5-0000gq-1F for submit@debbugs.gnu.org; Sun, 19 Apr 2020 17:11:41 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:39150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQHE2-0000gd-HZ for 40671@debbugs.gnu.org; Sun, 19 Apr 2020 17:11:39 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03JL8m5r002256; Sun, 19 Apr 2020 21:11:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=1YX7ITQ4xFwuAfKuyll0blhipAAQJMWiehD/NPWc4tU=; b=iyZIlnF/+WPFsi3aBwCAKeKceZbU44GBpKaVH7/5BdKkqxKcYFKK4/MwUtMB8KSZJR9a MMVEyr2OSx3MNLmLbo4OozYDgBj2g1gya/6XzPWR9KPXZMI6k1TRQaoFGDbzQIvRCaJM gQitQP7pmknFuyFxRWKqJc8H3RQFFS2Yk2CbwvBfetgF0qBG43CmMEMB84HsvSCAlmYE DxXSAGNfYVD+jFZYLe5LmIBekxURspYhhtAbdomIHpDM6EJFxL5ZSySEE4sxnPDhb+w4 KMNw0OV3i6qSaDcygu3aW0zPzWLwSzbII5JAAENOaEsWC0kTGrLg/lmsAVWWVnNMhviS Ug== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 30ft6mv2yn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 19 Apr 2020 21:11:29 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03JL7gAo151537; Sun, 19 Apr 2020 21:11:29 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 30gb8ur15v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 19 Apr 2020 21:11:29 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03JLBPVi022470; Sun, 19 Apr 2020 21:11:25 GMT In-Reply-To: <527dc4b5-3176-38b5-f2c1-1483ffc814a1@cs.ucla.edu> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4966.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9596 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 bulkscore=0 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004190181 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9596 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 priorityscore=1501 impostorscore=0 adultscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004190182 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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:178673 Archived-At: > In my recent patches to the emacs-27 branch I added a section > "Constants and Mutability" that discusses many of these issues. See my previous reply. It's not about (what you called) constants and mutability. Misleading, and unclear, IMO. > I didn't think of recommending ways of coping with it I don't think that's needed. That is, I don't think there's any such "coping". What's needed is to make clear to users _what_ happens, and its effects; that's all. With that info, they can do whatever's appropriate for them in any given context. But it's good to show an example of a gotcha, to help make clear _what_ can happen and why.