all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: text-property-any
Date: Fri, 25 Jan 2008 23:51:19 +0100	[thread overview]
Message-ID: <87zlutr02g.fsf@escher.local.home> (raw)
In-Reply-To: jwvy7adlx9i.fsf-monnier+emacs@gnu.org

On Fri, 25 Jan 2008 10:51:56 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote:

>> 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.

Sounds like a good idea.

Steve Berman

  reply	other threads:[~2008-01-25 22: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 ` text-property-any Stefan Monnier
2008-01-25 22:51   ` Stephen Berman [this message]
  -- 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zlutr02g.fsf@escher.local.home \
    --to=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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.