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

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

[debbugs-tracker] bug#13620: closed (24.2.92; Doc: (cl) Equality Predica


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13620: closed (24.2.92; Doc: (cl) Equality Predicates: unclear role of `eql')
Date: Sun, 03 Feb 2013 19:42:02 +0000

Your message dated Sun, 03 Feb 2013 14:40:40 -0500
with message-id <address@hidden>
and subject line Re: bug#13620: 24.2.92; Doc: (cl) Equality Predicates: unclear 
role of `eql'
has caused the debbugs.gnu.org bug report #13620,
regarding 24.2.92; Doc: (cl) Equality Predicates: unclear role of `eql'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
13620: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13620
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.2.92; Doc: (cl) Equality Predicates: unclear role of `eql' Date: Sun, 03 Feb 2013 17:53:33 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux)
Hello Emacs people,

please read this last paragraph in the manual, node (cl) Equality
Predicates:

,----------------------------------------------------------------------
|    Also note that the Common Lisp functions `member' and `assoc' use
| `eql' to compare elements, whereas Emacs Lisp follows the MacLisp
| tradition and uses `equal' for these two functions.  In Emacs, use
| `memq' (or `cl-member') and `assq' (or `cl-assoc') to get functions
| which use `eql' for comparisons.
|`----------------------------------------------------------------------

I think the last sentence is wrong or at least damaged, because `memq'
and `assq' use `eq' (not `eql') for comparison (at least, this is what
the doc of these function says).

This is in emacs-24 as well as in trunk.

I created this report after reading under "About equality in Emacs" in
gnu.emacs.help.  Pascal Bourguignon mentioned that a prior version said

,----------------------------------------------------------------------
| "In Emacs, use `member*' and `assoc*' to get
| functions which use `eql' for comparisons."
`----------------------------------------------------------------------


Thanks,

Michael


In GNU Emacs 24.2.92.3 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
 of 2013-01-30 on drachen
Bzr revision: address@hidden
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
System Description:     Debian GNU/Linux 7.0 (wheezy)

Configured using:
 `configure '--prefix=/usr/local/built/''

Important settings:
  value of $LC_ALL: de_DE.utf8
  value of $LC_TIME: C
  value of $LANG: de_DE.utf8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t




--- End Message ---
--- Begin Message --- Subject: Re: bug#13620: 24.2.92; Doc: (cl) Equality Predicates: unclear role of `eql' Date: Sun, 03 Feb 2013 14:40:40 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.2.93

OK.


--- End Message ---

reply via email to

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