[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48317: 27.1; text-property-search-forward moves point to end when no
From: |
Lars Ingebrigtsen |
Subject: |
bug#48317: 27.1; text-property-search-forward moves point to end when not found |
Date: |
Tue, 11 May 2021 14:32:31 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Howard Melman <hmelman@gmail.com> writes:
> What threw me (and I still think is problematic) is this line from the
> docstring:
>
> If not found, return nil and don't move point.
>
> And this line from the manual:
>
> If the text property can’t be found, the function returns ‘nil’.
I've now fixed the doc string in Emacs 28.
> Which I assume also infers point is not moved. If no region has the
> named property I can't see how it can be found and therefore point
> should not be moved. In fact I don't see how predicate even comes
> into play in this case.
I'm sorry, I don't follow you. It this still about
(text-property-search-forward 'facet 'foo)
? That works as designed, as far as I can tell. (But not as documented
in the Emacs 27.1 doc string.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/09
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Eli Zaretskii, 2021/05/09
- Message not available
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Eli Zaretskii, 2021/05/09
- Message not available
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Eli Zaretskii, 2021/05/09
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/09
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Lars Ingebrigtsen, 2021/05/10
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/10
- bug#48317: 27.1; text-property-search-forward moves point to end when not found,
Lars Ingebrigtsen <=
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Eli Zaretskii, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Lars Ingebrigtsen, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Lars Ingebrigtsen, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Stephen Berman, 2021/05/11
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Lars Ingebrigtsen, 2021/05/12
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Howard Melman, 2021/05/12
- bug#48317: 27.1; text-property-search-forward moves point to end when not found, Lars Ingebrigtsen, 2021/05/12