emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

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