unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* C-x C-e on numbers
@ 2014-12-04 15:56 Alfred M. Szmidt
  2014-12-04 16:27 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alfred M. Szmidt @ 2014-12-04 15:56 UTC (permalink / raw)
  To: emacs-devel

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.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-05  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 15:56 C-x C-e on numbers Alfred M. Szmidt
2014-12-04 16:27 ` Andreas Schwab
2014-12-04 16:47 ` Stephen Leake
2014-12-05  6:53   ` Stephen J. Turnbull
2014-12-05  7:04 ` Stefan Reichör

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).