GNU bug report logs -
#34150
26.1; Document filtering with `isearch-filter-predicate' in Elisp manual
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Mon, 21 Jan 2019 00:18:01 UTC
Severity: normal
Found in version 26.1
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 21 Jan 2019 10:18:23 -0800 (PST)
> From: Drew Adams <drew.adams <at> oracle.com>
> Cc: 34150-done <at> debbugs.gnu.org
>
> > I don't see why the doc string shouldn't be enough. This is a quite
> > obscure feature, so I don't think it warrants to be described in the
> > manual.
>
> I disagree that it is obscure - or that it should be,
> at least.
??? Most searches don't need any filtering at all.
> > I modified the doc string to mention Isearch and replace commands.
>
> Thanks. And non-command functions such as `re-search-forward'?
Not primitives, no. This is a Lisp-only (application-level) feature.
> > > One thing that it would also be good to make extra clear is that
> > > filtering takes place _after_ input matching; it is not part of
> > > matching.
> >
> > How can it be part of matching, if the filter needs to be passed the
> > limits of the matched text?
>
> No one contests that impossibility.
>
> But it and its consequences are not necessarily
> obvious - especially to a user searching, as opposed
> to a programmer writing a filter predicate.
This is not a user-level facility, so the user perspective is not
relevant.
This bug report was last modified 6 years and 125 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.