GNU bug report logs - #24969
26.0.50; number-at-point

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sun, 20 Nov 2016 12:40:02 UTC

Severity: minor

Tags: unreproducible

Found in version 26.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 24969 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 24969 <at> debbugs.gnu.org
Subject: Re: bug#24969: 26.0.50; number-at-point
Date: Sun, 20 Nov 2016 13:53:13 +0100
On Sun, 20 Nov 2016 13:47:50 +0100 Andreas Röhler <andreas.roehler <at> easy-emacs.de> 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




This bug report was last modified 3 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.