From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64960: Documentation for copy-sequence Date: Sun, 30 Jul 2023 20:09:57 +0000 Message-ID: <3aitpaf8HcjBZemQByxzBRz3i0bgDDKSSyOql9xR-eoh8a8rDWhxGYvYxa8C0RjrEWtoELtkMI1V4s9VhAjR47CMaPQ5HChKcKmAXKQaSGw=@proton.me> References: <83leex2qmn.fsf@gnu.org> <9fd2cf2e-04f7-380e-d8e3-dacb0a14a98d@gutov.dev> Reply-To: uzibalqa Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12617"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 64960@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 30 22:11:37 2023 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 1qQClL-00036i-4z for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jul 2023 22:11:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQCkp-0006IG-GS; Sun, 30 Jul 2023 16:11:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQCko-0006I0-G7 for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 16:11:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQCko-0006W4-7m for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 16:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQCkn-0007yP-Mg for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 16:11:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jul 2023 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64960 X-GNU-PR-Package: emacs Original-Received: via spool by 64960-submit@debbugs.gnu.org id=B64960.169074782130604 (code B ref 64960); Sun, 30 Jul 2023 20:11:01 +0000 Original-Received: (at 64960) by debbugs.gnu.org; 30 Jul 2023 20:10:21 +0000 Original-Received: from localhost ([127.0.0.1]:51296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQCk9-0007xY-5l for submit@debbugs.gnu.org; Sun, 30 Jul 2023 16:10:21 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]:19991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQCk7-0007xK-Cn for 64960@debbugs.gnu.org; Sun, 30 Jul 2023 16:10:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=5bsmubgmpfgtzaffos3yxigcly.protonmail; t=1690747812; x=1691007012; bh=8Dr+gvOAxxkLblxcijjpsp3q5ZfInFMmMasuIpKg1pI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=DtjEyxqjawD1/9bEbbhb4S6eJ+fr9KO/w2ukIyjen9fQaR6bXRHBpQZMVJ+30H5mA KyIQav9TWjlPYhUkRI42I/x4FFqEM8LGVgffEyI/Wo6nhmJfdfvkRXr3QoloPTZeUo Bfb0jpJModdnnHM6JXHjMXhFpMLgg6WXmf253P6/WLo5db4/HH+uL2yG5fY3TI5Pra zM2cvyPqxbyGPBKOw3RP/gQPFwi5n5V/pk3KoVo+C9hIFKD9SxPnLWCt2TYy5E24Ag 682EFEjFwYoSCApZ1iY8MKFEIV5Ec3XI+atyf30b23MvQ+5G8b9BRPC7+fSgO4ITjc hC4KGDzdmsBjw== In-Reply-To: <9fd2cf2e-04f7-380e-d8e3-dacb0a14a98d@gutov.dev> Feedback-ID: 52887082:user:proton 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266381 Archived-At: ------- Original Message ------- On Monday, July 31st, 2023 at 7:59 AM, Dmitry Gutov wrot= e: > On 30/07/2023 22:20, uzibalqa via Bug reports for GNU Emacs, the Swiss > army knife of text editors wrote: >=20 > > So it returns a copy but elements are not copied. So what happens exact= ly ? > > You get a reference to the original ? When I modify the copy, the origi= nal > > remains intact. >=20 >=20 > The list (if the sequence is a list) is new (from newly allocated cons > cells), but the values inside (in cars of those conses) are shared with > the original list. It is not evident what the meaning of "shared" means ? If I use a string, I get an exact copy and when I change a single character the newlist is=20 changed, the original string remains the same. So what is shared exactly = ?