GNU bug report logs - #11381
23.3; isearch-search-and-update issue?

Previous Next

Package: emacs;

Reported by: Andy Grover <andy <at> groveronline.com>

Date: Sun, 29 Apr 2012 23:00:02 UTC

Severity: wishlist

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: juri <at> jurta.org, 11381 <at> debbugs.gnu.org
Subject: bug#11381: 23.3; isearch-search-and-update issue?
Date: Mon, 28 May 2012 15:34:35 -0400
>> > Comparing two functions can be avoided by using properties
>> > on function symbols like in the patch below.
>> It's not perfect, but yes, it's much better.
> Actually, I very much dislike this "feature" of putting properties on
> function symbols, or at least the way we use it.

Agreed, hence the "not perfect".

> I say, either we start documenting these properties in the doc strings
> and in the manual, or we should deprecate and discourage the practice
> of using them.

For delsel, I think the answer is to not use properties (which is why
I insisted we use another mechanism for the shift-select and
delete-active-region thingies).

For the case at hand, it's more difficult to fold the functionality
directly into the function (that would make us turn those functions
into object-like functions, along the lines of what we do for
completion tables).

And, I agree that the docstring of isearch-search-fun-function should
then clearly document what the `isearch-message-prefix' means.


        Stefan




This bug report was last modified 12 years and 205 days ago.

Previous Next


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