From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24969: 26.0.50; number-at-point Date: Sun, 20 Nov 2016 09:15:19 -0500 Message-ID: <87twb2jkzs.fsf@users.sourceforge.net> References: <87fumm9uti.fsf@gmx.net> <2b644637-6ade-b00f-aa35-07c390fc92c7@easy-emacs.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1479651313 11705 195.159.176.226 (20 Nov 2016 14:15:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2016 14:15:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Stephen Berman , 24969@debbugs.gnu.org To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 20 15:15:09 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8Stg-0002K6-1D for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2016 15:15:08 +0100 Original-Received: from localhost ([::1]:45079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8Stj-000335-Hg for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2016 09:15:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8Std-0002zb-AB for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 09:15:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8Sta-0001Vf-4F for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 09:15:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8Sta-0001VZ-0p for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 09:15:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8StZ-0001qi-Se for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 09:15:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2016 14:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24969 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24969-submit@debbugs.gnu.org id=B24969.14796512757048 (code B ref 24969); Sun, 20 Nov 2016 14:15:01 +0000 Original-Received: (at 24969) by debbugs.gnu.org; 20 Nov 2016 14:14:35 +0000 Original-Received: from localhost ([127.0.0.1]:35738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8St9-0001pX-2Q for submit@debbugs.gnu.org; Sun, 20 Nov 2016 09:14:35 -0500 Original-Received: from mail-it0-f68.google.com ([209.85.214.68]:36036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8St7-0001pE-4k; Sun, 20 Nov 2016 09:14:33 -0500 Original-Received: by mail-it0-f68.google.com with SMTP id n68so11885392itn.3; Sun, 20 Nov 2016 06:14:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=pwr6zGaJH45Hf8y8gI+e6w4QVxvsPi5FwSCQ5jwnuTQ=; b=EawNiR96Le34TtqxRPFsnt0oYk879xtm375vmVdidbJgO2cNDfqpTHbzApt/1US1bK UPy4K8awGiqmYuZLpcJb7b6ATYoI8GmFzNO43uM3meLNi6CMMpF/I3byy0Y+H0Ix6j9+ KRwF9RXSzcnRZs9ztd7CKTeJDSHnLdmZ7VLANy6o9qU+q1agIKskHzkO1JOw5N2NYp+y 5r+DQCyCJh/dLqpPitdL9JyJtku7BMc2JU/lRgjoFiZMXi1TY943X9z3vP6EkPz52/i7 apFJhE+7IXFWEmy3pT/NeV8bjiZnLicUn5bX/PWNLma7B6byPDVj/D3fKIUH0SURe9kV FDIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=pwr6zGaJH45Hf8y8gI+e6w4QVxvsPi5FwSCQ5jwnuTQ=; b=Jfdz6jePuTjbBBh4FHtbM7xDmUKR+yYMaQ7N3XZZRU82gb+WD7ctbmDGK6s1/Piubu ICstexF9MKW71F0TSobJy0+NSz8MIVwNxgLRADUkGApygH/XQ3UbApS8ZoD0NyCkgR98 70BhUHUjODxulhgV89BzKCyw2JPbGZU85QW9PJnMOfv5j+NjhalbZROvK+RljCJ0Wilm 990CBprT2BE/t47juDBU3MAG2gTRd1StrpMlQnCy9i212K3gwEne4eBA8Y+8ap4TWMrT dA+tC7LPqkj41EeXvc1j/F3k1bFMtPY1V/uUWZzxVUDsm9AutzwBb83Ab/lVMfonPZ6W 1wDQ== X-Gm-Message-State: AKaTC00vS0CZUIq1RpyHQE1AviamdgYMWvF50OnZGb+zz6vb22aUWvTplvkCyMlBaKNJtw== X-Received: by 10.36.163.8 with SMTP id p8mr5561322ite.92.1479651267675; Sun, 20 Nov 2016 06:14:27 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id q19sm6391013ioi.36.2016.11.20.06.14.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 20 Nov 2016 06:14:27 -0800 (PST) In-Reply-To: <2b644637-6ade-b00f-aa35-07c390fc92c7@easy-emacs.de> ("Andreas \=\?utf-8\?Q\?R\=C3\=B6hler\=22's\?\= message of "Sun, 20 Nov 2016 14:53:50 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125898 Archived-At: tags 24969 unreproducible quit Andreas R=C3=B6hler writes: > On 20.11.2016 13:53, Stephen Berman wrote: >> On Sun, 20 Nov 2016 13:47:50 +0100 Andreas R=C3=B6hler wrote: >> >>> After evaluating show-number in buffer of contents below, it should jum= p 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 > Seems there is a leading whitespace. > > >> and the echo area >> displays -1. > > Here with that start from minus-sign equally nil is returned. > > Thanks I get -1 here too. GNU Emacs 26.0.50.15 (x86_64-unknown-linux-gnu, X toolkit) of 2016-11-19