[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Towards a cleaner build
From: |
Lars Ingebrigtsen |
Subject: |
Re: Towards a cleaner build |
Date: |
Sun, 09 Jun 2019 21:12:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> Sounds verbose. Furthermore, the `declare` we have in Elisp is
> a declaration that relates to the function/macro being defined rather
> than to some chunk of code (it has to come together with the docstring
> and the interactive spec). It's related to yet different from that of
> Common Lisp.
Well, the "unused" bit is something that comes up when defining
functions, so these things seem tied together...
>> We've embraced `declare' for other things, so I think it makes sense
>> to do that for `ignore', too. (And perhaps then later mark simple
>> `ignore' as obsolete.)
>
> `ignore` is a normal function used for various different things.
> The fact that it can be used to silence this warning is just a happy
> coincidence.
Well, somebody surely has implemented it. :-) Somewhere. I looked for
the code and couldn't find it...
> grep "#'ignore" **/*.el | wc
>
> gives me more than a hundred reasons not to mark it obsolete ;-)
I meant the special construct; not the function...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Noam Postavsky, 2019/06/09
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/09
- Re: Towards a cleaner build,
Lars Ingebrigtsen <=
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/09
- Re: Towards a cleaner build, Eli Zaretskii, 2019/06/11
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/12
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/12
- Re: Towards a cleaner build, Stefan Monnier, 2019/06/13
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build, Lars Ingebrigtsen, 2019/06/13
- Re: Towards a cleaner build: rmailmm, Lars Ingebrigtsen, 2019/06/13