GNU bug report logs -
#9469
buffer-local variables seem to remember previous values
Previous Next
Reported by: Le Wang <l26wang <at> gmail.com>
Date: Sat, 10 Sep 2011 17:12:01 UTC
Severity: normal
Tags: notabug
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Mon, Sep 12, 2011 at 3:54 AM, Lars Magne Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> Ok. So I'm closing this report.
First of all, it's entirely possible that in order to preserve my self
perception that "I am smart", my ego won't let me admit that I just
wasn't smart enough parse the manual properly.
However, I still think it's not spelled out clearly enough. It needs
an example to clearly show the trap.
"The special form quote returns its single argument, as written,
without evaluating it. This provides a way to include constant symbols
and lists"
Isn't the first sentence misleading? It does not *always* return a
single argument as written. It does the first time, and memoizes
subsequently. Where is the mention of that?
The second sentence clarifies that quote should be used for "constant
symbols and lists".
Again, pedantically speaking, the information is there. It's just not
clear enough to prevent other people falling into this trap in the
future. I'm happy to leave this bug closed, or work with someone
specifically responsible for the Emacs Lisp Manual to come up with a
clear small example.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog http://lars.ingebrigtsen.no/
>
--
Le
This bug report was last modified 13 years and 307 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.