unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How to print from/debug startup.el (normal-top-level)
@ 2022-03-08 15:37 dalanicolai
  2022-03-08 15:52 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: dalanicolai @ 2022-03-08 15:37 UTC (permalink / raw)
  To: Emacs Devel

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

As, other than looking at the source code of `package-activate-1`, I am
unable to find what it
means to 'activate a package', and similarly I am unable to find what
`package-enable-at-startup`
does exactly at startup (well, its docstring says that it should make
installed packages available
Emacs starts, but despite not being sure what 'available' means here, it
looks like at least it does
not 'activate' all installed packages).

So I was trying to inspect what happens in the `normal-top-level` function
but, when jumping to
its definition and changing it, it seems to have no effect (I have also
deleted the startup.elc file. And, as I don't know exactly if native
compiled files get priority over byte-compiled files, I have also tried
with an Emacs without native compilation, I am hoping to understand such
things at some point).

Anyway, my question is if you have some advice on how to 'inspect' the
`normal-top-level` function.

[-- Attachment #2: Type: text/html, Size: 1121 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-03-09 11:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-08 15:37 How to print from/debug startup.el (normal-top-level) dalanicolai
2022-03-08 15:52 ` Stefan Monnier
2022-03-08 16:03   ` dalanicolai
2022-03-08 16:36     ` Stefan Monnier
2022-03-09  8:39     ` Phil Sainty
2022-03-09 11:54       ` dalanicolai

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).