emacs-devel
[Top][All Lists]
Advanced

[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: Stephen Leake
Subject: Re: interactive feel of Emacs: the need for speed, and -Q [measure.el]
Date: Fri, 17 Apr 2020 00:48:40 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)

Clément Pit-Claudel <address@hidden> writes:

> On 16/04/2020 15.14, Stephen Leake wrote:
>> Stefan Monnier <address@hidden> writes:
>> 
>>>>> 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?

Speaking as the ada-mode author, if you have a use case for an ada-mode
function that should work this way but does not currently, please report
it as a bug (either in debbugs or on the ada-mode mailing list).

Other packages should also treat such use cases as bugs.

On the other hand, if you are using non-autoloaded functions from some
package in your own code, then your code should be in a file with the
necessary "requires" at the top.

-- 
-- Stephe



reply via email to

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