unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Question about loading libraries
@ 2024-10-09  0:36 Michelangelo Rodriguez
  2024-10-09 12:26 ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Michelangelo Rodriguez @ 2024-10-09  0:36 UTC (permalink / raw)
  To: emacs-devel

There is a way to load source files by default instead of compiled at
startup?
The problem i have is that i have an error during the initialization,
but the backtrace shows compiled functions that at the moment are
meaningless for me when i try to fix the error.

Regards.
Michelangelo Rodriguez



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

* Re: Question about loading libraries
  2024-10-09  0:36 Question about loading libraries Michelangelo Rodriguez
@ 2024-10-09 12:26 ` Eli Zaretskii
  2024-10-09 19:56   ` Emanuel Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2024-10-09 12:26 UTC (permalink / raw)
  To: Michelangelo Rodriguez; +Cc: emacs-devel

> From: Michelangelo Rodriguez <michelangelo.rodriguez@gmail.com>
> Date: Wed, 09 Oct 2024 02:36:52 +0200
> 
> There is a way to load source files by default instead of compiled at
> startup?
> The problem i have is that i have an error during the initialization,
> but the backtrace shows compiled functions that at the moment are
> meaningless for me when i try to fix the error.

Specify the .el extension explicitly.  Like this:

  (load "foo.el")




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

* Re: Question about loading libraries
  2024-10-09 12:26 ` Eli Zaretskii
@ 2024-10-09 19:56   ` Emanuel Berg
  2024-10-10  6:49     ` Andreas Schwab
  2024-10-10  7:38     ` Michelangelo Rodriguez
  0 siblings, 2 replies; 5+ messages in thread
From: Emanuel Berg @ 2024-10-09 19:56 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii wrote:

>> There is a way to load source files by default instead of
>> compiled at startup? The problem i have is that i have an
>> error during the initialization, but the backtrace shows
>> compiled functions that at the moment are meaningless for
>> me when i try to fix the error.
>
> Specify the .el extension explicitly.  Like this:
>
>   (load "foo.el")

Yes, but there is no way to do this _in general_, to say now
I prefer uncompiled, not byte-compiled and not
natively compiled?

I think I've seen something like that, somewhere.

-- 
underground experts united
https://dataswamp.org/~incal




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

* Re: Question about loading libraries
  2024-10-09 19:56   ` Emanuel Berg
@ 2024-10-10  6:49     ` Andreas Schwab
  2024-10-10  7:38     ` Michelangelo Rodriguez
  1 sibling, 0 replies; 5+ messages in thread
From: Andreas Schwab @ 2024-10-10  6:49 UTC (permalink / raw)
  To: emacs-devel

On Okt 09 2024, Emanuel Berg wrote:

> I prefer uncompiled, not byte-compiled and not
> natively compiled?

You can temporarily alter load-suffixes.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



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

* Re: Question about loading libraries
  2024-10-09 19:56   ` Emanuel Berg
  2024-10-10  6:49     ` Andreas Schwab
@ 2024-10-10  7:38     ` Michelangelo Rodriguez
  1 sibling, 0 replies; 5+ messages in thread
From: Michelangelo Rodriguez @ 2024-10-10  7:38 UTC (permalink / raw)
  To: emacs-devel

Emanuel Berg <incal@dataswamp.org> writes:

> Eli Zaretskii wrote:
>
>>> There is a way to load source files by default instead of
>>> compiled at startup? The problem i have is that i have an
>>> error during the initialization, but the backtrace shows
>>> compiled functions that at the moment are meaningless for
>>> me when i try to fix the error.
>>
>> Specify the .el extension explicitly.  Like this:
>>
>>   (load "foo.el")
>
> Yes, but there is no way to do this _in general_, to say now
> I prefer uncompiled, not byte-compiled and not
> natively compiled?
Yes, that was my question: i know about specifying ".el" as the name of
a library, but the problem for me is that in this case i don't know
which library is responsible for the error, and i think it should be
useful to have an option to specify that we want all libraries loaded as
interpreted code.

Best regards,
Michelangelo Rodriguez



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

end of thread, other threads:[~2024-10-10  7:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09  0:36 Question about loading libraries Michelangelo Rodriguez
2024-10-09 12:26 ` Eli Zaretskii
2024-10-09 19:56   ` Emanuel Berg
2024-10-10  6:49     ` Andreas Schwab
2024-10-10  7:38     ` Michelangelo Rodriguez

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