[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp code formatting
From: |
Juri Linkov |
Subject: |
Re: Emacs Lisp code formatting |
Date: |
Mon, 08 Nov 2021 10:59:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> Oh, I thought it works like 'pp-buffer' - just by adding/removing newlines
>> (because everything else is handled by 'indent-sexp').
>
> Since we're being passed a sexp, I thought it would be easier to just
> work on the sexp instead of inserting it into the buffer and then
> partially re-parse it to get at the symbol properties. pp-buffer
> doesn't have that problem, since it basically doesn't care about any of
> that.
BTW, it seems the new pp-emacs-lisp-code is not yet used to pp
the variable values by 'C-h v'? Especially, hook's lambdas/closures
could benefit from prettier printing.
- Re: Emacs Lisp code formatting, (continued)
- Re: Emacs Lisp code formatting, Campbell Barton, 2021/11/03
- Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/04
- Re: Emacs Lisp code formatting, Campbell Barton, 2021/11/04
- Re: Emacs Lisp code formatting, Helmut Eller, 2021/11/04
- Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/04
Re: Emacs Lisp code formatting, Lars Ingebrigtsen, 2021/11/04
Re: Emacs Lisp code formatting, Michael Heerdegen, 2021/11/06