From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Berman <Stephen.Berman@gmx.net>
Cc: emacs-devel@gnu.org
Subject: Re: text-property-any
Date: Fri, 25 Jan 2008 10:51:56 -0500 [thread overview]
Message-ID: <jwvy7adlx9i.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878x2erlbf.fsf@escher.local.home> (Stephen Berman's message of "Fri, 25 Jan 2008 16:12:20 +0100")
> The value of (text-property-any start end 'foo "bar") is always nil,
> because text-property-any in effect uses `eq' to check property values.
> Would there be bad consequences if it used `equal' instead?
There are places where code expects properties to be compared with
`eq', yes. So we could add what you're requesting, but only as
an option. E.g. add a "compare-function" option that can default to
`eq' but can be set to anything else you fancy.
Stefan
next prev parent reply other threads:[~2008-01-25 15:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-25 15:12 text-property-any Stephen Berman
2008-01-25 15:51 ` Stefan Monnier [this message]
2008-01-25 22:51 ` text-property-any Stephen Berman
-- strict thread matches above, loose matches on Subject: below --
2014-06-20 7:02 text-property-any Bois Francois-Xavier
2014-06-20 12:58 ` text-property-any Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvy7adlx9i.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=Stephen.Berman@gmx.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).