summaryrefslogtreecommitdiff
path: root/devdocs/elisp/indent-tabs.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/indent-tabs.html
new repository
Diffstat (limited to 'devdocs/elisp/indent-tabs.html')
-rw-r--r--devdocs/elisp/indent-tabs.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/devdocs/elisp/indent-tabs.html b/devdocs/elisp/indent-tabs.html
new file mode 100644
index 00000000..23f4c45e
--- /dev/null
+++ b/devdocs/elisp/indent-tabs.html
@@ -0,0 +1,12 @@
+ <h4 class="subsection">Adjustable Tab Stops</h4> <p>This section explains the mechanism for user-specified tab stops and the mechanisms that use and set them. The name “tab stops” is used because the feature is similar to that of the tab stops on a typewriter. The feature works by inserting an appropriate number of spaces and tab characters to reach the next tab stop column; it does not affect the display of tab characters in the buffer (see <a href="usual-display">Usual Display</a>). Note that the <tt class="key">TAB</tt> character as input uses this tab stop feature only in a few major modes, such as Text mode. See <a href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Tab-Stops.html#Tab-Stops">Tab Stops</a> in <cite>The GNU Emacs Manual</cite>. </p> <dl> <dt id="tab-to-tab-stop">Command: <strong>tab-to-tab-stop</strong>
+</dt> <dd><p>This command inserts spaces or tabs before point, up to the next tab stop column defined by <code>tab-stop-list</code>. </p></dd>
+</dl> <dl> <dt id="tab-stop-list">User Option: <strong>tab-stop-list</strong>
+</dt> <dd>
+<p>This variable defines the tab stop columns used by <code>tab-to-tab-stop</code>. It should be either <code>nil</code>, or a list of increasing integers, which need not be evenly spaced. The list is implicitly extended to infinity through repetition of the interval between the last and penultimate elements (or <code>tab-width</code> if the list has fewer than two elements). A value of <code>nil</code> means a tab stop every <code>tab-width</code> columns. </p> <p>Use <kbd>M-x edit-tab-stops</kbd> to edit the location of tab stops interactively. </p>
+</dd>
+</dl><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Indent-Tabs.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Indent-Tabs.html</a>
+ </p>
+</div>