[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 06:47:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Campbell Barton <ideasman42@gmail.com> writes:
> You could scan external `require' calls, but this means parsing many
> files to extract the information you need.
Like with indentation, I think we can assume that the source has been
loaded.
> Note that I use auto-format on save for all my packages (full
> auto-formatting, not just auto-indent), and personally find it great,
> but as far as I know I'm the only person doing this.
I think auto-formatting would be a more complicated thing than a pp for
code -- it would need to preserve comments, for instance. A pp for code
doesn't have to worry about things like that.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/04
- Re: Emacs Lisp code formatting, Juri Linkov, 2021/11/06
- Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/06
- Re: Emacs Lisp code formatting, Juri Linkov, 2021/11/07
- Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/07
- Re: Emacs Lisp code formatting, Juri Linkov, 2021/11/08
- Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/08