GNU bug report logs -
#21391
24.5; `thing-at-point' returns error when called with arguments 'number t
Previous Next
Reported by: Tino Calancha <f92capac <at> gmail.com>
Date: Tue, 1 Sep 2015 01:57:01 UTC
Severity: minor
Found in version 24.5
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #127 received at 21391 <at> debbugs.gnu.org (full text, mbox):
On 10.11.2016 18:08, Eli Zaretskii wrote:
> There's a tension here between consistency and backward compatibility.
> And since this function was "inconsistent" for a very long time, I'm
> not sure losing backward compatibility can be justified by consistency
> at this point.
I believe I've touched on this already.
And another inconsistency:
(bounds-of-thing-at-point 'number) always returns nil.
> We'd also lose something else: some Lisp objects can be printed, but
> their printed representation cannot be read back. So for some
> objects, requiring thing-at-point to return a string would lose
> information.
We won't lose that if we go with either of my proposals: instead of
printing objects inside the thing-at-point function, we would require
that each returned thing is a string already. Any thing-at-point
function that returns a non-string will be considered non-conformant.
This bug report was last modified 4 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.