From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.devel Subject: Re: How does Emacs load a non-existent .el file? Date: Fri, 01 Mar 2024 21:36:30 +0300 Message-ID: References: <0036123ac52383e6a4dc7bc3d76ec2941168b011.camel@yandex.ru> <86r0guqgyt.fsf@gnu.org> <3787c36325de4bcfbd7084d3a581c4de3157fc8c.camel@yandex.ru> <87y1b1g7p1.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36750"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.50.4 Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Mar 01 19:36:59 2024 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 1rg7kh-0009Kr-RR for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Mar 2024 19:36:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg7kT-00076Q-0I; Fri, 01 Mar 2024 13:36:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg7kO-000767-SE for emacs-devel@gnu.org; Fri, 01 Mar 2024 13:36:41 -0500 Original-Received: from forward501a.mail.yandex.net ([178.154.239.81]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rg7kK-0000a0-Kr; Fri, 01 Mar 2024 13:36:40 -0500 Original-Received: from mail-nwsmtp-smtp-production-main-33.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-33.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:c211:0:640:c98a:0]) by forward501a.mail.yandex.net (Yandex) with ESMTPS id BD5C0612DE; Fri, 1 Mar 2024 21:36:31 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-33.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id UagIZj13MCg0-PW0osHnI; Fri, 01 Mar 2024 21:36:31 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1709318191; bh=GeHqncNfNfCQg08HpbPfX1f/Z0MMvbqkcK4j1lCSgt0=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=sEOIfw9xfAJ8uJJtEPnkNqHhyeTWJkaz+XXYBldcnzjtlU+4Mr6R2kI1LjDlz0P9F BJSs+ZuXq562ogftgBepufQUFqdBzNobLoL+lBaRpOKGvxg8zqQVGhYYSds9bKn1cz jabxxWrlxJqN1OYNTYKXLg2SvBJr6+HH5mrlwAX4= Authentication-Results: mail-nwsmtp-smtp-production-main-33.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <87y1b1g7p1.fsf@igel.home> Received-SPF: pass client-ip=178.154.239.81; envelope-from=Hi-Angel@yandex.ru; helo=forward501a.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316672 Archived-At: On Fri, 2024-03-01 at 18:53 +0100, Andreas Schwab wrote: > On M=C3=A4r 01 2024, Konstantin Kharlamov wrote: >=20 > > Okay, I see, so the `startup.el` is a dummy file that's not being > > read. >=20 > Emacs won't read random files, only when instructed to do so.=C2=A0 That > can > happen due to an autoload or an explict load.=C2=A0 Since startup.el does > not > contain any autoloads, only an explit load will cause Emacs to read > it. The file is far from random though, it's where the command line processing is defined. As Eli explained elsewhere in the thread, it's compiled into something else, so Emacs have to be rebuilt for the file changes to have effect.