[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: Is it valid to call isearch-filter-predicate outsid
From: |
Drew Adams |
Subject: |
RE: [External] : Re: Is it valid to call isearch-filter-predicate outside isearch? |
Date: |
Fri, 2 Jun 2023 13:36:22 +0000 |
> Do you refer to
> (add-function :before
> (local 'isearch-filter-predicate)
> #'foo)?
>
> Two reasons:
> 1. I only vaguely understand how this works
> 2. It feels against the interface. If advising this predicate is
> expected, why not convert it into an abnormal hook?
Caveat: Not really following this thread. Might be misunderstanding you here.
Wrt #2: A hook doesn't provide the same flexibility as advice, e.g., before,
after, around.
(Wrt #1: Yes, advice is trickier than hooks.)
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Eli Zaretskii, 2023/06/01
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Juri Linkov, 2023/06/01
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/01
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Juri Linkov, 2023/06/01
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/01
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/02
- RE: [External] : Re: Is it valid to call isearch-filter-predicate outside isearch?,
Drew Adams <=
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/02
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/03
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/03
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/17
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/17
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/18
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/03
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/18
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Michael Heerdegen, 2023/06/18
- Re: Is it valid to call isearch-filter-predicate outside isearch?, Ihor Radchenko, 2023/06/19