From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: About equality in Emacs Date: Sun, 03 Feb 2013 17:58:18 +0100 Message-ID: <87lib5ibbp.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1359910613 9086 80.91.229.3 (3 Feb 2013 16:56:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Feb 2013 16:56:53 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 03 17:57:11 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U22sR-0007u0-C0 for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Feb 2013 17:57:11 +0100 Original-Received: from localhost ([::1]:42259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U22s9-0002Zf-0D for geh-help-gnu-emacs@m.gmane.org; Sun, 03 Feb 2013 11:56:53 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U22s3-0002Za-HT for help-gnu-emacs@gnu.org; Sun, 03 Feb 2013 11:56:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U22s2-0004qT-Jc for help-gnu-emacs@gnu.org; Sun, 03 Feb 2013 11:56:47 -0500 Original-Received: from mout.web.de ([212.227.15.4]:63255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U22s2-0004qP-9p for help-gnu-emacs@gnu.org; Sun, 03 Feb 2013 11:56:46 -0500 Original-Received: from drachen.dragon ([188.98.97.108]) by smtp.web.de (mrweb003) with ESMTPA (Nemesis) id 0MUnaG-1UTdLc2lBc-00YPQh; Sun, 03 Feb 2013 17:56:45 +0100 Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: (Xue Fuqiao's message of "Sun, 3 Feb 2013 23:01:38 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (gnu/linux) X-Provags-ID: V02:K0:cXF52GUOeYQxbFS9Xy8MFjcvkPl6KaawKarUk85/lyu 2DUFWA7E7kwHHOQSp7PKLcr/ZvrStX/Pg2Q1XhPWKZ+1NYKkGj y270aXhnehkTYlH/ktntVjElko+XnLo3qtl2o58sCU+TWzjCeR UcbeOvUT49e/2kcKv53KcGb6OEo9nE/veAhsDcIp4col/4pE/0 F2GfD4mteZUCe6hI1AirxcfJ348FySsFvpFyJc5W38= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.4 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88929 Archived-At: Xue Fuqiao writes: > In the trunk version of (info "(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'm confused with the last sentence. Don't `memq' and `assq' compare > objects with `eq'? Why does the manual say that they "get functions > which use `eql' for comparisons"? Doesn't make much sense to me as well. I filed a bug report; it's now bug#13620. I think this sentence was just damaged when it was updated. Regards, Michael.