GNU logs - #79992, boring messages


Message sent to monnier@HIDDEN, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79992: 30.2; feature request:  change readability in hexl-mode or nhexl-mode
Resent-From: Jeremy Bryant <jb@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: monnier@HIDDEN, bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 11 Dec 2025 22:58:02 +0000
Resent-Message-ID: <handler.79992.B.176549386614316 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 79992
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 79992 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN, 
X-Debbugs-Original-Xcc: Stefan Monnier <monnier@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.176549386614316
          (code B ref -1); Thu, 11 Dec 2025 22:58:02 +0000
Received: (at submit) by debbugs.gnu.org; 11 Dec 2025 22:57:46 +0000
Received: from localhost ([127.0.0.1]:49427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vTpbV-0003in-Lr
	for submit <at> debbugs.gnu.org; Thu, 11 Dec 2025 17:57:46 -0500
Received: from lists.gnu.org ([2001:470:142::17]:51106)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <jb@HIDDEN>)
 id 1vTpbT-0003iW-Bm
 for submit <at> debbugs.gnu.org; Thu, 11 Dec 2025 17:57:44 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jb@HIDDEN>)
 id 1vTpbL-0001hA-Bj
 for bug-gnu-emacs@HIDDEN; Thu, 11 Dec 2025 17:57:35 -0500
Received: from out-172.mta0.migadu.com ([2001:41d0:1004:224b::ac])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jb@HIDDEN>)
 id 1vTpbJ-0006qd-TP
 for bug-gnu-emacs@HIDDEN; Thu, 11 Dec 2025 17:57:35 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net;
 s=key1; t=1765493850;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=ei+VTYOmY5sSX9NNmwP8G1Ggqtp6BPfWZCfgTrYJHqs=;
 b=ltC+QbYniRbmqwM6ABLmkdCxD73bF1FS+nRxQokBpctUHKOlZjMNXJr17EkMiVPaGxSShs
 DCgeQplTlQNezPEYTHeoiJp5+n3fwGnW8/lOuR06rSeTnxpcXOuEfXH0ir9QCearmYz573
 zZZsgVY51o7EwuVn1ZuxoxXW1QlQpwUmctthiHnJpimPhOpBKAMvbuUERU9WQKvJoPj0gG
 ThHKLLZUvz8pV34bPh14gk5ny9AZvmrUo0mgBAaaI9LnN2zv9ODUlkpVemtz48lxKCXU6/
 mBC53zzcKqrhHnw9cdQnQec4T3s6oEPQYvCddcBt/2EmXrAeJ/x+dS1E1L8UKA==
From: Jeremy Bryant <jb@HIDDEN>
Date: Thu, 11 Dec 2025 22:57:29 +0000
Message-ID: <87v7icpqxy.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=2001:41d0:1004:224b::ac;
 envelope-from=jb@HIDDEN; helo=out-172.mta0.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

A hex dump typically has 16 bytes on the left one side, displayed as
characters on the right like this:-

00000000: 656d 6163 7366 6561 7475 7265 7265 7175  emacsfeaturerequ


But there are also other typical conventions as below.
Could we add the ability have a space in the middle, like this:-

00000000: 656d 6163 7366 6561  7475 7265 7265 7175  emacsfea turerequ

And the spaces for each, like so:-
00000000: 65 6d 61 63 73 66 65 61 74 75 72 65 72 65 71 75  emacsfea urerequ


Maybe this is possible already, maybe a patch could be prototyped, where
to start?






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jeremy Bryant <jb@HIDDEN>
Subject: bug#79992: Acknowledgement (30.2; feature request:  change
 readability in hexl-mode or nhexl-mode)
Message-ID: <handler.79992.B.176549386614316.ack <at> debbugs.gnu.org>
References: <87v7icpqxy.fsf@HIDDEN>
X-Gnu-PR-Message: ack 79992
X-Gnu-PR-Package: emacs
Reply-To: 79992 <at> debbugs.gnu.org
Date: Thu, 11 Dec 2025 22:58:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  Stefan Monnier <monnier@HIDDEN>
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 79992 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
79992: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79992
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79992: 30.2; feature request:  change readability in hexl-mode or nhexl-mode
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 12 Dec 2025 02:43:02 +0000
Resent-Message-ID: <handler.79992.B79992.176550735522002 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79992
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jeremy Bryant <jb@HIDDEN>
Cc: 79992 <at> debbugs.gnu.org
Received: via spool by 79992-submit <at> debbugs.gnu.org id=B79992.176550735522002
          (code B ref 79992); Fri, 12 Dec 2025 02:43:02 +0000
Received: (at 79992) by debbugs.gnu.org; 12 Dec 2025 02:42:35 +0000
Received: from localhost ([127.0.0.1]:51260 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vTt75-0005in-IC
	for submit <at> debbugs.gnu.org; Thu, 11 Dec 2025 21:42:35 -0500
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:6782)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
 id 1vTt72-0005iJ-Na
 for 79992 <at> debbugs.gnu.org; Thu, 11 Dec 2025 21:42:33 -0500
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CFFBC81C28;
 Thu, 11 Dec 2025 21:42:25 -0500 (EST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1765507344;
 bh=avHmoxxs8WdImZRfUkNAEKGEwPHeClbzjbGjUfHMPe0=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=CGQ6yymZnQktHI2dnN6fYStZL/F/e2D9dOBbpxz3o5ir3C3mJ+cXwcnnd7ZS6EkmT
 M3L6mRbccKdtw/7lGaPDkiHc76pbmaSyC1PhAtQw8p0SGmthiww9hHLx3Ns2viQEDT
 x5V60+gsXeVX3FU94fjwZ2q3DTXao/XgvuKBNjFnPar+Qb6/kGsPaQ18EZFtTEZlF6
 xDHxdiofsbXirRaS9NUs6L/LEbsFvzyovWIS0yxUPAGzOEqX28xFxr/JSxQDG3L0ta
 G9m1X4Ppkv5FWGYFcPk+fbcfLf6/6D1WVa5PMX+lRgFgz+hDTWHaWVRoQl9SNMUdM4
 61BzFHnLeDHCw==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id AEEFF80471;
 Thu, 11 Dec 2025 21:42:24 -0500 (EST)
Received: from asado (unknown [181.28.45.30])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6A5CD12059D;
 Thu, 11 Dec 2025 21:42:23 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <87v7icpqxy.fsf@HIDDEN>
Message-ID: <jwvikecsa8t.fsf-monnier+emacs@HIDDEN>
References: <87v7icpqxy.fsf@HIDDEN>
Date: Thu, 11 Dec 2025 21:42:13 -0500
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.215 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Could we add the ability have a space in the middle, like this:-
> 00000000: 656d 6163 7366 6561  7475 7265 7265 7175  emacsfea turerequ

For nhexl-mode, it shouldn't be too hard: just add a "pseudo" space via
something like an `after-string`, like we add "pseudo newlines".
IOW, in the main loop of `nhexl--jit`, create a new overlay for each
segment, placed in the middle, with a " " on its `after-string` property.
Just make sure you don't do that if `nhexl-separate-line` is non-nil.

> And the spaces for each, like so:-
> 00000000: 65 6d 61 63 73 66 65 61 74 75 72 65 72 65 71 75  emacsfea urerequ

I think you're looking for `hexl-bits` (or `nhexl-group-size` whose
value defaults to one computed from `hexl-bits`).


        Stefan





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#79992: 30.2; feature request:  change readability in hexl-mode or nhexl-mode
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 12 Dec 2025 08:37:02 +0000
Resent-Message-ID: <handler.79992.B79992.176552861011874 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 79992
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jeremy Bryant <jb@HIDDEN>
Cc: monnier@HIDDEN, 79992 <at> debbugs.gnu.org
Received: via spool by 79992-submit <at> debbugs.gnu.org id=B79992.176552861011874
          (code B ref 79992); Fri, 12 Dec 2025 08:37:02 +0000
Received: (at 79992) by debbugs.gnu.org; 12 Dec 2025 08:36:50 +0000
Received: from localhost ([127.0.0.1]:54074 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vTydt-00035P-Sw
	for submit <at> debbugs.gnu.org; Fri, 12 Dec 2025 03:36:50 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43630)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1vTyds-00034t-14; Fri, 12 Dec 2025 03:36:48 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vTydl-0004PM-N4; Fri, 12 Dec 2025 03:36:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=jzQmZ60RC9Bgq7jZANpic16aVNKdZTwr/mqsI53/eK0=; b=X7T+6Ss1bM/W
 wEXTtVlxq1GPAFD2NC3rpc9+fAYD9pZVfzUlJihQrUpXrUU+0NhDGbwK6+C646dZV5i6d9jgBFZj5
 HvDswHtWx8ijdSR1a6GH3QwgiNahPYidnjyQrYVt4DvpYYbQp1PNJe87X/87LE3bxF4NwJTFu+D56
 Gb+zlt+MYf9p/lg2W4j/15a509K/H5+GogyE5OoQcokesf11dzadVRplF+gB60yiCI9KYwjQ0Wi+a
 F31vAdzCk8LT39Xl0O/zR+g5S58ugMGDXXDmkpr8aosk98+ME9NEqkiw7qYS8p9w4WstCjJ/wGGl9
 0ZJv5Vjq9/eIlo9B+VQq6Q==;
Date: Fri, 12 Dec 2025 10:36:35 +0200
Message-Id: <861pl0aygc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87v7icpqxy.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
References: <87v7icpqxy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 79992 79991
severity 79992 wishlist
thanks

> Cc: Stefan Monnier <monnier@HIDDEN>
> Date: Thu, 11 Dec 2025 22:57:29 +0000
> From:  Jeremy Bryant via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> A hex dump typically has 16 bytes on the left one side, displayed as
> characters on the right like this:-
> 
> 00000000: 656d 6163 7366 6561 7475 7265 7265 7175  emacsfeaturerequ
> 
> 
> But there are also other typical conventions as below.
> Could we add the ability have a space in the middle, like this:-
> 
> 00000000: 656d 6163 7366 6561  7475 7265 7265 7175  emacsfea turerequ
> 
> And the spaces for each, like so:-
> 00000000: 65 6d 61 63 73 66 65 61 74 75 72 65 72 65 71 75  emacsfea urerequ
> 
> 
> Maybe this is possible already, maybe a patch could be prototyped, where
> to start?

This seems to be the missing part of bug#79991, so I'm merging them.

As to the feature request itself: patches are welcome, as always, but
please note that "there be dragons": the relevant modes AFAIR assume a
specific format, and there will be a need for a lot of refactoring to
adapt them to such changes.

Some of what you ask is already possible, see hexl-bits,
nhexl-line-width, and nhexl-group-size.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 12 Dec 2025 08:36:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 12 03:36:51 2025
Received: from localhost ([127.0.0.1]:54076 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vTydv-00035a-EV
	for submit <at> debbugs.gnu.org; Fri, 12 Dec 2025 03:36:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:43630)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1vTyds-00034t-14; Fri, 12 Dec 2025 03:36:48 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1vTydl-0004PM-N4; Fri, 12 Dec 2025 03:36:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=jzQmZ60RC9Bgq7jZANpic16aVNKdZTwr/mqsI53/eK0=; b=X7T+6Ss1bM/W
 wEXTtVlxq1GPAFD2NC3rpc9+fAYD9pZVfzUlJihQrUpXrUU+0NhDGbwK6+C646dZV5i6d9jgBFZj5
 HvDswHtWx8ijdSR1a6GH3QwgiNahPYidnjyQrYVt4DvpYYbQp1PNJe87X/87LE3bxF4NwJTFu+D56
 Gb+zlt+MYf9p/lg2W4j/15a509K/H5+GogyE5OoQcokesf11dzadVRplF+gB60yiCI9KYwjQ0Wi+a
 F31vAdzCk8LT39Xl0O/zR+g5S58ugMGDXXDmkpr8aosk98+ME9NEqkiw7qYS8p9w4WstCjJ/wGGl9
 0ZJv5Vjq9/eIlo9B+VQq6Q==;
Date: Fri, 12 Dec 2025 10:36:35 +0200
Message-Id: <861pl0aygc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jeremy Bryant <jb@HIDDEN>
In-Reply-To: <87v7icpqxy.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#79992: 30.2;
 feature request:  change readability in hexl-mode or nhexl-mode
References: <87v7icpqxy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
Cc: monnier@HIDDEN, 79992 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

merge 79992 79991
severity 79992 wishlist
thanks

> Cc: Stefan Monnier <monnier@HIDDEN>
> Date: Thu, 11 Dec 2025 22:57:29 +0000
> From:  Jeremy Bryant via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> A hex dump typically has 16 bytes on the left one side, displayed as
> characters on the right like this:-
> 
> 00000000: 656d 6163 7366 6561 7475 7265 7265 7175  emacsfeaturerequ
> 
> 
> But there are also other typical conventions as below.
> Could we add the ability have a space in the middle, like this:-
> 
> 00000000: 656d 6163 7366 6561  7475 7265 7265 7175  emacsfea turerequ
> 
> And the spaces for each, like so:-
> 00000000: 65 6d 61 63 73 66 65 61 74 75 72 65 72 65 71 75  emacsfea urerequ
> 
> 
> Maybe this is possible already, maybe a patch could be prototyped, where
> to start?

This seems to be the missing part of bug#79991, so I'm merging them.

As to the feature request itself: patches are welcome, as always, but
please note that "there be dragons": the relevant modes AFAIR assume a
specific format, and there will be a need for a lot of refactoring to
adapt them to such changes.

Some of what you ask is already possible, see hexl-bits,
nhexl-line-width, and nhexl-group-size.





Last modified: Fri, 12 Dec 2025 08:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.