unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Daniel Colascione <dancol@dancol.org>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: make-vector documentation is wrong
Date: Thu, 14 May 2020 23:34:12 -0700	[thread overview]
Message-ID: <152fab46-8825-2e69-6c74-5309482ac1ba@cs.ucla.edu> (raw)
In-Reply-To: <jwv8shtna1j.fsf-monnier+emacs@gnu.org>

On 5/14/20 8:41 PM, Stefan Monnier wrote:
> I can't see any strong argument either for making sure (vector) returns
> a fresh object nor for enforcing that it always returns the same object,
> so I'd favor a documentation that says both things are valid

Other parts of the documentation already refer to "the empty vector" and "the
empty string", implying that there is only one of each. Should they be rephrased
too? This would require quite a bit of rewording.

Emacs currently has exactly two empty strings (one unibyte and one multibyte),
so the phrase "the empty string" is wrong for the current implementation anyway.

It is a bit of a mess....



  reply	other threads:[~2020-05-15  6:34 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 [this message]
2020-05-15  9:58       ` Eli Zaretskii
2020-05-15  6:49   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=152fab46-8825-2e69-6c74-5309482ac1ba@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).