From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.devel Subject: Re: How to print from/debug startup.el (normal-top-level) Date: Wed, 09 Mar 2022 21:39:27 +1300 Message-ID: <89e7220ddc76de4d603c6b1ca8982a07@webmail.orcon.net.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16764"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Stefan Monnier , Emacs Devel To: dalanicolai Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 09 09:40:47 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRrsF-000483-1N for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Mar 2022 09:40:47 +0100 Original-Received: from localhost ([::1]:59796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRrsD-0005N5-Oy for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Mar 2022 03:40:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRrrA-0004Zs-Kx for emacs-devel@gnu.org; Wed, 09 Mar 2022 03:39:40 -0500 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:46277) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRrr8-0006zz-Os for emacs-devel@gnu.org; Wed, 09 Mar 2022 03:39:40 -0500 Original-Received: from [10.253.37.70] (port=41116 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nRrqx-0008Uy-H5; Wed, 09 Mar 2022 21:39:27 +1300 Original-Received: from ip-139-180-65-103.kinect.net.nz ([139.180.65.103]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Wed, 09 Mar 2022 21:39:27 +1300 In-Reply-To: X-Sender: psainty@orcon.net.nz X-GeoIP: -- Received-SPF: pass client-ip=60.234.4.44; envelope-from=psainty@orcon.net.nz; helo=smtp-3.orcon.net.nz X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286944 Archived-At: On 2022-03-09 05:03, dalanicolai wrote: >> Those files are preloaded into the "pdump" file (a file with name >> .pdmp) >> (you can see in `lisp/loadup.el` which are those files that are >> preloaded). > > Ah, yes, I suspected something like that already, but could not > really find more info about it. If you build Emacs yourself then you can run the compiled src/temacs executable which will then load loadup.el at run time. That should let you see the effects of modifying those files without recompiling each time. You can also configure and build Emacs using: ./configure --with-dumping=none in which case the final 'emacs' executable will be identical to temacs and behave that way always; but that's probably not really what you want. -Phil