[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Isearch setting of inhibit-point-motion-hooks too inflexible
From: |
Stefan Monnier |
Subject: |
Re: Isearch setting of inhibit-point-motion-hooks too inflexible |
Date: |
Tue, 29 Oct 2002 09:14:18 -0500 |
> The following patch against emacs 21.2 will add a new variable
> `isearch-inhibit-point-motion-hooks' and change `isearch-search' to
> make use of it.
>
> That would solve your problem, but since it is an all-or-nothing
> choice, we must expect that people using multiple packages will find
> that neither t nor nil gives good results for all of those packages.
>
> I wonder if we can find a solution where a single mode
> will work with various packages. Does someone recall why
> isearch currently wants inhibit-point-motion-hooks to be t
> if it can match in invisible text?
I think it's for intangible text (i.e. it doesn't just allow to
search in invisible text but also in invisible+intangible).
At least, the code is careful to make text tangible if it wasn't
before.
Stefan