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 16:42:28 +0000 Message-ID: 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="39598"; mail-complaints-to="usenet@ciao.gmane.io" To: 64960@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 30 19:23:32 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 1qQA8h-000A7e-KM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jul 2023 19:23:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQ9Va-00047S-Fi; Sun, 30 Jul 2023 12:43:06 -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 1qQ9VW-000475-5E for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 12:43: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 1qQ9VV-0004AA-TP for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 12:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQ9VV-0002ly-PT for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 12:43: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 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64960 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.169073537710647 (code B ref -1); Sun, 30 Jul 2023 16:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2023 16:42:57 +0000 Original-Received: from localhost ([127.0.0.1]:51133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ9VR-0002le-Ho for submit@debbugs.gnu.org; Sun, 30 Jul 2023 12:42:57 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:55264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQ9VP-0002lR-SW for submit@debbugs.gnu.org; Sun, 30 Jul 2023 12:42:56 -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 1qQ9VK-00046l-HM for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 12:42:50 -0400 Original-Received: from mail-40130.protonmail.ch ([185.70.40.130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQ9VH-0003y3-5q for bug-gnu-emacs@gnu.org; Sun, 30 Jul 2023 12:42:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1690735363; x=1690994563; bh=5agziSbZXlBy1E+evDP2r+EpBtPfFdrrpOJSa7bJG88=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=TegJruk0ha4sGezR5bpoR2j5bYAK6SRsA/1/uLVLyoTE+k8VQ6ehKJMZEu5sDNcHF 6rJDO0VlyFF86qPAriPWVJUEc9H5P/HS7uzFOWHch61Q9yDMS+3N1SxNrAPZdZHlu/ ++mPGUZncPwPbn/bJa39e7SZWl1nENan340vR50HOBJRuPheC8ftqlgdn64MSr74Pu VJJwY+Dt3Zc0CPd0vXSqS01ai20dJESmDJIDzbcQRKBOK1XYzfCm+SR2H7BF/kQHBh jnT1+qMPkWvLbhGCVuW5Kgsvv5hXGAdRN0EtzIxaaFOk5efE00E1UTG+DDsBR8yKrR RQORwRIV3wNZA== Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.40.130; envelope-from=uzibalqa@proton.me; helo=mail-40130.protonmail.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:266374 Archived-At: Have been reading the documentation for "copy-sequence". The description, specifically "The elements of a list, vector or record are not copied; they are shared with the original." is not very clear about what it does and what one gets. -------------------- copy-sequence is a built-in function in =E2=80=98C source code=E2=80=99. (copy-sequence ARG) Type: (function (sequence) sequence) Return a copy of a list, vector, string, char-table or record. The elements of a list, vector or record are not copied; they are shared with the original. If the original sequence is empty, this function may return the same empty object instead of its copy. This function does not change global state, including the match data.