Skip to content

Filling

Filling is the process of distributing words among lines to extend short lines and to reduce long ones. Commands are provided to fill a paragraph within a cell or to fill a whole cell, which may have multiple paragraphs.

{M-q} or {M-j} refills a paragraph within a cell so that its lines wrap within the current margin settings. {C-c M-q} or {C-c M-j} refills all paragraphs within a cell. {C-M-q} or {C-M-j} refills all cells within a tree. See the GNU Emacs manual for information on how to set the left and right margins.

Set the variable, kotl-mode:refill-flag, to ‘t’ if you want moving, promoting, demoting, exchanging, splitting and appending cells to also automatically refill each cell, aside from any that have a ‘no-fill’ property. Generally, this is not recommended since if you happen to move a cell that you carefully formatted yet forgot to give a ‘no-fill’ property, then your formatting will be lost.