$buffer-tab-width - Buffer tab character interval
$buffer-tab-width integer; Default is $tab-width(5).
-0 < integer <= n
$buffer-tab-width defines the width of a tab character in terms of displayable spaces, a tab character is typically 8 spaces. A tab character appearing in a buffer is rendered with up to $buffer-tab-width spaces to take it to the next column boundary of modulo $buffer-tab-width.
Modification of the variable value causes the displayed tab width to change to the new value. The macro tabs-to-spaces(3) may be used to convert all tabs to spaces.
When a buffer is created (file loading or creation) then the default value is taken from the $tab-width(5) variable.
The November 2004 version of MicroEmacs removed the existing variables $tabwidth and $tabsize which were ambiguous. The existing variable scope was global which caused problems when moving to buffers with different tab width properties. The variables have been replaced with $tab-width(5) and $buffer-tab-width. The indentation which was previously controlled by the tab width has been replaced with $indent-width(5) and $buffer-indent-width(5).
Copyright (c) 1998-2006 JASSPA
Last Modified: 2005/01/15
Generated On: 2006/10/07