* bug#3155: marked as done (23.0.92; doc string of assoc-default)
2009-04-28 21:02 ` bug#3155: 23.0.92; doc string of assoc-default Drew Adams
@ 2009-04-29 4:55 ` Emacs bug Tracking System
0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2009-04-29 4:55 UTC (permalink / raw)
To: Chong Yidong
[-- Attachment #1: Type: text/plain, Size: 858 bytes --]
Your message dated Wed, 29 Apr 2009 00:47:00 -0400
with message-id <87skjsxe0r.fsf@cyd.mit.edu>
and subject line Re: 23.0.92; doc string of assoc-default
has caused the Emacs bug report #3155,
regarding 23.0.92; doc string of assoc-default
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)
--
3155: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3155
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
[-- Attachment #2: Type: message/rfc822, Size: 3630 bytes --]
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
Subject: 23.0.92; doc string of assoc-default
Date: Tue, 28 Apr 2009 14:02:17 -0700
Message-ID: <00c101c9c844$9d9ec850$0200a8c0@us.oracle.com>
Doc string:
Find object KEY in a pseudo-alist ALIST.
ALIST is a list of conses or objects. Each element (or the element's car,
if it is a cons) is compared with key by evaluating (TEST (car elt) KEY).
If that is non-nil, the element matches;
then `assoc-default' returns the element's cdr, if it is a cons,
or DEFAULT if the element is not a cons.
If no element matches, the value is nil.
If TEST is omitted or nil, `equal' is used.
This part is incorrect when the element is not a cons: "by evaluating
(TEST (car elt) KEY)" (not to mention the fact that "elt" is
undefined/unexplained). It should say something like "by calling TEST
on KEY and the element (or the element's car, if it is a cons)."
(The Elisp manual explanation is correct.)
In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
of 2009-03-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
[-- Attachment #3: Type: message/rfc822, Size: 1668 bytes --]
From: Chong Yidong <cyd@stupidchicken.com>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 3155-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.92; doc string of assoc-default
Date: Wed, 29 Apr 2009 00:47:00 -0400
Message-ID: <87skjsxe0r.fsf@cyd.mit.edu>
> Find object KEY in a pseudo-alist ALIST. ALIST is a list of conses
> or objects. Each element (or the element's car, if it is a cons) is
> compared with key by evaluating (TEST (car elt) KEY). If that is
> non-nil, the element matches; then `assoc-default' returns the
> element's cdr, if it is a cons, or DEFAULT if the element is not a
> cons.
> If no element matches, the value is nil.
> If TEST is omitted or nil, `equal' is used.
> This part is incorrect when the element is not a cons: "by evaluating
> (TEST (car elt) KEY)" (not to mention the fact that "elt" is
> undefined/unexplained).
Fixed.
^ permalink raw reply [flat|nested] 2+ messages in thread