GNU bug report logs - #35921
26.2; Clarify how does equal-including-properties compare text properties

Previous Next

Package: emacs;

Reported by: Xu Chunyang <mail <at> xuchunyang.me>

Date: Mon, 27 May 2019 05:06:02 UTC

Severity: normal

Tags: confirmed, patch

Merged with 6581

Found in versions 24.5, 29.0.50, 25.0.94, 24.0.50, 26.2

Fixed in version 29.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35921 in the body.
You can then email your comments to 35921 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#35921; Package emacs. (Mon, 27 May 2019 05:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xu Chunyang <mail <at> xuchunyang.me>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 27 May 2019 05:06:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xu Chunyang <mail <at> xuchunyang.me>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.2;
 Clarify how does equal-including-properties compare text properties
Date: Mon, 27 May 2019 13:05:14 +0800
Hi,

I expect the following returns t, however it doesn't

    (equal-including-properties
     #("a" 0 1 (face (:foreground "#bcc201")))
     #("a" 0 1 (face (:foreground "#bcc201"))))
    ;; => nil

it seems equal-including-properties uses `eq` to compare text properties
instead of `equal`, but the docstring doesn't mention this and the info
manual doesn't say this very clearly, maybe it's worth improving?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#35921; Package emacs. (Mon, 27 May 2019 11:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 35921 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Xu Chunyang <mail <at> xuchunyang.me>
Cc: 35921 <at> debbugs.gnu.org
Subject: Re: bug#35921: 26.2;
 Clarify how does equal-including-properties compare text properties
Date: Mon, 27 May 2019 07:13:05 -0400
merge 35921 6581 
quit

Xu Chunyang <mail <at> xuchunyang.me> writes:

> it seems equal-including-properties uses `eq` to compare text properties
> instead of `equal`, but the docstring doesn't mention this and the info
> manual doesn't say this very clearly

It's a bug.





Merged 6581 35921. Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 27 May 2019 11:14:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Wed, 20 Oct 2021 14:51:02 GMT) Full text and rfc822 format available.

bug Marked as found in versions 29.0.50. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 21 Oct 2021 19:45:06 GMT) Full text and rfc822 format available.

bug marked as fixed in version 29.1, send any further explanations to 6581 <at> debbugs.gnu.org and Christian Ohler <ohler+emacs <at> fastmail.net> Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2021 02:26:02 GMT) Full text and rfc822 format available.

Removed tag(s) easy. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 31 Oct 2021 14:19:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 Nov 2021 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 149 days ago.

Previous Next


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