[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Edit binaries - insert
From: |
Eli Zaretskii |
Subject: |
Re: Edit binaries - insert |
Date: |
Fri, 06 Nov 2020 07:43:41 +0200 |
> From: Ken Goldman <kgoldman@us.ibm.com>
> Date: Thu, 5 Nov 2020 22:25:52 -0500
>
> >> Is there a mode to edit binaries and insert and delete bytes. I know
> >> about hexl-mode, but AFAIK it only supports overwrite.
> >
> > "M-x find-file-literally RET FILE-NAME RET" and edit as you like.
>
> That works, but the binary doesn't display the hex values. Just lots of
> \nnn values. So it's impractical to find the byte location.
You never said you want the bytes displayed in hex. You can set
display-raw-bytes-as-hex to have them shown in hex instead of in
octal.