From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Cochran Newsgroups: gmane.emacs.bugs Subject: bug#27122: 26.0.50; [PATCH] Add customizable to display unprintables as hex Date: Mon, 29 May 2017 11:46:03 -0700 Message-ID: <87y3tfqz6c.fsf@SoraLaptop> References: <20170528204250.wjbrm2pul6cf6xam@odonien.localdomain> <83o9ucfl37.fsf@gnu.org> <20170529062859.mwoveygr5oh5iphz@odonien.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496095933 10188 195.159.176.226 (29 May 2017 22:12:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 May 2017 22:12:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27122@debbugs.gnu.org To: Vasilij Schneidermann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 30 00:12:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFStU-0002Pv-2h for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 00:12:08 +0200 Original-Received: from localhost ([::1]:50673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFStZ-0003TY-Al for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 May 2017 18:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFStS-0003Ro-W4 for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 18:12:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFStO-0001I8-Oc for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 18:12:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41224) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFStO-0001I4-K2 for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 18:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFStO-0004Ss-FD for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 18:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Cochran Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 May 2017 22:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27122-submit@debbugs.gnu.org id=B27122.149609590817143 (code B ref 27122); Mon, 29 May 2017 22:12:02 +0000 Original-Received: (at 27122) by debbugs.gnu.org; 29 May 2017 22:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:43901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFStA-0004SR-DI for submit@debbugs.gnu.org; Mon, 29 May 2017 18:11:48 -0400 Original-Received: from vps28183.inmotionhosting.com ([23.235.221.66]:43523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFPgF-0002dy-0t for 27122@debbugs.gnu.org; Mon, 29 May 2017 14:46:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cochranmail.com; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vTPqPipPp2gTwB0mbUfsSK9MI3Boym+HeBazbAYBEjA=; b=JjhdfELIT5+pMetNDjS9K4Sv0 oKARReC1NMKTM0CR+M/fkVR5G4aBhZXEJihXBF0+OLQCIFZWmu1RRLMqNpIvmdHAK0UX3ZNAA80ci l3E53gUAC3U/byMzf4mywrKoRZiiPgadjk3bM8OgfZQkj7O1Lm6iQdhs1+eqKhPa8pKp3+DjZFZAJ mTB5ZFswAOGna7477UqSLLGS/51lPoHCkjw8rMpWHVw+WT4FG51KqWsVHOCedMV+IRejSQidFeTc6 m/0ATFYzsVNPlLHem4Cy87iBF9AC+3QFABfwiDuakwfNhXTAr87SVMiTR7xwf2ISQW8y6rN2JWwct MZ9lA073w==; Original-Received: from 131-191-86-130.as.clicknet.org ([131.191.86.130]:47542 helo=SoraLaptop) by vps28183.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dFPg7-000185-UK; Mon, 29 May 2017 11:46:08 -0700 In-Reply-To: <20170529062859.mwoveygr5oh5iphz@odonien.localdomain> (Vasilij Schneidermann's message of "Mon, 29 May 2017 08:28:59 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps28183.inmotionhosting.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - cochranmail.com X-Get-Message-Sender-Via: vps28183.inmotionhosting.com: authenticated_id: robert@cochranmail.com X-Authenticated-Sender: vps28183.inmotionhosting.com: robert@cochranmail.com X-Mailman-Approved-At: Mon, 29 May 2017 18:11:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:133017 Archived-At: Vasilij Schneidermann writes: > [...] Generally it seems that the world has moved on and prefers > hexadecimal over octal formatting, except for `chmod` and Emacs. You > sigh and convert the octal to hexadecimal. [...] Why can't Emacs make > this easier? Agreed. This makes Emacs really look like the odd man out. Personally, chmod gets a pass because the octal very cleanly maps to Unix permissions. But it looks awkward when Emacs does it, especially when I believe it to have no reason to do so. >> We already have quite a few related features, and I wonder whether >> you could simply use one of them. > > The only one I'm aware of you could use instead is to manipulate the > display table. This allows for the same effect, but is problematic as > there are other modes manipulating it, such as whitespace-mode. You'd > therefore need to manipulate `standard-display-table' and > `buffer-display-table' with an appropriate hook to cover all cases. > > I consider the patch to be a cleaner solution. Not as well versed on these features that Eli is referring to, so I'm less helpful here. However, what is wrong with adding what is clearly an option, so it can be changed in one place and be done with it? -- ~Robert Cochran GPG Fingerprint - E778 2DD4 FEA6 6A68 6F26 AD2D E5C3 EB36 4886 8871