[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: interactive feel of Emacs: the need for speed, and -Q [measure.el]
From: |
Stefan Monnier |
Subject: |
Re: interactive feel of Emacs: the need for speed, and -Q [measure.el] |
Date: |
Thu, 16 Apr 2020 16:14:01 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>>>> Here are my requires:
>>> As a general rule, `require` should not appear in a `~/.emacs`.
>>> It's for use at the top of a library file.
> What's the replacement, then?
>> They should be replaced with the relevant (load-file "...autoloads").
> That doesn't do the same thing at all. What if you want to use functions
> that are not autoloaded, or macros?
In your ~/.emacs?
Presumably if users can be expected to use a function/macro directly
from ~/.emacs, the package should mark that function/macro as autoloaded
(especially for macros; for functions this can often be avoided if the
function is expected to be called only from with the corresponding mode
hook or an `eval-after-load`).
If not, it's a case that doesn't fall within the "general rule" and then
you'd have to consider the details to know what *should* happen and what
can be done temporarily until the ideal situation can be applied.
Stefan
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], (continued)
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Emanuel Berg, 2020/04/11
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Michael Welsh Duggan, 2020/04/11
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Emanuel Berg, 2020/04/14
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], T.V Raman, 2020/04/14
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Emanuel Berg, 2020/04/14
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], T.V Raman, 2020/04/15
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Basil L. Contovounesios, 2020/04/15
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stefan Monnier, 2020/04/15
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stephen Leake, 2020/04/16
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Clément Pit-Claudel, 2020/04/16
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el],
Stefan Monnier <=
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], chad, 2020/04/23
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stephen Leake, 2020/04/23
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stefan Monnier, 2020/04/23
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], chad, 2020/04/23
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stefan Monnier, 2020/04/23
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stephen Leake, 2020/04/17
- Re: interactive feel of Emacs: the need for speed, and -Q [measure.el], Stefan Monnier, 2020/04/16