diff options
| author | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-08-14 22:58:58 -0500 |
| commit | 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 (patch) | |
| tree | 158cfc17b2f644a10f063cb546752cfaae12c97f /devdocs/elisp/smie-customization.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/elisp/smie-customization.html')
| -rw-r--r-- | devdocs/elisp/smie-customization.html | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/devdocs/elisp/smie-customization.html b/devdocs/elisp/smie-customization.html deleted file mode 100644 index c0d289ee..00000000 --- a/devdocs/elisp/smie-customization.html +++ /dev/null @@ -1,18 +0,0 @@ - <h4 class="subsubsection">Customizing Indentation</h4> <p>If you are using a mode whose indentation is provided by SMIE, you can customize the indentation to suit your preferences. You can do this on a per-mode basis (using the option <code>smie-config</code>), or a per-file basis (using the function <code>smie-config-local</code> in a file-local variable specification). </p> <dl> <dt id="smie-config">User Option: <strong>smie-config</strong> -</dt> <dd><p>This option lets you customize indentation on a per-mode basis. It is an alist with elements of the form <code>(<var>mode</var> . <var>rules</var>)</code>. For the precise form of rules, see the variable’s documentation; but you may find it easier to use the command <code>smie-config-guess</code>. </p></dd> -</dl> <dl> <dt id="smie-config-guess">Command: <strong>smie-config-guess</strong> -</dt> <dd><p>This command tries to work out appropriate settings to produce your preferred style of indentation. Simply call the command while visiting a file that is indented with your style. </p></dd> -</dl> <dl> <dt id="smie-config-save">Command: <strong>smie-config-save</strong> -</dt> <dd><p>Call this command after using <code>smie-config-guess</code>, to save your settings for future sessions. </p></dd> -</dl> <dl> <dt id="smie-config-show-indent">Command: <strong>smie-config-show-indent</strong> <em>&optional move</em> -</dt> <dd><p>This command displays the rules that are used to indent the current line. </p></dd> -</dl> <dl> <dt id="smie-config-set-indent">Command: <strong>smie-config-set-indent</strong> -</dt> <dd><p>This command adds a local rule to adjust the indentation of the current line. </p></dd> -</dl> <dl> <dt id="smie-config-local">Function: <strong>smie-config-local</strong> <em>rules</em> -</dt> <dd><p>This function adds <var>rules</var> as indentation rules for the current buffer. These add to any mode-specific rules defined by the <code>smie-config</code> option. To specify custom indentation rules for a specific file, add an entry to the file’s local variables of the form: <code>eval: (smie-config-local '(<var>rules</var>))</code>. </p></dd> -</dl><div class="_attribution"> - <p class="_attribution-p"> - Copyright © 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/SMIE-Customization.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/SMIE-Customization.html</a> - </p> -</div> |
