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/excess-close.html | |
| parent | 9278ddd4ea1a8b1a4c1edaa8894516e3f48d245b (diff) | |
| download | dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.tar.gz dotemacs-82ba818ff456bcd6d56a06226e3f27e98fbb55c3.zip | |
removing all downloaded devdocs files
Diffstat (limited to 'devdocs/elisp/excess-close.html')
| -rw-r--r-- | devdocs/elisp/excess-close.html | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/devdocs/elisp/excess-close.html b/devdocs/elisp/excess-close.html deleted file mode 100644 index f060809c..00000000 --- a/devdocs/elisp/excess-close.html +++ /dev/null @@ -1,6 +0,0 @@ - <h4 class="subsection">Excess Close Parentheses</h4> <p>To deal with an excess close parenthesis, first go to the beginning of the file, then type <kbd>C-u -1 C-M-u</kbd> (<code>backward-up-list</code> with an argument of -1) to find the end of the first unbalanced defun. </p> <p>Then find the actual matching close parenthesis by typing <kbd>C-M-f</kbd> (<code>forward-sexp</code>, see <a href="https://www.gnu.org/software/emacs/manual/html_node/emacs/Expressions.html#Expressions">Expressions</a> in <cite>The GNU Emacs Manual</cite>) at the beginning of that defun. This will leave you somewhere short of the place where the defun ought to end. It is possible that you will find a spurious close parenthesis in that vicinity. </p> <p>If you don’t see a problem at that point, the next thing to do is to type <kbd>C-M-q</kbd> (<code>indent-pp-sexp</code>) at the beginning of the defun. A range of lines will probably shift left; if so, the missing open parenthesis or spurious close parenthesis is probably near the first of those lines. (However, don’t assume this is true; study the code to make sure.) Once you have found the discrepancy, undo the <kbd>C-M-q</kbd> with <kbd>C-_</kbd> (<code>undo</code>), since the old indentation is probably appropriate to the intended parentheses. </p> <p>After you think you have fixed the problem, use <kbd>C-M-q</kbd> again. If the old indentation actually fits the intended nesting of parentheses, and you have put back those parentheses, <kbd>C-M-q</kbd> should not change anything. </p><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/Excess-Close.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Excess-Close.html</a> - </p> -</div> |
