GNU bug report logs - #64960
Documentation for copy-sequence

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Sun, 30 Jul 2023 16:43:01 UTC

Severity: minor

Fixed in version 29.2

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64960: closed (Documentation for copy-sequence)
Date: Mon, 11 Sep 2023 15:57:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Sep 2023 08:55:53 -0700
with message-id <CADwFkmm75-Y9p2n5Lwz09f=dneHskK7UQK1VqGaHP9cPgkVsmQ <at> mail.gmail.com>
and subject line Re: bug#64960: Documentation for copy-sequence
has caused the debbugs.gnu.org bug report #64960,
regarding Documentation for copy-sequence
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64960: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64960
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: uzibalqa <uzibalqa <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Documentation for copy-sequence
Date: Sun, 30 Jul 2023 16:42:28 +0000

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.




[Message part 3 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 64960-done <at> debbugs.gnu.org,
 eliz <at> gnu.org
Subject: Re: bug#64960: Documentation for copy-sequence
Date: Mon, 11 Sep 2023 08:55:53 -0700
Version: 29.2

uzibalqa <uzibalqa <at> proton.me> 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.


This bug report was last modified 1 year and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.