unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* simple loaded during startup
@ 2007-02-24  0:59 Dan Nicolaescu
  2007-02-24 13:10 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: Dan Nicolaescu @ 2007-02-24  0:59 UTC (permalink / raw)
  To: emacs-devel


Doing 
strace -o emacs.strace emacs -Q --no-site-file -nw
and then
grep simple emacs.strace

shows that "simple" is being loaded during startup. This seems strange
given that "simple" should be in the dumped image... 
If one deletes all traces of simple.el simple.elc simple.el.gz etc
then emacs gives a "Wrong type argument: nil" error when starting up. 

Does anyone know if loading "simple" at startup is intentional?

Thanks

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: simple loaded during startup
@ 2007-02-24 22:00 A Soare
  2007-02-25  6:26 ` Stuart D. Herring
  2007-02-25 18:39 ` Richard Stallman
  0 siblings, 2 replies; 10+ messages in thread
From: A Soare @ 2007-02-24 22:00 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

De par ma volonte que je me fasse bien compris, je me permet de vous repondre en francais.

Je pense que simple.el doit se faire charger durant l'ammorcage, meme si vous utiliser -Q = ( -q + --no-site-file)

simple.el contient les plus elementaires fonctions , a savoir goto-line, mark-whole-buffer, etc (veillez lire * Emacs Lisp Introduction: (eintr). A simple introduction to Emacs Lisp programming.) en ELISP node. C'est mon avis.

Je donne egalement une traduction anglaise. 

----------------------------------

I think that simple.el must be loaded during the start up, even if you use -Q, because it contains the most elementary editing funcions, indispensable in every major mode.

Alin Soare

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: simple loaded during startup
@ 2007-02-24 23:07 A Soare
  2007-02-25  6:23 ` Stuart D. Herring
  0 siblings, 1 reply; 10+ messages in thread
From: A Soare @ 2007-02-24 23:07 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

I have one misunderstanding on this subject: When Emacs starts it parse some standard files (including simple.el) to load their symbols in load-history, in order to know where to find their definitions... It creates in the same time the main obarray to keep the symbols, and in load-histoy keeps the place of their definitions. Is it true? Sure, it is true.


My problem is:
How can I check during startup (at every step when Emacs starts) what LISP symbols are loaded and their semantict (id est value).

Thanks for teaching me a method.

I am very interested about.


Merci d'avance,


Alin Soare.

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

end of thread, other threads:[~2007-02-25 21:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-24  0:59 simple loaded during startup Dan Nicolaescu
2007-02-24 13:10 ` Eli Zaretskii
2007-02-24 18:57   ` Dan Nicolaescu
2007-02-25  4:05   ` Richard Stallman
2007-02-25 21:16     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2007-02-24 22:00 A Soare
2007-02-25  6:26 ` Stuart D. Herring
2007-02-25 18:39 ` Richard Stallman
2007-02-24 23:07 A Soare
2007-02-25  6:23 ` Stuart D. Herring

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).