Subject: bug#24969: 26.0.50; number-at-point

From: Stephen Berman <[email-masked]>
Date: Sun, 20 Nov 2016 13:53:13 +0100

On Sun, 20 Nov 2016 13:47:50 +0100 Andreas Röhler <[email-masked]> wrote:

> After evaluating show-number in buffer of contents below, it should jump to
> char "1" and return them, but returns nil.
>
> ;;;
>
> foo-1
>
> (defun show-number ()
>   (interactive)
>   (goto-char 5)
>   (message "%s" (number-at-point)))
>
> ;;;

When I try your recipe, point jumps to the - sign and the echo area
displays -1.

> In GNU Emacs 26.0.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.5) of 2016-11-15

I'm using
GNU Emacs 26.0.50.17 (x86_64-suse-linux-gnu, GTK+ Version 3.14.15)
 of 2016-11-18
(built from commit 0d913da15c094bf596dd685acecf3438228c15cf from master)

Steve Berman