xlate(2m)xlate - Translated buffer editor mode
xlate Mode
X - mode line letter.
xlate mode is enabled when a buffer needs to be translated before saving. The mode works in conjunction with variable $buffer-xlate(5) which defines the translation required.
The mode is typically enabled by the translate-buffer(2) command which is used to convert a file loaded using rbin mode into a more editable form.
See documentation on variable $buffer-xlate(5) for a better understanding of the types of translation preformed.
xlate, rbin and binary modes are mutually exclusive, i.e. they should not be enabled at the same time.
When a file writing command is called on a buffer with xlate mode enabled, the command will first execute its normal validity checks, if these succeed the command will internally translate the buffer, as defined by $buffer-xlate, creating a temporary second copy of the buffer, it is this version that is then written out and then freed. This leaves the original buffer unchanged, although modes like edit(2m) will have been altered as normal.
(c) Copyright JASSPA 2025
Last Modified: 2025/03/25
Generated On: 2025/09/29