[Top][All Lists]

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

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

From: Eli Zaretskii
Subject: bug#21391: 24.5; `thing-at-point' should return a string
Date: Mon, 07 Nov 2016 21:47:34 +0200

> Cc: address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Mon, 7 Nov 2016 21:12:07 +0200
> On 07.11.2016 17:14, Eli Zaretskii wrote:
> >> It's natural if `thing-at-point' returns the thing as a string.
> >> When the user don't want a string then s?he can use the specific
> >> functions, like `number-at-point' or `list-at-point'.
> >
> > Isn't that completely backward-incompatible?
> When thing is a number? Maybe. I don't imagine it's used very often.

But previously it could be used.  After this change, it would be

> > If so, I don't think we
> > can do that.
> It's pretty clearly a bug: most other "things" behave otherwise (list, 
> sexp, symbol). I'd very much rather we didn't retain conceptual problems 
> like that just for the sake of compatibility.

Not sure which behavior you have in mind.  The removal of properties?
Or something else?

reply via email to

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