$fill-mode - Global paragraph mode; justification method $buffer-fill-mode - Buffer paragraph mode; justification method
$fill-mode justification
$buffer-fill-mode justification
justification b | c | l | n | o | r | B | C | L | N | R the default is N
The fill-col variables specify the text justification modes for text filling of fill-paragraph(2).
$fill-mode defines the global default justification mode i.e. left/right/both/... The default value is none automatic (N). The modes available are:-
b Both
c Center
l Left
n None
o One Line
r Right
B Both (automatic)
C Center (automatic)
L Left (automatic)
N None (automatic)
R Right (automatic)
$buffer-fill-mode specifies the fill mode value to use in a buffer, a value of $fill-mode is used as a default when the buffer is created. Modification of the $buffer-fill-mode causes the buffer fill mode to be modified, this does not affect any other buffer. The value is set by the fhook-xxx macro when initializing a buffer using the Language Templates. $buffer-fill-mode may also be modified from buffer-setup(3).
The buffer lines are automatically justified only when the justification mode justify(2m) is enabled. Justification is performed between the left and right margins, defined as 0 and $buffer-fill-col(5) respectively.
Automatic filling is performed when the mode $buffer-fill-mode is specified in upper case. The format of the line (and adjacent lines) is interrogated and an informed guess is made as to the expected formating which is then adopted. The criteria for automatic formatting is defined as follows:-
center
right
none
default
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12