From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ams@gnu.org (Alfred M. Szmidt) Newsgroups: gmane.emacs.devel Subject: C-x C-e on numbers Date: Thu, 04 Dec 2014 10:56:10 -0500 Message-ID: Reply-To: ams@gnu.org NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1417708588 27238 80.91.229.3 (4 Dec 2014 15:56:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Dec 2014 15:56:28 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 04 16:56:21 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XwYlN-0006GW-Oa for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2014 16:56:17 +0100 Original-Received: from localhost ([::1]:46448 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYlN-0007OV-Ec for ged-emacs-devel@m.gmane.org; Thu, 04 Dec 2014 10:56:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYlJ-0007Ls-GK for emacs-devel@gnu.org; Thu, 04 Dec 2014 10:56:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XwYlG-00088f-Iq for emacs-devel@gnu.org; Thu, 04 Dec 2014 10:56:13 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XwYlG-00088Z-FL for emacs-devel@gnu.org; Thu, 04 Dec 2014 10:56:10 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XwYlG-0002j7-15 for emacs-devel@gnu.org; Thu, 04 Dec 2014 10:56:10 -0500 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:178831 Archived-At: 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.