help-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Juan José García-Ripoll
Subject: Re: autoformat (like clang-format) elisp code?
Date: Thu, 17 Mar 2022 11:06:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)

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?

Óscar Fuentes <ofv@wanadoo.es> writes:
> Juan José García-Ripoll <juanjose.garciaripoll@gmail.com> writes:
>
>> Hi,
>>
>> I know this is a very opinionated topic, but I have become used to
>> clang-format in my C++ projects as a tool that automatically formats
>> _all_ of my code, without me thinking much about it.
>>
>> Is there a way to enable Emacs do this for Emacs lisp files?
>
> Maybe aggressive-indent? I use it with great success for lisp-like
> languages. However, I also use paredit, which means that there are no
> unbalanced parens at any time.
>
> https://github.com/Malabarba/aggressive-indent-mode
>
>
>

-- 
Juan José García Ripoll
http://juanjose.garciaripoll.com
http://quinfog.hbar.es




reply via email to

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