[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since co
From: |
Lars Ingebrigtsen |
Subject: |
bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a |
Date: |
Tue, 21 Dec 2021 12:03:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> So basically, the "thing" should have the field property on its
> characters? And testing for that property at point, and refraining
> from narrowing if there's no such property, still leaves the code too
> slow?
No, if we do that, it should be plenty fast. But it's slightly
different from what `(goto-char field-beginning)' (for instance) does --
if we're not in a field, it'll take us to the end of the previous field.
(I.e., it considers a section of text that has no `field' parameter to
be a field in itself.)
But I think we can just document that small quirk in `thing-at-point'
and still get the intended `field' action in most things... perhaps.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, (continued)
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Lars Ingebrigtsen, 2021/12/19
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Lars Ingebrigtsen, 2021/12/19
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Lars Ingebrigtsen, 2021/12/19
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Eli Zaretskii, 2021/12/19
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Lars Ingebrigtsen, 2021/12/20
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Eli Zaretskii, 2021/12/20
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a,
Lars Ingebrigtsen <=
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Kang Niu, 2021/12/21
- bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Lars Ingebrigtsen, 2021/12/22
- bug#52593: [External] : bug#52593: 28.0.90; (thing-at-point thing) has so much overhead since commit 7db376e560448e61485ba054def8c82b21f33d6a, Drew Adams, 2021/12/24