From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40671: [DOC] modify literal objects Date: Fri, 17 Apr 2020 20:27:21 +0300 Message-ID: <83pnc6aupy.fsf@gnu.org> References: <0B653323-49E1-4AC7-A85B-18346D220585@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="57075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ke.vigouroux@laposte.net, 40671@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 17 19:28: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 1jPUmg-000ElI-MM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Apr 2020 19:28:10 +0200 Original-Received: from localhost ([::1]:50020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPUmf-0000cH-OZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Apr 2020 13:28:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35045) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPUmY-0000c7-W1 for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2020 13:28:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPUmY-0005gE-01 for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2020 13:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58313) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPUmX-0005fv-St for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2020 13:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPUmX-0007yN-Pc for bug-gnu-emacs@gnu.org; Fri, 17 Apr 2020 13:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Apr 2020 17:28:01 +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.158714446330622 (code B ref 40671); Fri, 17 Apr 2020 17:28:01 +0000 Original-Received: (at 40671) by debbugs.gnu.org; 17 Apr 2020 17:27:43 +0000 Original-Received: from localhost ([127.0.0.1]:41622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPUmF-0007xo-I6 for submit@debbugs.gnu.org; Fri, 17 Apr 2020 13:27:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPUmB-0007xX-L4 for 40671@debbugs.gnu.org; Fri, 17 Apr 2020 13:27:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPUm6-00056U-H8; Fri, 17 Apr 2020 13:27:34 -0400 Original-Received: from [176.228.60.248] (port=3008 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPUm4-0003WV-5Z; Fri, 17 Apr 2020 13:27:32 -0400 In-Reply-To: (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Fri, 17 Apr 2020 18:37:23 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:178535 Archived-At: > From: Mattias EngdegÄrd > Date: Fri, 17 Apr 2020 18:37:23 +0200 > Cc: Kevin Vigouroux > > > Can we modify literal objects? > > No, and the manual should do a much better job at explaining this. At the very least it should not promulgate bad ideas by including mutation of literals in example code. Patch attached, suggested for emacs-27. I don't see any explanation of the issue in the patch, did I miss something? What I see summarily replaces literal lists and cons cells with a calls to functions, and I'm not sure this is a step in the right direction. It definitely complicates the examples, which is not necessarily TRT, methodologically, for such introductory sections.