Re: small indentation inside with-html from spinneret (Common Lisp)
Peter Münster <[email protected]> Mon, 08 Jun 2026 07:34:12 +0200
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 08 2026, Michael Heerdegen via Users list for the GNU Emacs text editor wrote:
> #+begin_src emacs-lisp
> (advice-add
> 'common-lisp-indent-function :after-until
> (defun my-common-lisp-indent-function--offset-fallback (indent-point state)
> (save-excursion
> (goto-char (elt state 1))
> (+ (current-column) 2))))
> #+end_src
>
> This would change the algorithm to always do what you want for
> `with-clog-create'.
Great, thanks! It seems to work for anything that starts with "(with-".
How does this work please?
My understanding is:
The :after-until advice is for all forms that start with "(with-".
But I cannot believe that. What is the logic please?
--
Peter