[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38072: when `byte-compile-file' finds out that a file is `no-byte-co
From: |
Stefan Kangas |
Subject: |
bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter |
Date: |
Sun, 13 Sep 2020 06:06:30 -0700 |
Andrea Corallo <akrl@sdf.org> writes:
>>> FWIW, I find the "and load" feature to be a mistake: the function should
>>> return whether or not it successfully compiled the file, but shouldn't
>>> offer to load the result, since the callers can just as easily do
>>> it themselves (and then they can easily control what happens when
>>> compilation did not succeed).
>>> So, I'd suggest we deprecate that "feature" rather than try and decide
>>> which behavior is better.
>>
>> But if we do deprecate this, is there a better alternative that we can
>> point users to? Should we just tell them to run two commands?
>
> would having the load performed by `emacs-lisp-byte-compile-and-load' an
> option?
Yes, that is good. I didn't know about that command.
So I agree with Stefan M that the prefix argument should be deprecated.
Do we have a process for that or should it just be removed?
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Stefan Kangas, 2020/09/04
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Eli Zaretskii, 2020/09/05
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Stefan Monnier, 2020/09/05
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Stefan Kangas, 2020/09/07
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Andrea Corallo, 2020/09/07
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter,
Stefan Kangas <=
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Eli Zaretskii, 2020/09/13
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Stefan Kangas, 2020/09/21
- bug#38072: when `byte-compile-file' finds out that a file is `no-byte-compile', it ignores `load' parameter, Eli Zaretskii, 2020/09/21