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

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

bug#43329: 28.0.50; Incorrect indentation for variables starting with `d


From: Stefan Monnier
Subject: bug#43329: 28.0.50; Incorrect indentation for variables starting with `def' in let form
Date: Sun, 13 Sep 2020 11:24:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> But the (def* thing is a heuristic, and we could say that we only use
> that heuristic at the top level?

We can replace one heuristic with another, yes.
That exchanges misindentationss for other misindentations.

> We should then mark all the (def* things we have in-tree with explicit
> indentation marking (which I think we should do anyway, really).

Indeed (and I think we've been getting there bit by bit.  Not sure how
far we stand from that nowadays).  Of course, that won't help with

    (let ((defvar
           3))
      (+ defvar 5))

and other oddball cases ;-)


        Stefan






reply via email to

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