Next: , Previous: Motion Protocol, Up: Unit Protocol


18.4.5.3 Editing Protocol

An editing function is a function named forward-frob-unit or backward-frob-unit, or just frob-unit in the case where discering between forward and backward commands does not make sense (an example is transpose-unit).

A proper unit is a unit for which all the functions required by the motion protocol has been implemented, this can be trivially done by using the macro define-motion-commands (see Generator Macros).