Wow!  This is fantastic!  This seems to do just what Parinfer does.  Why isn&#x27;t this mode more well-known?<p>This makes it even better:<p><pre><code>    (defun my&#x2F;lisp-dedent-adjust-parens ()
      (interactive)
      (save-excursion
        (x4-smarter-beginning-of-line)
        (call-interactively &#x27;lisp-dedent-adjust-parens)))
    (defun my&#x2F;lisp-indent-adjust-parens ()
      (interactive)
      (save-excursion
        (x4-smarter-beginning-of-line)
        (call-interactively &#x27;lisp-indent-adjust-parens)))
    (local-set-key (kbd &quot;&lt;M-left&gt;&quot;) &#x27;my&#x2F;lisp-dedent-adjust-parens)
    (local-set-key (kbd &quot;&lt;M-right&gt;&quot;) &#x27;my&#x2F;lisp-indent-adjust-parens)
</code></pre>
Now you can just M-left and M-right to adjust the indentation of any line, regardless of where the point is, and adjust-parens fixes the parens for you.