unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* load-history-filename-element
@ 2022-05-06 16:49 Mario Lang
  2022-05-06 17:31 ` load-history-filename-element Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Lang @ 2022-05-06 16:49 UTC (permalink / raw)
  To: emacs-devel

Hi.

I seem to have no luck with Emacs 28.  Got a weird error due to native
compilation during the dev phase, and now that I come back to building
my own (release) version, I am getting a weird error in
load-history-filename-element.

In particular, string-match barfs on (require . package)

Is my load-history somehow confused?
And why does load-history-filename-element not check for stringp?

The error is triggered when I launch Gnus.
More specifically, when (require 'mailabbrev) is run, which
in turn does an (eval-after-load "sendmail" ...).
Apparently, at this point, my load-history seems to contain

(require . package)

as the first element.

Why is that?

Also, running emacs -q does fix the problem.
However, moving away ~/.config/emacs/init.el does not fix the issue.
Which is also weird.

Any hints on how to unwind this?

-- 
CYa,
  ⡍⠁⠗⠊⠕



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

* Re: load-history-filename-element
  2022-05-06 16:49 load-history-filename-element Mario Lang
@ 2022-05-06 17:31 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2022-05-06 17:31 UTC (permalink / raw)
  To: Mario Lang; +Cc: emacs-devel

> Apparently, at this point, my load-history seems to contain
>
> (require . package)
>
> as the first element.
>
> Why is that?

No idea, but it hints at a bug elsewhere because it does not follow the
format expected for `load-history`.


        Stefan




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

end of thread, other threads:[~2022-05-06 17:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 16:49 load-history-filename-element Mario Lang
2022-05-06 17:31 ` load-history-filename-element Stefan Monnier

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