GNU bug report logs - #8634
24.0.50; `number-at-point' returns char value for `?' constructs - 1) doc, 2) new fns

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sat, 7 May 2011 15:31:02 UTC

Severity: minor

Tags: fixed

Found in version 24.0.50

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 8634 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: bug#8634: 24.0.50; `number-at-point' returns char value for `?' constructs - 1) doc, 2)	new fns
Date: Sun, 09 Feb 2014 19:59:31 -0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Cc: drew.adams <at> oracle.com,  8634 <at> debbugs.gnu.org
>> Date: Sun, 09 Feb 2014 17:04:57 -0800
>> 
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>> > Are you saying that "M-: (number-at-point) RET" with point at ?A says
>> > "nil"?
>> 
>> Yes.
>
> Then we must be using a very different Emacs, or maybe the recipe is
> not what I think it is.  For me, it still says "65", FWIW.

I just tried saying the same in the *scratch* buffer, and there it
returns 65!

Here in the Message buffer it returns nil.  It does in a
fundamental-mode buffer, too...

----

number-at-point is an autoloaded compiled Lisp function in
`thingatpt.el'.

(number-at-point)

Return the number at point, or nil if none is found.


-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 8 years and 167 days ago.

Previous Next


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