[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoformat (like clang-format) elisp code?

From: Óscar Fuentes
Subject: Re: autoformat (like clang-format) elisp code?
Date: Thu, 17 Mar 2022 13:14:51 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Juan José García-Ripoll <> writes:

> Both electric and aggressive indent fail to address other issues, such
> as line wrapping in comments and code, possible alignment of variables,
> etc. Am I wrong?

aggressive-indent has a customization for comments:

aggressive-indent-comments-too is a variable defined in ‘aggressive-indent.el’.

Its value is nil

If non-nil, aggressively indent in comments as well.

Dunno how well it works.

As for aligment of variables and etc, I *think* that whatever formatting
M-x indent-region does aggressive-indent will do the same.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]