From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24969: 26.0.50; number-at-point Date: Sun, 20 Nov 2016 08:19:28 -0800 (PST) Message-ID: References: <87fumm9uti.fsf@gmx.net> <2b644637-6ade-b00f-aa35-07c390fc92c7@easy-emacs.de> <87twb2jkzs.fsf@users.sourceforge.net> 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 1479658811 29340 195.159.176.226 (20 Nov 2016 16:20:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2016 16:20:11 +0000 (UTC) Cc: Stephen Berman , 24969@debbugs.gnu.org To: npostavs@users.sourceforge.net, 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 17:20:07 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 1c8Uqc-00077A-Ob for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2016 17:20:06 +0100 Original-Received: from localhost ([::1]:45404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8Uqg-0007JP-AR for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2016 11:20:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c8Uqa-0007Iy-WD for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 11:20:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c8UqX-0005Di-Ok for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 11:20:04 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c8UqX-0005Dd-LL for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 11:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c8UqX-00073G-Gg for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2016 11:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2016 16:20: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: unreproducible Original-Received: via spool by 24969-submit@debbugs.gnu.org id=B24969.147965878327075 (code B ref 24969); Sun, 20 Nov 2016 16:20:01 +0000 Original-Received: (at 24969) by debbugs.gnu.org; 20 Nov 2016 16:19:43 +0000 Original-Received: from localhost ([127.0.0.1]:36274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8UqF-00072d-FV for submit@debbugs.gnu.org; Sun, 20 Nov 2016 11:19:43 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:40944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8UqD-00072M-Gv for 24969@debbugs.gnu.org; Sun, 20 Nov 2016 11:19:42 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id uAKGJYkd023731 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Nov 2016 16:19:35 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id uAKGJXbi019152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 20 Nov 2016 16:19:34 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id uAKGJTMg019665; Sun, 20 Nov 2016 16:19:31 GMT In-Reply-To: <87twb2jkzs.fsf@users.sourceforge.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:125903 Archived-At: > tags 24969 unreproducible > quit Dunno what this is all about, why some of you are seeing a number returned (or printed in a message), or why any of you would expect that to be the case. In Emacs 25.1 (emacs -Q), `number-at-point' at either the `-' or the `1' returns nil, for me. And I do not see why it should return a number. `number-at-point' is defined using `form-at-point' with THING `sexp' and predicate `numberp'. The sexp picked up at point is `foo-1', and that fails `numberp'. What am I missing? Why should this rightfully return a number? I'm guessing that you are all using a more recent version of `number-at-point' than what is in Emacs 25.1 (?). But to me the Emacs 25.1 behavior I see (i.e., returning nil) is correct. Did someone change the meaning of `number-at-point' so that it now picks up a numeral that is not isolated? If so, why would that be considered proper behavior? At the very least it is not backward-compatible behavior. (Hoping I'm just misunderstanding something here.)