From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: dancol@dancol.org, emacs-devel@gnu.org
Subject: Re: make-vector documentation is wrong
Date: Fri, 15 May 2020 09:49:12 +0300 [thread overview]
Message-ID: <83zha93d7b.fsf@gnu.org> (raw)
In-Reply-To: <5bcc3508-9d65-c5b4-255e-898f8e1dc3c1@cs.ucla.edu> (message from Paul Eggert on Thu, 14 May 2020 19:46:09 -0700)
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Thu, 14 May 2020 19:46:09 -0700
> Cc: Emacs developers <emacs-devel@gnu.org>
>
> (make-string 0 0), (make-list 0 0), (vector), and (list) all have the property
> that (make-vector 0 0) does - that is, each call returns the same empty object
> each time. I imagine that make-vector was implemented to be consistent with the
> other functions - at least, this behavior appears to be a conscious decision
> rather than accidental. So it may make sense to change these functions'
> documentation instead of their implementation's longstanding behavior.
I'm fine with documenting this long-standing behavior (although we
should think whether this subtle issue should be in the doc strings or
only in the ELisp manual).
prev parent reply other threads:[~2020-05-15 6:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-15 1:36 make-vector documentation is wrong Daniel Colascione
2020-05-15 2:46 ` Paul Eggert
2020-05-15 2:59 ` Daniel Colascione
2020-05-15 3:19 ` Paul Eggert
2020-05-15 3:41 ` Stefan Monnier
2020-05-15 6:34 ` Paul Eggert
2020-05-15 9:58 ` Eli Zaretskii
2020-05-15 6:49 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zha93d7b.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dancol@dancol.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.