bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#3155: marked as done (23.0.92; doc string of assoc-default)


From: Emacs bug Tracking System
Subject: bug#3155: marked as done (23.0.92; doc string of assoc-default)
Date: Wed, 29 Apr 2009 04:55:04 +0000

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
--- Begin Message --- Subject: 23.0.92; doc string of assoc-default Date: Tue, 28 Apr 2009 14:02:17 -0700
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)'
 




--- End Message ---
--- Begin Message --- Subject: Re: 23.0.92; doc string of assoc-default Date: Wed, 29 Apr 2009 00:47:00 -0400
>  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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]