diff options
| author | Eli Zaretskii | 2019-05-11 15:00:06 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-05-11 15:00:06 +0300 |
| commit | b1235f9abd0f255ff65e13b18ef3ee4e19278484 (patch) | |
| tree | 6be96e592a0119e14d5751e291d7f3bdea2331ac | |
| parent | 32d181326a752375ce31796556017b94878d2d2b (diff) | |
| download | emacs-b1235f9abd0f255ff65e13b18ef3ee4e19278484.tar.gz emacs-b1235f9abd0f255ff65e13b18ef3ee4e19278484.zip | |
Improve documentation of Hexl mode
* doc/emacs/misc.texi (Editing Binary Files): Clarify
"insertion". Improve wording. Add a few Hexl commands.
(Bug#35580)
| -rw-r--r-- | doc/emacs/misc.texi | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index fc6b4cf1e7c..75cca721900 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2423,10 +2423,13 @@ automatically back to binary. | |||
| 2423 | into hex. This is useful if you visit a file normally and then discover | 2423 | into hex. This is useful if you visit a file normally and then discover |
| 2424 | it is a binary file. | 2424 | it is a binary file. |
| 2425 | 2425 | ||
| 2426 | Ordinary text characters overwrite in Hexl mode. This is to reduce | 2426 | Inserting text always overwrites in Hexl mode. This is to reduce |
| 2427 | the risk of accidentally spoiling the alignment of data in the file. | 2427 | the risk of accidentally spoiling the alignment of data in the file. |
| 2428 | There are special commands for insertion. Here is a list of the | 2428 | Ordinary text characters insert themselves (i.e., overwrite with |
| 2429 | commands of Hexl mode: | 2429 | themselves). There are commands for insertion of special characters |
| 2430 | by their code. Most cursor motion keys, as well as @kbd{C-x C-s}, are | ||
| 2431 | bound in Hexl mode to commands that produce the same effect. Here is | ||
| 2432 | a list of other important commands special to Hexl mode: | ||
| 2430 | 2433 | ||
| 2431 | @c I don't think individual index entries for these commands are useful--RMS. | 2434 | @c I don't think individual index entries for these commands are useful--RMS. |
| 2432 | @table @kbd | 2435 | @table @kbd |
| @@ -2439,6 +2442,12 @@ Insert a byte with a code typed in octal. | |||
| 2439 | @item C-M-x | 2442 | @item C-M-x |
| 2440 | Insert a byte with a code typed in hex. | 2443 | Insert a byte with a code typed in hex. |
| 2441 | 2444 | ||
| 2445 | @item C-M-a | ||
| 2446 | Move to the beginning of a 512-byte page. | ||
| 2447 | |||
| 2448 | @item C-M-e | ||
| 2449 | Move to the end of a 512-byte page. | ||
| 2450 | |||
| 2442 | @item C-x [ | 2451 | @item C-x [ |
| 2443 | Move to the beginning of a 1k-byte page. | 2452 | Move to the beginning of a 1k-byte page. |
| 2444 | 2453 | ||