[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9300: 24.0.50; `bounds-of-thing-at-point' does not return nil when j
From: |
Lars Ingebrigtsen |
Subject: |
bug#9300: 24.0.50; `bounds-of-thing-at-point' does not return nil when just after THING |
Date: |
Thu, 28 Apr 2022 13:24:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> I'm not sure it should be fixed.
>
> Your reasoning seems valid, however by now this behavior is ingrained
> into my expectations of how thing-at-point should behave.
>
> This would be a breaking change. For instance, it will make
> (bounds-of-thing-at-point 'symbol) unsuitable for use in a
> completion-at-point-functions element, to compute the first two values
> of the returned list, because during completion you're most often
> "after" the symbol. And I do use it for that purpose in one
> third-party package.
So I think the conclusion here is that we don't want to change the
behaviour, and I'm therefore closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#9300: 24.0.50; `bounds-of-thing-at-point' does not return nil when just after THING,
Lars Ingebrigtsen <=