From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: interactive feel of Emacs: the need for speed, and -Q [measure.el]
Date: Thu, 16 Apr 2020 16:14:01 -0400 [thread overview]
Message-ID: <jwvh7xjchxv.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <2c7cfff7-240f-6444-9a79-b5c36b381272@gmail.com> ("Clément Pit-Claudel"'s message of "Thu, 16 Apr 2020 15:59:04 -0400")
>>>>> 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
next prev parent reply other threads:[~2020-04-16 20:14 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-30 5:00 interactive feel of Emacs: the need for speed, and -Q [measure.el] Emanuel Berg via Users list for the GNU Emacs text editor
2020-03-30 15:32 ` Drew Adams
2020-04-07 16:25 ` Emanuel Berg via Emacs development discussions.
2020-04-07 16:49 ` Michael Welsh Duggan
2020-04-08 5:51 ` Emanuel Berg via Emacs development discussions.
2020-04-08 14:17 ` Michael Welsh Duggan
2020-04-12 1:16 ` Emanuel Berg via Emacs development discussions.
2020-04-12 2:51 ` Michael Welsh Duggan
2020-04-14 23:00 ` Emanuel Berg via Emacs development discussions.
2020-04-15 1:34 ` T.V Raman
2020-04-15 2:21 ` Emanuel Berg via Emacs development discussions.
2020-04-15 14:51 ` T.V Raman
2020-04-15 15:43 ` Basil L. Contovounesios
2020-04-15 16:06 ` Stefan Monnier
2020-04-16 19:14 ` Stephen Leake
2020-04-16 19:59 ` Clément Pit-Claudel
2020-04-16 20:14 ` Stefan Monnier [this message]
2020-04-23 20:05 ` chad
2020-04-23 20:43 ` Stephen Leake
2020-04-23 20:57 ` Stefan Monnier
2020-04-23 23:35 ` chad
2020-04-24 3:28 ` Stefan Monnier
2020-04-17 8:48 ` Stephen Leake
2020-04-16 20:04 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvh7xjchxv.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cpitclaudel@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.