nhexl-mode
- Description
- Minor mode to edit files via hex-dump format
- Latest
- nhexl-mode-1.5.tar (.sig), 2024-Mar-31, 60.0 KiB
- Maintainer
- Stefan Monnier <[email protected]>
- Atom feed
- nhexl-mode.xml
- Website
- https://elpa.gnu.org/packages/nhexl-mode.html
- Browse repository
- CGit or Gitweb
- Badge
To install this package from Emacs, use package-install
or list-packages
.
Full description
This package implements NHexl mode, a minor mode for editing files in hex dump format. The mode command is called `nhexl-mode'. This minor mode implements similar functionality to `hexl-mode', but using a different implementation technique, which makes it usable as a "plain" minor mode. It works on any buffer, and does not mess with the undo log or with the major mode. It also comes with: - `nhexl-nibble-edit-mode': a "nibble editor" minor mode. where the cursor pretends to advance by nibbles (4-bit) and the self-insertion keys let you edit the hex digits directly. - `nhexl-overwrite-only-mode': a minor mode to try and avoid moving text. In this minor mode, not only self-inserting keys overwrite existing text, but commands like `yank' and `kill-region' as well. - it overrides C-u to use hexadecimal, so you can do C-u a 4 C-f to advance by #xa4 characters. Even though the hex addresses and hex data displayed by this mode aren't actually part of the buffer's text (contrary to hexl-mode, for example, they're only added to the display), you can search them with Isearch, according to nhexl-isearch-hex-addresses and nhexl-isearch-hex-bytes. Known bugs: - When the buffer is displayed in several windows, the "cursor" in the hex area only reflects one of the window-points. Fixing this would be rather painful: - for every cursor, we need an extra overlay with the `window' property with its own `before-string'. - because that overlay won't *replace* the normal overlay (the one without the `window' property), we will need to *remove* that overlay (lest we get 2 before-strings) and replace it with N overlays with a `window' property (for all N other windows that don't have their cursor on this line). FWIW, the original `hexl-mode' has the same kind of problem. Wishlist: - An equivalent to hexl-mode's `hexl-bits'. - Always reload the file with find-file-literally instead of editing the multibyte representation?
Old versions
nhexl-mode-1.4.el.lz | 2019-Oct-16 | 13.0 KiB |
nhexl-mode-1.3.el.lz | 2019-May-05 | 12.6 KiB |
nhexl-mode-1.2.el.lz | 2018-Dec-14 | 12.4 KiB |
nhexl-mode-1.1.el.lz | 2018-Dec-10 | 11.9 KiB |
nhexl-mode-1.0.el.lz | 2018-Nov-07 | 10.6 KiB |
nhexl-mode-0.9.el.lz | 2018-Apr-27 | 9.85 KiB |
nhexl-mode-0.8.el.lz | 2018-Apr-26 | 9.46 KiB |
nhexl-mode-0.7.el.lz | 2018-Apr-23 | 8.17 KiB |
nhexl-mode-0.6.el.lz | 2018-Apr-19 | 7.14 KiB |
nhexl-mode-0.5.el.lz | 2018-Apr-16 | 6.18 KiB |
nhexl-mode-0.4.el.lz | 2018-Apr-15 | 5.39 KiB |
nhexl-mode-0.3.el.lz | 2018-Apr-12 | 4.62 KiB |
nhexl-mode-0.2.el.lz | 2016-Aug-08 | 3.33 KiB |
nhexl-mode-0.1.el.lz | 2012-Nov-29 | 3.28 KiB |