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

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

bug#49588: 28.0.50; (number-at-point) doesn't work with hex prefixes


From: Lars Ingebrigtsen
Subject: bug#49588: 28.0.50; (number-at-point) doesn't work with hex prefixes
Date: Fri, 16 Jul 2021 11:48:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"Remington Furman" <remington@remcycles.net> writes:

> (number-at-point) works as expected and returns 256 when the point is at
> the "#" of "#x100".  It returns nil when the point is on "x", and 100
> elsewhere.
>
> The following works as expected (though I don't suggest it's the best
> possible implementation):

Thanks; I think that implementation makes sense, so I've added it to
Emacs 28 (with some test cases).

This change was small enough to apply without assigning copyright to the
FSF, but for future patches you want to submit, it might make sense to
get the paperwork started now, so that subsequent patches can be applied
speedily. Would you be willing to sign such paperwork?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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