bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8634: 24.0.50; `number-at-point' returns char value for `?' construc


From: Lars Ingebrigtsen
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
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Lars Ingebrigtsen <larsi@gnus.org>
>> Cc: drew.adams@oracle.com,  8634@debbugs.gnu.org
>> Date: Sun, 09 Feb 2014 17:04:57 -0800
>> 
>> Eli Zaretskii <eliz@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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]