From: Stephen Berman <stephen.berman@gmx.net>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 24969@debbugs.gnu.org
Subject: bug#24969: 26.0.50; number-at-point
Date: Sun, 20 Nov 2016 13:53:13 +0100 [thread overview]
Message-ID: <87fumm9uti.fsf@gmx.net> (raw)
In-Reply-To: <af3ff6ff-bd7b-187b-59c6-8414cd3049cd@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Sun, 20 Nov 2016 13:47:50 +0100")
On Sun, 20 Nov 2016 13:47:50 +0100 Andreas Röhler <andreas.roehler@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
next prev parent reply other threads:[~2016-11-20 12:53 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-20 12:47 bug#24969: 26.0.50; number-at-point Andreas Röhler
2016-11-20 12:53 ` Stephen Berman [this message]
2016-11-20 13:53 ` Andreas Röhler
2016-11-20 14:15 ` npostavs
2016-11-20 16:19 ` Drew Adams
2016-11-20 16:35 ` Noam Postavsky
2016-11-20 16:58 ` Drew Adams
2016-11-20 19:26 ` Andreas Röhler
2016-11-20 21:28 ` Drew Adams
2016-11-21 6:48 ` Andreas Röhler
2016-11-21 14:22 ` Drew Adams
2016-11-21 13:09 ` Tino Calancha
2016-11-21 23:07 ` Drew Adams
2016-11-22 8:45 ` Andreas Röhler
2021-08-10 16:18 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fumm9uti.fsf@gmx.net \
--to=stephen.berman@gmx.net \
--cc=24969@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.