GNU bug report logs - #20691
24.5; `eval-expression' doesn't conform to its docstring

Previous Next

Package: emacs;

Reported by: Vasilij Schneidermann <v.schneidermann <at> gmail.com>

Date: Fri, 29 May 2015 09:37:02 UTC

Severity: minor

Tags: fixed

Found in version 24.5

Fixed in version 25.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Vasilij Schneidermann <v.schneidermann <at> gmail.com>
Cc: 20691 <at> debbugs.gnu.org
Subject: bug#20691: 24.5; `eval-expression' doesn't conform to its docstring
Date: Fri, 29 May 2015 12:02:08 +0200
Vasilij Schneidermann <v.schneidermann <at> gmail.com> writes:

> Evaluating numbers and characters with M-: prints their value and
> additionally to that the octal, hexadecimal and character
> representation
> of the number if it's printable. I've checked its docstring and was
> surprised to read that the aforementioned behaviour should only happen
> when using a prefix argument of zero.

It seems to be fixed on the master branch.

I just tried :
"M-: 5 7 RET" show "57" in the echo area
"C-u M-: 5 7 RET" inserts "57" in the buffer
"M-0 M-: 5 7 RET" inserts "57 (#o71, #x39, ?9)" in the buffer

But indeed I observe the same problem on emacs-24.

-- 
Nico.





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

Previous Next


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