unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Konstantin Kharlamov <Hi-Angel@yandex.ru>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: How does Emacs load a non-existent .el file?
Date: Fri, 01 Mar 2024 23:57:31 +0300	[thread overview]
Message-ID: <c9cc047573630a3a349304a6e90fb64f088a59a0.camel@yandex.ru> (raw)
In-Reply-To: <87sf19fzko.fsf@igel.home>

On Fri, 2024-03-01 at 21:48 +0100, Andreas Schwab wrote:
> On Mär 01 2024, Konstantin Kharlamov wrote:
> 
> > 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.
> 
> No, you can just load it like any other lisp file.

Well, it may be possible to override a few functions but certainly not
all of them from the file. The earliest I see it's possible to make
Emacs to load an el file would be done by `emacs -q -l my-override.el`,
but that implies that Emacs has processed command line args, whereas
command-line processing is exactly the part of `startup.el` file that I
want to override.



      reply	other threads:[~2024-03-01 20:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-01 10:52 How does Emacs load a non-existent .el file? Konstantin Kharlamov
2024-03-01 12:22 ` Eli Zaretskii
2024-03-01 13:30   ` Konstantin Kharlamov
2024-03-01 13:45     ` Eli Zaretskii
2024-03-01 14:15       ` Konstantin Kharlamov
2024-03-01 16:41         ` Eli Zaretskii
2024-03-01 17:53     ` Andreas Schwab
2024-03-01 18:36       ` Konstantin Kharlamov
2024-03-01 20:48         ` Andreas Schwab
2024-03-01 20:57           ` Konstantin Kharlamov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c9cc047573630a3a349304a6e90fb64f088a59a0.camel@yandex.ru \
    --to=hi-angel@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).