diff options
| -rw-r--r-- | doc/emacs/misc.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 68941727f4a..dcbfd75f923 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2566,6 +2566,17 @@ Other Hexl commands let you insert strings (sequences) of binary | |||
| 2566 | bytes, move by @code{short}s or @code{int}s, etc.; type @kbd{C-h a | 2566 | bytes, move by @code{short}s or @code{int}s, etc.; type @kbd{C-h a |
| 2567 | hexl-@key{RET}} for details. | 2567 | hexl-@key{RET}} for details. |
| 2568 | 2568 | ||
| 2569 | Hexl mode can also be used for editing text files. This could come | ||
| 2570 | in handy if the text file includes unusual characters or uses unusual | ||
| 2571 | encoding (@pxref{Coding Systems}). For this purpose, Hexl commands | ||
| 2572 | that insert bytes can also insert @acronym{ASCII} and | ||
| 2573 | non-@acronym{ASCII} characters, including multibyte characters. To | ||
| 2574 | edit a text file with Hexl, visit the file as usual, and then type | ||
| 2575 | @w{@kbd{M-x hexl-mode @key{RET}}} to switch to Hexl mode. You can now | ||
| 2576 | insert text characters by typing them. However, inserting multibyte | ||
| 2577 | characters requires special care, to avoid the danger of creating | ||
| 2578 | invalid multibyte sequences: you should start typing such characters | ||
| 2579 | when point is on the first byte of a multibyte sequence in the file. | ||
| 2569 | 2580 | ||
| 2570 | @node Saving Emacs Sessions | 2581 | @node Saving Emacs Sessions |
| 2571 | @section Saving Emacs Sessions | 2582 | @section Saving Emacs Sessions |