1

By default, the hexl mode will show binary data two bytes by two bytes as below:

00000000: 0000 0020 6674 7970 6973 6f6d 0000 0200 ... ftypisom.... 

Is it possible to change the style to show data byte by byte? just like below:

00000000: 00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00 ... ftypisom.... 

Or any other better hex edit package available for emacs?

1 Answer 1

3

Change the user option hexl-bits from 16 (2 bytes) to 8 (1 byte):

(setq hexl-bits 8) 

Or any other better hex edit package available for emacs?

Maybe https://elpa.gnu.org/packages/nhexl-mode.html

2
  • Thanks, it works fine. I try nhexl also but hexl-bits does't work on nhexl mode. Commented May 19, 2019 at 17:49
  • @lucky1928 The Commentary of nhexl-mode.el mentions ;;;; Wishlist: ... ;; - An equivalent to hexl-mode's 'hexl-bits'. Commented May 19, 2019 at 18:04

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.