emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs Lisp code formatting


From: Lars Ingebrigtsen
Subject: Re: Emacs Lisp code formatting
Date: Thu, 04 Nov 2021 17:51:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Campbell Barton <ideasman42@gmail.com> writes:

> Not sure what you mean exactly, while developing packages
> functions/macros may change, so I don't think it's reasonable to
> assume the evaluated state in emacs has loaded into memory is up to
> date.

That is the assumption.  If you're writing code that uses (say)
`thread-first', it will be indented wrong until you load its definition.

> Auto formatters are becoming more popular in other languages though,
> clang-format (C/C++), black (for Python)... once you're used to
> running them automatically on save, it feels like a step backwards not
> to have this feature available.

Yes, auto-formatting is cool, but outside the scope of a "better pp".

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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