bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#21391: 24.5; `thing-at-point' should return a string


From: Dmitry Gutov
Subject: bug#21391: 24.5; `thing-at-point' should return a string
Date: Fri, 11 Nov 2016 16:57:20 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0

On 11.11.2016 16:51, Eli Zaretskii wrote:

Improve it by describing whatever it is that is evident from the code
that is not evident from the doc string.

So we will enumerate how every built-in "thing" behaves? That still won't account for the third-party ones.

I don't understand why.  It's not like we don't have other functions
that can return different kinds of objects.

Because there is no rhyme or reason in the current behavior, no matter how you want to look at it.

E.g. symbols or sexps are not strings, and yet (thing-at-point 'symbol) and (thing-at-point 'sexp) return strings (or nil).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]