GNU bug report logs - #40671
[DOC] modify literal objects

Previous Next

Package: emacs;

Reported by: Kevin Vigouroux <ke.vigouroux <at> laposte.net>

Date: Thu, 16 Apr 2020 20:40:02 UTC

Severity: normal

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #60 received at 40671 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Mattias EngdegÄrd <mattiase <at> acm.org>,
 Eli Zaretskii <eliz <at> gnu.org>, 40671 <at> debbugs.gnu.org, ke.vigouroux <at> laposte.net
Subject: Re: bug#40671: [DOC] modify literal objects
Date: Sun, 19 Apr 2020 23:57:53 +0200
Hello Paul,

I had a quick look at your changes.  I agree that it would have been
better to discuss before you start to install what you think you like.

Some things add more confusion.  Before your changes the manual used the
term "literal" objects, now you added a different wording "constant"
vs. "mutable" that describes more or less the same thing.

Then some things you added are just wrong, at least in the generality
you word them.  As Drew said, `quote' doesn't always return constant
objects, the special form just returns the OBJECT, whatever it is, when
it is evaluated.

Or:

|  Vectors written with square brackets are constants and should not be
|  modified via @code{aset} or other destructive operations.

(let ((l (list 1 2 3)))
  (let ((my-vector `[,@l]))
    my-vector))

What does this sentence tell me about the vector I constructed?

We should really be super careful with these changes.

Michael.




This bug report was last modified 5 years and 2 days ago.

Previous Next


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