From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: simple loaded during startup Date: Sat, 24 Feb 2007 22:23:28 -0800 (PST) Message-ID: <18902.128.165.0.81.1172384608.squirrel@webmail.lanl.gov> References: <18729823.169251172358476529.JavaMail.www@wwinf4202> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172384634 22941 80.91.229.12 (25 Feb 2007 06:23:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Feb 2007 06:23:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: alinsoar@voila.fr Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 25 07:23:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HLCnT-000443-FX for ged-emacs-devel@m.gmane.org; Sun, 25 Feb 2007 07:23:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLCnT-0007tq-3l for ged-emacs-devel@m.gmane.org; Sun, 25 Feb 2007 01:23:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HLCnH-0007tl-Rl for emacs-devel@gnu.org; Sun, 25 Feb 2007 01:23:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HLCnE-0007tZ-EC for emacs-devel@gnu.org; Sun, 25 Feb 2007 01:23:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HLCnE-0007tW-7D for emacs-devel@gnu.org; Sun, 25 Feb 2007 01:23:32 -0500 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HLCnB-00065e-Sx for emacs-devel@gnu.org; Sun, 25 Feb 2007 01:23:32 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l1P6NTwg027038 for ; Sat, 24 Feb 2007 23:23:29 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l1P6NSqN007078; Sat, 24 Feb 2007 23:23:29 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l1P6NSmV010849; Sat, 24 Feb 2007 23:23:28 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l1P6NS9S010847; Sat, 24 Feb 2007 22:23:28 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.0.81 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Sat, 24 Feb 2007 22:23:28 -0800 (PST) In-Reply-To: <18729823.169251172358476529.JavaMail.www@wwinf4202> User-Agent: SquirrelMail/1.4.8-2.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:66779 Archived-At: > 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. Almost true -- some files are "preloaded", which means that a preliminary version of Emacs ("temacs") loads them when Emacs is built and then a new Emacs executable is created which -has already loaded them-, which is a slightly odd concept. The important bit is that at each normal Emacs start, it doesn't load as many files. > 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. Perhaps you could use `load-read-function', and call `mapatoms' from your wrapper for `read'? Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.