[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22890: 25.1.50; Wishlist: There should be file-attribute accessors
From: |
Drew Adams |
Subject: |
bug#22890: 25.1.50; Wishlist: There should be file-attribute accessors |
Date: |
Fri, 4 Mar 2016 12:20:27 -0800 (PST) |
> >> Is there a way to get the byte compiler to output warnings about
> >> using `nth' on output from `file-attributes'? That would be awesome.
>
> > It would not be awesome. It would be annoying. There is nothing to
> > WARN about here.
>
> You could add something of that effect to elint, for example. I'm
> not sure if elint supports "level", or disabling certain warnings,
> but if it's bad style, it would be nice to have an indication of it
> in a non-intrusive way.
Yes. Provide it as an (opt-in) option or a command or some other
way for users to get such information on demand. It's good to be
able to _ask_ for lint-like checks.