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: Juri Linkov <juri <at> jurta.org>
Cc: 11381 <at> debbugs.gnu.org
Subject: bug#11381: 23.3; isearch-search-and-update issue?
Date: Mon, 28 May 2012 00:23:10 -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.

> The same solution of using symbol properties could be used also
> for isearch filters to replace
> 	     (and (eq isearch-filter-predicate 'isearch-filter-visible)
> 		  search-invisible))
> with
> 	     (and (symbolp isearch-filter-predicate)
>                   (get isearch-filter-predicate 'visible)
> 		  search-invisible))

Yes, that might also help allowing isearch-filter-predicate to take
a list of functions.


        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.