emacs-devel
[Top][All Lists]
Advanced

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

Re: Patch upstream Git for Elisp diff hunk headings


From: Clément Pit-Claudel
Subject: Re: Patch upstream Git for Elisp diff hunk headings
Date: Thu, 11 Feb 2021 14:13:45 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 2/11/21 1:27 PM, Adam Spiers wrote:
> While of course no one is claiming that this is technically correct in 
> all cases, I don't think I can actually recall ever seeing a single 
> instance of a top-level form which *was* indented.

This heuristic is going to break for `eval-and-compile` forms, which are 
reasonably common.
Maybe combine both heuristics and detect both `(def` at any indentation and `(` 
in column 0?




reply via email to

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