[Top][All Lists]

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

C-x C-e on numbers

From: Alfred M. Szmidt
Subject: C-x C-e on numbers
Date: Thu, 04 Dec 2014 10:56:10 -0500

Currently, when evaluating a number, emacs will print the decimal,
octal, hexadecimal, and charachter of said number.

  42 C-x C-e ==> 42 (#o52, #x2a, ?*)

It would be useful, if the output would also include the binary
representation of the number.  Or at least somehow enable such
behaviour.  I.e., 

  42 C-x C-e ==> 42 (#b101010, #o52, #x2a, ?*)

It would also be useful to change the printed representation of a
number, so that the above would become,

  #o52 C-x C-e ==> #x2a (#b101010, 42, #o52, ?*)

But this would probobly require some more work.

reply via email to

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