GNU bug report logs - #6581
24.0.50; `equal-including-properties' uses `eq' to compare property values

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Christian Ohler <ohler+emacs@HIDDEN>; Keywords: confirmed easy; dated Wed, 7 Jul 2010 15:15:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) easy. Request was from npostavs@HIDDEN to control <at> debbugs.gnu.org. Full text available.
bug Marked as found in versions 25.0.94. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug Marked as found in versions 24.5. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) confirmed. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 19:53:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 13 14:53:47 2015
Received: from localhost ([127.0.0.1]:55818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YB7X9-0001F3-1a
	for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 14:53:47 -0500
Received: from mercure.iro.umontreal.ca ([132.204.24.67]:37117)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YB7X7-0001Ew-EY
 for 6581 <at> debbugs.gnu.org; Tue, 13 Jan 2015 14:53:45 -0500
Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca
 [132.204.27.50])
 by mercure.iro.umontreal.ca (Postfix) with ESMTP id 2CA0085E7F;
 Tue, 13 Jan 2015 14:53:45 -0500 (EST)
Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca
 [132.204.27.242])
 by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 6E3571E5B74;
 Tue, 13 Jan 2015 14:53:22 -0500 (EST)
Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848)
 id 5F75BB4102; Tue, 13 Jan 2015 14:53:22 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#6581: 24.0.50;
 `equal-including-properties' uses `eq' to compare property values
Message-ID: <jwvr3uy31as.fsf-monnier+emacsbugs@HIDDEN>
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
 <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
 <54B53D6B.5050903@HIDDEN>
Date: Tue, 13 Jan 2015 14:53:22 -0500
In-Reply-To: <54B53D6B.5050903@HIDDEN> (Dmitry Gutov's message of "Tue, 13
 Jan 2015 18:44:43 +0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-DIRO-MailScanner-Information: Please contact the ISP for more information
X-DIRO-MailScanner: Found to be clean
X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel,
 SpamAssassin (score=-2.82, requis 5, autolearn=not spam,
 ALL_TRUSTED -2.82, MC_TSTLAST 0.00)
X-DIRO-MailScanner-From: monnier@HIDDEN
X-Spam-Status: No
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org, Christian Ohler <ohler+emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

>> The intention is to use `equal-including-properties' when
>> comparing the property values.
> So you agree the behavior should be fixed?

Yes.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 15:44:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 13 10:44:57 2015
Received: from localhost ([127.0.0.1]:55546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YB3eK-0003QB-QY
	for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:44:57 -0500
Received: from mail-lb0-f179.google.com ([209.85.217.179]:50641)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1YB3eH-0003Pv-Dm
 for 6581 <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:44:54 -0500
Received: by mail-lb0-f179.google.com with SMTP id z11so3220085lbi.10
 for <6581 <at> debbugs.gnu.org>; Tue, 13 Jan 2015 07:44:46 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=cNwWJkTPdYJRnRHSHtNmvaCL8rRDjsPL9/Qfxm9huXE=;
 b=HeM9MUYH0KR6UyMToYjvIwF9UzZRVjFjePgZE1BChH4BSPsMwwXPRV+nAfLPhhX29F
 v36mB7PYGMI6YNDm0J6gdBkmdfOPw5vTe/8sDOKPGEMGZKDdNSy4UBCDQ9Fo5wQNfDxo
 s6hrJlnNJW6uiuj5D0DymwOdY5MJJEqMukSJSMaruSVHRLbf/Q5rOTX6K6eburTuPMoE
 l21I623DsbvxhXSKUgte3TiYUHYLPVpNYk0BejjTaS39MvXg1R6g6WsjDVppLHJlmo9B
 eAsD5G0ySzvOhJRPyrYmk2Eg6gT4/3W6NYnrcVgnb5zxfAdgXF364ZXbReQ4eQMtPlkn
 gV4A==
X-Received: by 10.112.132.2 with SMTP id oq2mr42968252lbb.11.1421163886881;
 Tue, 13 Jan 2015 07:44:46 -0800 (PST)
Received: from [192.168.1.3] ([178.252.98.87])
 by mx.google.com with ESMTPSA id v8sm945315lae.6.2015.01.13.07.44.45
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 13 Jan 2015 07:44:46 -0800 (PST)
Message-ID: <54B53D6B.5050903@HIDDEN>
Date: Tue, 13 Jan 2015 18:44:43 +0300
From: Dmitry Gutov <dgutov@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:33.0) Gecko/20100101 Thunderbird/33.0
MIME-Version: 1.0
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#6581: 24.0.50; `equal-including-properties' uses `eq'
 to compare property values
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
 <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
In-Reply-To: <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org, Christian Ohler <ohler+emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 01/13/2015 06:23 PM, Stefan Monnier wrote:

> The intention is to use `equal-including-properties' when
> comparing the property values.

So you agree the behavior should be fixed?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 15:34:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 13 10:34:04 2015
Received: from localhost ([127.0.0.1]:55540 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YB3Tn-000390-LQ
	for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:34:03 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:48229)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1YB3Tl-00038W-G4
 for 6581 <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:34:02 -0500
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 t0DFXrUS011021
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Tue, 13 Jan 2015 15:33:54 GMT
Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231])
 by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0DFXpbP017782
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
 Tue, 13 Jan 2015 15:33:52 GMT
Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9])
 by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0DFXpQM017769;
 Tue, 13 Jan 2015 15:33:51 GMT
MIME-Version: 1.0
Message-ID: <684f088f-94ac-48e6-8d70-239c35b3ce5a@default>
Date: Tue, 13 Jan 2015 07:33:51 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>, Dmitry Gutov <dgutov@HIDDEN>
Subject: RE: bug#6581: 24.0.50; `equal-including-properties' uses `eq' to
 compare property values
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
 <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
In-Reply-To: <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2  (807160) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org, Christian Ohler <ohler+emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

> > I've just hit this bug today.  Half an hour wasted.
>=20
> The intention is to use `equal-including-properties' when
> comparing the property values.

Whatever the intended use is, the behavior should be specified
in the predicate's doc.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 15:23:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 13 10:23:44 2015
Received: from localhost ([127.0.0.1]:55529 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YB3Jn-0002sd-TY
	for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:23:44 -0500
Received: from mercure.iro.umontreal.ca ([132.204.24.67]:43857)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1YB3Jm-0002sV-7s
 for 6581 <at> debbugs.gnu.org; Tue, 13 Jan 2015 10:23:42 -0500
Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca
 [132.204.27.50])
 by mercure.iro.umontreal.ca (Postfix) with ESMTP id 1D40685AAC;
 Tue, 13 Jan 2015 10:23:42 -0500 (EST)
Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca
 [132.204.27.242])
 by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5CEDB1E5B8B;
 Tue, 13 Jan 2015 10:23:19 -0500 (EST)
Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848)
 id 3B891B4102; Tue, 13 Jan 2015 10:23:19 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>
Subject: Re: bug#6581: 24.0.50;
 `equal-including-properties' uses `eq' to compare property values
Message-ID: <jwvtwzu66yo.fsf-monnier+emacsbugs@HIDDEN>
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
Date: Tue, 13 Jan 2015 10:23:19 -0500
In-Reply-To: <86bnm3igle.fsf@HIDDEN> (Dmitry Gutov's message of "Tue, 13
 Jan 2015 05:01:33 +0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-DIRO-MailScanner-Information: Please contact the ISP for more information
X-DIRO-MailScanner: Found to be clean
X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel,
 SpamAssassin (score=-2.82, requis 5, autolearn=not spam,
 ALL_TRUSTED -2.82, MC_TSTLAST 0.00)
X-DIRO-MailScanner-From: monnier@HIDDEN
X-Spam-Status: No
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org, Christian Ohler <ohler+emacs@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

> I've just hit this bug today.  Half an hour wasted.

The intention is to use `equal-including-properties' when
comparing the property values.


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 02:27:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 12 21:27:12 2015
Received: from localhost ([127.0.0.1]:54836 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YArCK-0000d6-29
	for submit <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:27:12 -0500
Received: from mail-lb0-f169.google.com ([209.85.217.169]:53189)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1YArCH-0000bI-WF
 for 6581 <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:27:10 -0500
Received: by mail-lb0-f169.google.com with SMTP id p9so385904lbv.0
 for <6581 <at> debbugs.gnu.org>; Mon, 12 Jan 2015 18:27:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject
 :references:in-reply-to:content-type:content-transfer-encoding;
 bh=92ytxVYAXP/TPc/mQLQrkA1pXefIJXMEPvPPeBY1PiI=;
 b=iJqAx2GdtBA9BnsWa7T47u9z1kFHO/ZzELXXeHhbPD8qKoznurusgLKzdzaQ4usNFq
 AHBx/FgayTRTykojsVaeNCN5x9qcxrlCEz9M/KdV02rFUvtlY5HyGhBK+c99cz1vi75A
 //Q2Rtp/TQ7atiSOLXSQR+psiYUWEMVTo0Dpe1FT+4r2BPcpMQgdX1MkoFA/CcFw0lJ2
 SIU7Fl96mLn4rWCgyxkBGIGbf9YYEPQpQxJcpjO+RYoNnexaLrVN9LbQddMaHN+ef8FW
 p0WlRcKKanTZWUrlfSg2Ik1NCcJG//hLhWaOEOur3mYtywI7BStq6uYMPlFiJN4gWECX
 6TYw==
X-Received: by 10.152.164.232 with SMTP id yt8mr40119106lab.7.1421116024137;
 Mon, 12 Jan 2015 18:27:04 -0800 (PST)
Received: from [192.168.1.3] ([178.252.98.87])
 by mx.google.com with ESMTPSA id l1sm458225lag.11.2015.01.12.18.27.03
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 12 Jan 2015 18:27:03 -0800 (PST)
Message-ID: <54B48275.2060206@HIDDEN>
Date: Tue, 13 Jan 2015 05:27:01 +0300
From: Dmitry Gutov <dgutov@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
 rv:33.0) Gecko/20100101 Thunderbird/33.0
MIME-Version: 1.0
To: Drew Adams <drew.adams@HIDDEN>,
 Christian Ohler <ohler+emacs@HIDDEN>
Subject: Re: bug#6581: 24.0.50; `equal-including-properties' uses `eq'
 to compare property values
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
 <85969e69-2ab9-4cd9-a2dc-0278d1838666@default>
In-Reply-To: <85969e69-2ab9-4cd9-a2dc-0278d1838666@default>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 01/13/2015 05:23 AM, Drew Adams wrote:

> There certainly is *at least* a doc bug.

Yup.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 02:23:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 12 21:23:16 2015
Received: from localhost ([127.0.0.1]:54832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YAr8W-0008CP-Ar
	for submit <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:23:16 -0500
Received: from userp1040.oracle.com ([156.151.31.81]:16621)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <drew.adams@HIDDEN>) id 1YAr8U-0008Ag-4T
 for 6581 <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:23:14 -0500
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
 by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 t0D2N7FO032446
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
 Tue, 13 Jan 2015 02:23:08 GMT
Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
 by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id t0D2N6rb025248
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
 Tue, 13 Jan 2015 02:23:06 GMT
Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11])
 by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id t0D2N5b0025185;
 Tue, 13 Jan 2015 02:23:05 GMT
MIME-Version: 1.0
Message-ID: <85969e69-2ab9-4cd9-a2dc-0278d1838666@default>
Date: Mon, 12 Jan 2015 18:23:04 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
To: Dmitry Gutov <dgutov@HIDDEN>, Christian Ohler <ohler+emacs@HIDDEN>
Subject: RE: bug#6581: 24.0.50; `equal-including-properties' uses `eq' to
 compare property values
References: <4C348D05.9000601@HIDDEN> <86bnm3igle.fsf@HIDDEN>
In-Reply-To: <86bnm3igle.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2  (807160) [OL
 12.0.6691.5000 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

> I've just hit this bug today.  Half an hour wasted.

There certainly is *at least* a doc bug.  Users of such
a function at least need to be told how the text property
values are compared.  That's a minimum for the doc of any
equality predicate: say just what equality means in this
case.

Both the doc string and the Elisp manual (node `Equality
Predicates') are deficient.

In addition, a reasonable enhancement might be (now) to
accept an optional comparison (equality) predicate,
especially to be able to work around the designed behavior.

But I'm guessing that the default behavior could/should
not be changed at this point, because existing code
could break.

Just call out the *actual behavior*, clearly and completely.
Even LOUDLY, as this is truly a gotcha.  (And one needs to
check C code to see what the function really does.)

This predicate was added after Emacs 20 (after 21 perhaps?).
It's a bit surprising that no one has thought of completing
the doc - at least.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at 6581 <at> debbugs.gnu.org:


Received: (at 6581) by debbugs.gnu.org; 13 Jan 2015 02:01:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 12 21:01:43 2015
Received: from localhost ([127.0.0.1]:54827 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YAqnf-0006BR-F9
	for submit <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:01:43 -0500
Received: from mail-la0-f52.google.com ([209.85.215.52]:39397)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <raaahh@HIDDEN>) id 1YAqnd-0006BA-W0
 for 6581 <at> debbugs.gnu.org; Mon, 12 Jan 2015 21:01:42 -0500
Received: by mail-la0-f52.google.com with SMTP id hs14so279012lab.11
 for <6581 <at> debbugs.gnu.org>; Mon, 12 Jan 2015 18:01:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-type;
 bh=K75hqP+NFaK7aTuBxVTcDSw1GFNR2OnYKZfC/AvK7RU=;
 b=tbV/n8jzx5yOT0VOgnH9AsYS/6mS3JgVw9nywVjcVNgTFGrNb0pfiaH2hYPzTziCaR
 +o4WxnZ6/teuPyM5iI+IST9tJJY28oAeA1nGRIL42nA9A7CKaB5EI1qdBK9O/tZWHk6W
 EBweHAZNcsORJhHzrtER4XDC6YPzbZlcTMhtdKSpLJJWmJw61HeCtu33qmrp1OMG5tdR
 SBgV4hJqeOK/0OAHRiPABjvZ8t0kUDehRNcRsGXU5DFH5bkv56Yq4aKew9pE3fDdXxKi
 GgIwOsAIDksd+58DrUKfZ3Qi0lwZMHTKs5SNK4DO3afVs+qW9belkcGUEXJSP+OXH6Hk
 Qqlg==
X-Received: by 10.152.87.12 with SMTP id t12mr39752360laz.31.1421114496059;
 Mon, 12 Jan 2015 18:01:36 -0800 (PST)
Received: from axl ([178.252.98.87])
 by mx.google.com with ESMTPSA id v9sm4575433lbf.14.2015.01.12.18.01.34
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 12 Jan 2015 18:01:35 -0800 (PST)
From: Dmitry Gutov <dgutov@HIDDEN>
To: Christian Ohler <ohler+emacs@HIDDEN>
Subject: Re: bug#6581: 24.0.50;
 `equal-including-properties' uses `eq' to compare property values
References: <4C348D05.9000601@HIDDEN>
Date: Tue, 13 Jan 2015 05:01:33 +0300
In-Reply-To: <4C348D05.9000601@HIDDEN> (Christian Ohler's message of
 "Thu, 08 Jul 2010 00:19:49 +1000")
Message-ID: <86bnm3igle.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 6581
Cc: 6581 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

I've just hit this bug today.  Half an hour wasted.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Jul 2010 15:14:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 07 11:14:15 2010
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1OWWKE-0005sK-NY
	for submit <at> debbugs.gnu.org; Wed, 07 Jul 2010 11:14:15 -0400
Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <ohler+emacs@HIDDEN>) id 1OWVU7-0005V8-69
	for submit <at> debbugs.gnu.org; Wed, 07 Jul 2010 10:20:24 -0400
Received: from lists.gnu.org ([199.232.76.165]:47322)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <ohler+emacs@HIDDEN>) id 1OWVU2-0007je-8v
	for submit <at> debbugs.gnu.org; Wed, 07 Jul 2010 10:20:18 -0400
Received: from [140.186.70.92] (port=52103 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1OWVU0-0004nN-Ny
	for bug-gnu-emacs@HIDDEN; Wed, 07 Jul 2010 10:20:17 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,
	T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69)
	(envelope-from <ohler+emacs@HIDDEN>) id 1OWVTz-0007cE-Ig
	for bug-gnu-emacs@HIDDEN; Wed, 07 Jul 2010 10:20:16 -0400
Received: from out3.smtp.messagingengine.com ([66.111.4.27]:53046)
	by eggs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <ohler+emacs@HIDDEN>) id 1OWVTz-0007br-Fe
	for bug-gnu-emacs@HIDDEN; Wed, 07 Jul 2010 10:20:15 -0400
Received: from compute1.internal (compute1.internal [10.202.2.41])
	by gateway1.messagingengine.com (Postfix) with ESMTP id 381651266EF;
	Wed,  7 Jul 2010 10:19:54 -0400 (EDT)
Received: from heartbeat1.messagingengine.com ([10.202.2.160])
	by compute1.internal (MEProxy); Wed, 07 Jul 2010 10:19:54 -0400
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com;
	h=message-id:date:from:mime-version:to:subject:content-type:content-transfer-encoding;
	s=smtpout; bh=ru6GgCqbivt/PAgtPbujvdJthRw=;
	b=aqe8saY1xzOsSMAutBx39gA/IDoASBqPWfA3vu8/Kh+frFuS0FzZD3vkpQ1k8aYSZOFan/g0g9tLYP6r2xKkuHNUt//RrLe/Y4HQHnGUVmY9Fk1fYJy65ijDXUC7/8OzlcAnYkaY2zAf7Am8jbI+QMCXlTSD3L5FDVkbCXuNnlk=
X-Sasl-enc: Mkd2Jtv1PmIn0xERruQACXFDdyrtBYKYa3hMtmw2q8MT 1278512393
Received: from kraut.local (17.8.70.115.static.exetel.com.au [115.70.8.17])
	by mail.messagingengine.com (Postfix) with ESMTPSA id E21764F4D2E;
	Wed,  7 Jul 2010 10:19:52 -0400 (EDT)
Message-ID: <4C348D05.9000601@HIDDEN>
Date: Thu, 08 Jul 2010 00:19:49 +1000
From: Christian Ohler <ohler+emacs@HIDDEN>
MIME-Version: 1.0
To: bug-gnu-emacs@HIDDEN
Subject: 24.0.50; `equal-including-properties' uses `eq' to compare property
	values
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
	seldom 2.4 (older, 4)
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 07 Jul 2010 11:14:13 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.0 (-----)

I just noticed that, in my current Emacs (24.0.50.1, built from trunk a 
few weeks ago):

(equal-including-properties #("a" 0 1 (k "v")) #("a" 0 1 (k "v")))
=> nil

This is because these two strings both have a property with key `k', but 
the values are two different strings "v", and 
`equal-including-properties' appears to use `eq' to compare property 
values (I didn't verify this in the code).  Is this a bug, or is it 
intentional?

For comparison,

(equal-including-properties #("a" 0 1 (k v)) #("a" 0 1 (k v)))
=> t

since `v' is an interned symbol.

My expectation was that, since `equal' is recursively defined in terms 
of itself, `equal-including-properties' should also call itself 
recursively on property values.

Christian.




Acknowledgement sent to Christian Ohler <ohler+emacs@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#6581; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 12 Jun 2017 00:30:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.