From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15747: Patch to optionally display raw bytes in hexadecimal Date: Tue, 29 Oct 2013 18:58:44 +0200 Message-ID: <83vc0gdnej.fsf@gnu.org> References: <87hac0uqtk.fsf@nbtrap.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1383065956 4129 80.91.229.3 (29 Oct 2013 16:59:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Oct 2013 16:59:16 +0000 (UTC) Cc: 15747@debbugs.gnu.org To: Nathan Trapuzzano Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 29 17:59:19 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1VbCdT-0002aG-F3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 17:59:19 +0100 Original-Received: from localhost ([::1]:48424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbCdT-0007pz-0Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Oct 2013 12:59:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbCdJ-0007oc-Og for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:59:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VbCdD-0002uK-If for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:59:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VbCdD-0002uF-FX for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:59:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VbCdC-0005Ww-LQ for bug-gnu-emacs@gnu.org; Tue, 29 Oct 2013 12:59:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Oct 2013 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15747 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15747-submit@debbugs.gnu.org id=B15747.138306593821248 (code B ref 15747); Tue, 29 Oct 2013 16:59:02 +0000 Original-Received: (at 15747) by debbugs.gnu.org; 29 Oct 2013 16:58:58 +0000 Original-Received: from localhost ([127.0.0.1]:51388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbCd7-0005Wd-1o for submit@debbugs.gnu.org; Tue, 29 Oct 2013 12:58:57 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:58551) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VbCd2-0005WM-HW for 15747@debbugs.gnu.org; Tue, 29 Oct 2013 12:58:53 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MVF00000WFP0H00@a-mtaout20.012.net.il> for 15747@debbugs.gnu.org; Tue, 29 Oct 2013 18:58:43 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVF00N91WHV4V10@a-mtaout20.012.net.il>; Tue, 29 Oct 2013 18:58:43 +0200 (IST) In-reply-to: <87hac0uqtk.fsf@nbtrap.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79753 Archived-At: > From: Nathan Trapuzzano > Date: Tue, 29 Oct 2013 09:52:55 -0400 > > I never understood why raw bytes in emacs are displayed as octal escapes > rather than hexadecimal. The latter is much more intuitive to my mind. > > The attached patch adds the option to display these bytes in hex rather > than octal. If it's not accepted, please advise what changes I can make > to give it a better chance. For some "symmetry" with read-quoted-char-radix, perhaps make the name something like display-raw-bytes-radix, and make the feature accept the same values (i.e., 8. 10, and 16).