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 16:55:37 -0700 Message-ID: <87o9ubi5fq.fsf@SoraLaptop> References: <20170528204250.wjbrm2pul6cf6xam@odonien.localdomain> <83o9ucfl37.fsf@gnu.org> <20170529062859.mwoveygr5oh5iphz@odonien.localdomain> <87y3tfqz6c.fsf@SoraLaptop> <834lw3fnju.fsf@gnu.org> <20170529202021.ax4reeivfvlijkqv@odonien.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1496102172 19067 195.159.176.226 (29 May 2017 23:56:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 29 May 2017 23:56:12 +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 01:56:06 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 1dFUW6-0004ky-1O for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 May 2017 01:56:06 +0200 Original-Received: from localhost ([::1]:50901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFUWB-0004b6-GT for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 May 2017 19:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dFUW5-0004b1-Sv for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 19:56:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dFUW2-0000DV-Mf for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 19:56:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dFUW2-0000DR-4x for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 19:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dFUW1-0006p6-VB for bug-gnu-emacs@gnu.org; Mon, 29 May 2017 19:56:01 -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 23:56:01 +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.149610214926210 (code B ref 27122); Mon, 29 May 2017 23:56:01 +0000 Original-Received: (at 27122) by debbugs.gnu.org; 29 May 2017 23:55:49 +0000 Original-Received: from localhost ([127.0.0.1]:43923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFUVp-0006of-Fk for submit@debbugs.gnu.org; Mon, 29 May 2017 19:55:49 -0400 Original-Received: from vps28183.inmotionhosting.com ([23.235.221.66]:43322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dFUVm-0006oR-7b for 27122@debbugs.gnu.org; Mon, 29 May 2017 19:55:46 -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=KBgcYnOjFkObGFXWNZmtjGPkDNicIP+S0JFpxVDxK+c=; b=k1DVXTOamMqFujElh89mzRLgO nrLjh7DrqIlFX/dmPYmfY2tddstdN9+fwLudub1WzWeDZJ1wSF5c0tkJWiFjYGcUV+iopcwRMeQHZ 7HmTWFLTDtDh8rj24GqHFHweLn6/NsBCVvItUs3F36aNmEhtXPWoEdj05N9xoRJJQt8RJB6mOFhb8 cYg9ghZLZ7Cs2iXMLeeWggxFUmwABWqBdjLgvAB86yLb708hxCwHkhlTpxD8VuFKATyVI+mFeUp8Z iKmeANzFZ3GsTm/4nsfXvSMiCQpS+C90WcL9bAIGrc2I9iLy1FN78uIzhQPNSnryFdZvYtUP+jYP3 kXWbKjfmw==; Original-Received: from 131-191-86-130.as.clicknet.org ([131.191.86.130]:50506 helo=SoraLaptop) by vps28183.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1dFUVe-00049E-72; Mon, 29 May 2017 16:55:38 -0700 In-Reply-To: <20170529202021.ax4reeivfvlijkqv@odonien.localdomain> (Vasilij Schneidermann's message of "Mon, 29 May 2017 22:20:21 +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-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:133022 Archived-At: Vasilij Schneidermann writes: > While this is unfortunate, I find it more instructive to look at it in > terms of how much complexity is added (an extra conditional and a > customizable), not how much lurks in the existing code. If you > constantly went by that argument, you would have to refrain from any > kind of Emacs hacking given its impenetrable code base. Agree with the sentiment, which is probably a better stated version of what I tried to say earlier. The way I wrote it eariler glossed over the details rather heavily. Apologies for that. > The easiest way to solve this without adding any extra complexity would > be simply replacing the format string by the hex one. I wouldn't want > to be involved in the ensuing discussion though... IMO, this is the best solution. But the size that the ensuing discussion would inenvitably grow to puts me off of this path as well. I was initially thinking that the current behavior was more long-standing (10+ years), but it was actually introduced in its current form in 2010, in d419e1d94 "Fix handling of 8-bit characters in a display table.". This makes me more convinced that it should have been hex all along, given the relative youth of the behavior, but no better time than the present to change it, right? -- ~Robert Cochran GPG Fingerprint - E778 2DD4 FEA6 6A68 6F26 AD2D E5C3 EB36 4886 8871