* bug#35921: 26.2; Clarify how does equal-including-properties compare text properties
@ 2019-05-27 5:05 Xu Chunyang
2019-05-27 11:13 ` Noam Postavsky
0 siblings, 1 reply; 2+ messages in thread
From: Xu Chunyang @ 2019-05-27 5:05 UTC (permalink / raw)
To: 35921
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#35921: 26.2; Clarify how does equal-including-properties compare text properties
2019-05-27 5:05 bug#35921: 26.2; Clarify how does equal-including-properties compare text properties Xu Chunyang
@ 2019-05-27 11:13 ` Noam Postavsky
0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2019-05-27 11:13 UTC (permalink / raw)
To: Xu Chunyang; +Cc: 35921
merge 35921 6581
quit
Xu Chunyang <mail@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-27 11:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 5:05 bug#35921: 26.2; Clarify how does equal-including-properties compare text properties Xu Chunyang
2019-05-27 11:13 ` Noam Postavsky
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).