Subject: bug#64960: closed (Re: bug#64960: Documentation for copy-sequence)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Sep 2023 15:57:02 +0000

Your bug report

#64960: Documentation for copy-sequence

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64960: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64960
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#64960: Documentation for copy-sequence
From: Stefan Kangas <[email-masked]>
To: uzibalqa <[email-masked]>
Cc: Michael Heerdegen <[email-masked]>, [email-masked], [email-masked]
Date: Mon, 11 Sep 2023 08:55:53 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 29.2

uzibalqa <[email-masked]> writes:

> Is it not customary to include any cross references to the relevant parts
> of the manual.  The help using 'C-h f' would benefit if there could be
> some links that get you to the relevant part of the manual directly.

Such a cross-reference was added in commit a8c8a4e3680d, so I'm closing
this bug.

Subject: Documentation for copy-sequence
From: uzibalqa <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sun, 30 Jul 2023 16:42:28 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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 ‘C source code’.

(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.