The $line-flags variable is used to retrieve or define the behavioral settings of the current line in the buffer. This variable is a bit flag, the length of the bit flag is variable. In smaller builds of MicroEmacs where features have been disabled then the field is only 8 bits wide, in a normal build then the full 16 bits are present.
The line has changed as a result of an edit and has not been re-displayed. The flag is cleared when the change has been displayed. This bit is read only.
The line contains a narrow region, set by
narrow-buffer(2). This bit is read only.
The line contains some other type of anchor. This bit is read only.
The line should be saved without a new-line or nil termination character.
The line is a mark-up line used for annotation and should not be saved on a write operation. This bit permits lines in a buffer to be inserted for display or annotation purposes which are automatically discarded when the buffer is written to file. Mark-up lines are sometimes used by the buffer folding and collapsing to annotate folds.
The line is protected. A protected line may be deleted or edited however it is not possible to split or join a protected line with any other line. This is used by the folding or collapse mechanisms to protect
narrrow regions from editing operations.
User defined. Users may use the upper most bits from left to right. JASSPA may use more bits in future releases which shall be consumed from the lower bits, right to left.
$line-scheme(5) setting. A value of zero indicates that there is no line scheme in effect on the line.
Where a bit flag is defined as read only then an attempt by the user to set a read-only bit then the bit setting is ignored, any remaining writable bits are set as requested.
Copyright (c) 1998-2006 JASSPA
Last Modified: 2004/01/11
Generated On: 2006/10/07