all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely
@ 2023-03-12  5:06 Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-03-12  7:24 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-12  5:06 UTC (permalink / raw)
  To: 62136


For a while now, I've had to re-byte-compile init.el to get it to work
correctly. Today, I tracked down the problem to an incorrectly compiled
.eln file.

My init.el is probably over-large and takes 8s to load normally.  But
once it loads normally, a native compilation copy is created in
~/.emacs.d/eln-cache and subsequent loads take only 3s.  Which would be
great if it were working, but the loading is incomplete because things
like the theme are not loaded.  Erasing the init-*.eln file under
~/.emacs.d/eln-cache allows emacs to load properly using the
byte-compiled file.  Example run:

    $ find ~/.emacs.d/ -mtime -0.002 -ls
    17171430      4 drwxr-xr-x  26 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/
    17566126      4 drwx------   2 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/auto-save-list
    19674336     36 drwxr-xr-x   2 mah      mah         36864 Mar 11 22:21 ~/.emacs.d/eln-cache/30.0.50-29d0097a
    19693480     68 -rwxr-xr-x   1 mah      mah         66280 Mar 11 22:21 ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
    17171381    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:22 ~/.emacs.d/ido.last
    17174597      4 drwxr-xr-x   2 mah      mah          4096 Mar 11 22:21 ~/.emacs.d/transient
    17174599      4 -rw-r--r--   1 mah      mah          2019 Mar 11 22:21 ~/.emacs.d/transient/history.el
    17189836    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:21 ~/.emacs.d/ido.last~
    17171265      4 drwxr-xr-x   4 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/straight
    17175288    548 -rw-r--r--   1 mah      mah        558574 Mar 11 22:22 ~/.emacs.d/straight/build-cache.el
    $ rm ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
    $ # emacs properly started
    $ # exit emacs
    $ find ~/.emacs.d/ -mtime -0.002 -ls
    17171430      4 drwxr-xr-x  26 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/
    17566126      4 drwx------   2 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/auto-save-list
    19674336     36 drwxr-xr-x   2 mah      mah         36864 Mar 11 22:23 ~/.emacs.d/eln-cache/30.0.50-29d0097a
    19692826     68 -rwxr-xr-x   1 mah      mah         66280 Mar 11 22:23 ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
    17189836    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:23 ~/.emacs.d/ido.last
    17174597      4 drwxr-xr-x   2 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/transient
    17174599      4 -rw-r--r--   1 mah      mah          2019 Mar 11 22:23 ~/.emacs.d/transient/history.el
    17171381    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:22 ~/.emacs.d/ido.last~
    17171265      4 drwxr-xr-x   4 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/straight
    17175288    548 -rw-r--r--   1 mah      mah        560242 Mar 11 22:23 ~/.emacs.d/straight/build-cache.el
    $ # emacs started without proper execution

FWIW, the theme is loaded using use-package:

    (use-package spacemacs-common
      :straight (:host github :repo "nashamri/spacemacs-theme")
      :init
      (mah/show-load-time "loading spacemacs")
      (load-theme 'spacemacs-dark t)
      (mah/show-load-time "done loading spacemacs")
      :ensure t)

The mah/show-load-time messages do not show up in the *Messages* buffer
when during loads of the .eln file.

I saw https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43969 which has some
similarities, but there is more missing thand just the spacemacs theme.
This makes me think that it isn't just a matter of missing requires.



In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.16.0) of 2023-03-11 built on gabriel
Repository revision: b8e7061232f9a5b06af70031dcc4b48c6575a364
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12201008
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --with-gif=ifavailable --with-tree-sitter=ifavailable
 --with-cairo --with-imagemagick --with-json --with-native-compilation
 --with-xinput2 --with-xwidgets --with-x-toolkit=gtk3 --with-gconf
 --with-xwidgets --with-imagemagick --with-modules'

Configured features:
ACL CAIRO DBUS FREETYPE GCONF GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2
M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE
XIM XINPUT2 XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  global-emojify-mode: t
  emojify-mode: t
  corfu-popupinfo-mode: t
  global-corfu-mode: t
  corfu-mode: t
  marginalia-mode: t
  vertico-mode: t
  which-key-mode: t
  global-page-break-lines-mode: t
  page-break-lines-mode: t
  buffer-face-mode: t
  direnv-mode: t
  flx-ido-mode: t
  auto-compile-on-load-mode: t
  auto-compile-on-save-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  gcmh-mode: t
  global-flycheck-mode: t
  flycheck-mode: t
  shell-dirtrack-mode: t
  override-global-mode: t
  server-mode: t
  ido-everywhere: t
  windmove-mode: t
  display-time-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  prettify-symbols-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  abbrev-mode: t
  hs-minor-mode: t

Load-path shadows:
/home/mah/.emacs.d/straight/build/dpkg-dev-el/debian-autoloads hides /home/mah/.emacs.d/straight/build/debian-el/debian-autoloads
/home/mah/.emacs.d/straight/build/compat/compat-26 hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-26
/home/mah/.emacs.d/straight/build/compat/compat-29 hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-29
/home/mah/.emacs.d/straight/build/compat/compat-25 hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-25
/home/mah/.emacs.d/straight/build/compat/compat hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat
/home/mah/.emacs.d/straight/build/compat/compat-28 hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-28
/home/mah/.emacs.d/straight/build/compat/compat-macs hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-macs
/home/mah/.emacs.d/straight/build/compat/compat-autoloads hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-autoloads
/home/mah/.emacs.d/straight/build/compat/compat-27 hides /home/mah/.emacs.d/elpa/compat-29.1.4.0/compat-27
/home/mah/.emacs.d/straight/build/transient/transient hides /home/mah/work/code/emacs-master/lisp/transient
/home/mah/.emacs.d/straight/build/use-package/use-package hides /home/mah/work/code/emacs-master/lisp/use-package/use-package
/home/mah/.emacs.d/straight/build/use-package/use-package-bind-key hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-bind-key
/home/mah/.emacs.d/straight/build/use-package/use-package-core hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-core
/home/mah/.emacs.d/straight/build/use-package/use-package-delight hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-delight
/home/mah/.emacs.d/straight/build/use-package/use-package-jump hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-jump
/home/mah/.emacs.d/straight/build/use-package/use-package-ensure hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-ensure
/home/mah/.emacs.d/straight/build/use-package/use-package-diminish hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-diminish
/home/mah/.emacs.d/straight/build/use-package/use-package-lint hides /home/mah/work/code/emacs-master/lisp/use-package/use-package-lint
/home/mah/.emacs.d/straight/build/bind-key/bind-key hides /home/mah/work/code/emacs-master/lisp/use-package/bind-key
/home/mah/.emacs.d/straight/build/xref/xref hides /home/mah/work/code/emacs-master/lisp/progmodes/xref
/home/mah/.emacs.d/straight/build/project/project hides /home/mah/work/code/emacs-master/lisp/progmodes/project
/home/mah/.emacs.d/straight/build/org/org-fold hides /home/mah/work/code/emacs-master/lisp/org/org-fold
/home/mah/.emacs.d/straight/build/org/ob-tangle hides /home/mah/work/code/emacs-master/lisp/org/ob-tangle
/home/mah/.emacs.d/straight/build/org/org-datetree hides /home/mah/work/code/emacs-master/lisp/org/org-datetree
/home/mah/.emacs.d/straight/build/org/ob-makefile hides /home/mah/work/code/emacs-master/lisp/org/ob-makefile
/home/mah/.emacs.d/straight/build/org/org-goto hides /home/mah/work/code/emacs-master/lisp/org/org-goto
/home/mah/.emacs.d/straight/build/org/org-timer hides /home/mah/work/code/emacs-master/lisp/org/org-timer
/home/mah/.emacs.d/straight/build/org/ob-julia hides /home/mah/work/code/emacs-master/lisp/org/ob-julia
/home/mah/.emacs.d/straight/build/org/ob-eshell hides /home/mah/work/code/emacs-master/lisp/org/ob-eshell
/home/mah/.emacs.d/straight/build/org/org-macro hides /home/mah/work/code/emacs-master/lisp/org/org-macro
/home/mah/.emacs.d/straight/build/org/ol-eshell hides /home/mah/work/code/emacs-master/lisp/org/ol-eshell
/home/mah/.emacs.d/straight/build/org/ob-emacs-lisp hides /home/mah/work/code/emacs-master/lisp/org/ob-emacs-lisp
/home/mah/.emacs.d/straight/build/org/ob-fortran hides /home/mah/work/code/emacs-master/lisp/org/ob-fortran
/home/mah/.emacs.d/straight/build/org/ol-eww hides /home/mah/work/code/emacs-master/lisp/org/ol-eww
/home/mah/.emacs.d/straight/build/org/ol-mhe hides /home/mah/work/code/emacs-master/lisp/org/ol-mhe
/home/mah/.emacs.d/straight/build/org/ol-irc hides /home/mah/work/code/emacs-master/lisp/org/ol-irc
/home/mah/.emacs.d/straight/build/org/ox-org hides /home/mah/work/code/emacs-master/lisp/org/ox-org
/home/mah/.emacs.d/straight/build/org/org-lint hides /home/mah/work/code/emacs-master/lisp/org/org-lint
/home/mah/.emacs.d/straight/build/org/ob-core hides /home/mah/work/code/emacs-master/lisp/org/ob-core
/home/mah/.emacs.d/straight/build/org/org-list hides /home/mah/work/code/emacs-master/lisp/org/org-list
/home/mah/.emacs.d/straight/build/org/org-compat hides /home/mah/work/code/emacs-master/lisp/org/org-compat
/home/mah/.emacs.d/straight/build/org/ox-man hides /home/mah/work/code/emacs-master/lisp/org/ox-man
/home/mah/.emacs.d/straight/build/org/org-persist hides /home/mah/work/code/emacs-master/lisp/org/org-persist
/home/mah/.emacs.d/straight/build/org/ob-org hides /home/mah/work/code/emacs-master/lisp/org/ob-org
/home/mah/.emacs.d/straight/build/org/ob-table hides /home/mah/work/code/emacs-master/lisp/org/ob-table
/home/mah/.emacs.d/straight/build/org/ol-bibtex hides /home/mah/work/code/emacs-master/lisp/org/ol-bibtex
/home/mah/.emacs.d/straight/build/org/org-element hides /home/mah/work/code/emacs-master/lisp/org/org-element
/home/mah/.emacs.d/straight/build/org/oc-natbib hides /home/mah/work/code/emacs-master/lisp/org/oc-natbib
/home/mah/.emacs.d/straight/build/org/ob-ocaml hides /home/mah/work/code/emacs-master/lisp/org/ob-ocaml
/home/mah/.emacs.d/straight/build/org/org-agenda hides /home/mah/work/code/emacs-master/lisp/org/org-agenda
/home/mah/.emacs.d/straight/build/org/ob-sqlite hides /home/mah/work/code/emacs-master/lisp/org/ob-sqlite
/home/mah/.emacs.d/straight/build/org/ol-bbdb hides /home/mah/work/code/emacs-master/lisp/org/ol-bbdb
/home/mah/.emacs.d/straight/build/org/ob-ref hides /home/mah/work/code/emacs-master/lisp/org/ob-ref
/home/mah/.emacs.d/straight/build/org/ox-latex hides /home/mah/work/code/emacs-master/lisp/org/ox-latex
/home/mah/.emacs.d/straight/build/org/org-loaddefs hides /home/mah/work/code/emacs-master/lisp/org/org-loaddefs
/home/mah/.emacs.d/straight/build/org/org-fold-core hides /home/mah/work/code/emacs-master/lisp/org/org-fold-core
/home/mah/.emacs.d/straight/build/org/ob-ditaa hides /home/mah/work/code/emacs-master/lisp/org/ob-ditaa
/home/mah/.emacs.d/straight/build/org/ox-beamer hides /home/mah/work/code/emacs-master/lisp/org/ox-beamer
/home/mah/.emacs.d/straight/build/org/ob-clojure hides /home/mah/work/code/emacs-master/lisp/org/ob-clojure
/home/mah/.emacs.d/straight/build/org/ob-haskell hides /home/mah/work/code/emacs-master/lisp/org/ob-haskell
/home/mah/.emacs.d/straight/build/org/ob-sql hides /home/mah/work/code/emacs-master/lisp/org/ob-sql
/home/mah/.emacs.d/straight/build/org/ob-matlab hides /home/mah/work/code/emacs-master/lisp/org/ob-matlab
/home/mah/.emacs.d/straight/build/org/org-num hides /home/mah/work/code/emacs-master/lisp/org/org-num
/home/mah/.emacs.d/straight/build/org/ob-R hides /home/mah/work/code/emacs-master/lisp/org/ob-R
/home/mah/.emacs.d/straight/build/org/ob-js hides /home/mah/work/code/emacs-master/lisp/org/ob-js
/home/mah/.emacs.d/straight/build/org/ox-ascii hides /home/mah/work/code/emacs-master/lisp/org/ox-ascii
/home/mah/.emacs.d/straight/build/org/org-entities hides /home/mah/work/code/emacs-master/lisp/org/org-entities
/home/mah/.emacs.d/straight/build/org/org-plot hides /home/mah/work/code/emacs-master/lisp/org/org-plot
/home/mah/.emacs.d/straight/build/org/ob-shell hides /home/mah/work/code/emacs-master/lisp/org/ob-shell
/home/mah/.emacs.d/straight/build/org/oc hides /home/mah/work/code/emacs-master/lisp/org/oc
/home/mah/.emacs.d/straight/build/org/oc-biblatex hides /home/mah/work/code/emacs-master/lisp/org/oc-biblatex
/home/mah/.emacs.d/straight/build/org/org-ctags hides /home/mah/work/code/emacs-master/lisp/org/org-ctags
/home/mah/.emacs.d/straight/build/org/org-habit hides /home/mah/work/code/emacs-master/lisp/org/org-habit
/home/mah/.emacs.d/straight/build/org/ob-perl hides /home/mah/work/code/emacs-master/lisp/org/ob-perl
/home/mah/.emacs.d/straight/build/org/org-table hides /home/mah/work/code/emacs-master/lisp/org/org-table
/home/mah/.emacs.d/straight/build/org/ob-calc hides /home/mah/work/code/emacs-master/lisp/org/ob-calc
/home/mah/.emacs.d/straight/build/org/oc-bibtex hides /home/mah/work/code/emacs-master/lisp/org/oc-bibtex
/home/mah/.emacs.d/straight/build/org/ob-octave hides /home/mah/work/code/emacs-master/lisp/org/ob-octave
/home/mah/.emacs.d/straight/build/org/ob-maxima hides /home/mah/work/code/emacs-master/lisp/org/ob-maxima
/home/mah/.emacs.d/straight/build/org/ol hides /home/mah/work/code/emacs-master/lisp/org/ol
/home/mah/.emacs.d/straight/build/org/org-inlinetask hides /home/mah/work/code/emacs-master/lisp/org/org-inlinetask
/home/mah/.emacs.d/straight/build/org/ox-koma-letter hides /home/mah/work/code/emacs-master/lisp/org/ox-koma-letter
/home/mah/.emacs.d/straight/build/org/org-cycle hides /home/mah/work/code/emacs-master/lisp/org/org-cycle
/home/mah/.emacs.d/straight/build/org/ob-latex hides /home/mah/work/code/emacs-master/lisp/org/ob-latex
/home/mah/.emacs.d/straight/build/org/org-indent hides /home/mah/work/code/emacs-master/lisp/org/org-indent
/home/mah/.emacs.d/straight/build/org/ol-gnus hides /home/mah/work/code/emacs-master/lisp/org/ol-gnus
/home/mah/.emacs.d/straight/build/org/org-refile hides /home/mah/work/code/emacs-master/lisp/org/org-refile
/home/mah/.emacs.d/straight/build/org/ob-sed hides /home/mah/work/code/emacs-master/lisp/org/ob-sed
/home/mah/.emacs.d/straight/build/org/org-attach-git hides /home/mah/work/code/emacs-master/lisp/org/org-attach-git
/home/mah/.emacs.d/straight/build/org/org-colview hides /home/mah/work/code/emacs-master/lisp/org/org-colview
/home/mah/.emacs.d/straight/build/org/ob-groovy hides /home/mah/work/code/emacs-master/lisp/org/ob-groovy
/home/mah/.emacs.d/straight/build/org/ob-lisp hides /home/mah/work/code/emacs-master/lisp/org/ob-lisp
/home/mah/.emacs.d/straight/build/org/org-protocol hides /home/mah/work/code/emacs-master/lisp/org/org-protocol
/home/mah/.emacs.d/straight/build/org/ol-doi hides /home/mah/work/code/emacs-master/lisp/org/ol-doi
/home/mah/.emacs.d/straight/build/org/ob-ruby hides /home/mah/work/code/emacs-master/lisp/org/ob-ruby
/home/mah/.emacs.d/straight/build/org/ox-texinfo hides /home/mah/work/code/emacs-master/lisp/org/ox-texinfo
/home/mah/.emacs.d/straight/build/org/ob-eval hides /home/mah/work/code/emacs-master/lisp/org/ob-eval
/home/mah/.emacs.d/straight/build/org/ob-dot hides /home/mah/work/code/emacs-master/lisp/org/ob-dot
/home/mah/.emacs.d/straight/build/org/org-feed hides /home/mah/work/code/emacs-master/lisp/org/org-feed
/home/mah/.emacs.d/straight/build/org/ox-odt hides /home/mah/work/code/emacs-master/lisp/org/ox-odt
/home/mah/.emacs.d/straight/build/org/ob-plantuml hides /home/mah/work/code/emacs-master/lisp/org/ob-plantuml
/home/mah/.emacs.d/straight/build/org/ol-docview hides /home/mah/work/code/emacs-master/lisp/org/ol-docview
/home/mah/.emacs.d/straight/build/org/ob-lob hides /home/mah/work/code/emacs-master/lisp/org/ob-lob
/home/mah/.emacs.d/straight/build/org/ob-awk hides /home/mah/work/code/emacs-master/lisp/org/ob-awk
/home/mah/.emacs.d/straight/build/org/ox-publish hides /home/mah/work/code/emacs-master/lisp/org/ox-publish
/home/mah/.emacs.d/straight/build/org/ox-html hides /home/mah/work/code/emacs-master/lisp/org/ox-html
/home/mah/.emacs.d/straight/build/org/org hides /home/mah/work/code/emacs-master/lisp/org/org
/home/mah/.emacs.d/straight/build/org/org-src hides /home/mah/work/code/emacs-master/lisp/org/org-src
/home/mah/.emacs.d/straight/build/org/ol-w3m hides /home/mah/work/code/emacs-master/lisp/org/ol-w3m
/home/mah/.emacs.d/straight/build/org/ox hides /home/mah/work/code/emacs-master/lisp/org/ox
/home/mah/.emacs.d/straight/build/org/ob-C hides /home/mah/work/code/emacs-master/lisp/org/ob-C
/home/mah/.emacs.d/straight/build/org/oc-basic hides /home/mah/work/code/emacs-master/lisp/org/oc-basic
/home/mah/.emacs.d/straight/build/org/ob-screen hides /home/mah/work/code/emacs-master/lisp/org/ob-screen
/home/mah/.emacs.d/straight/build/org/ob-processing hides /home/mah/work/code/emacs-master/lisp/org/ob-processing
/home/mah/.emacs.d/straight/build/org/ob-sass hides /home/mah/work/code/emacs-master/lisp/org/ob-sass
/home/mah/.emacs.d/straight/build/org/ol-man hides /home/mah/work/code/emacs-master/lisp/org/ol-man
/home/mah/.emacs.d/straight/build/org/org-version hides /home/mah/work/code/emacs-master/lisp/org/org-version
/home/mah/.emacs.d/straight/build/org/org-keys hides /home/mah/work/code/emacs-master/lisp/org/org-keys
/home/mah/.emacs.d/straight/build/org/ox-md hides /home/mah/work/code/emacs-master/lisp/org/ox-md
/home/mah/.emacs.d/straight/build/org/org-capture hides /home/mah/work/code/emacs-master/lisp/org/org-capture
/home/mah/.emacs.d/straight/build/org/ob-lua hides /home/mah/work/code/emacs-master/lisp/org/ob-lua
/home/mah/.emacs.d/straight/build/org/org-duration hides /home/mah/work/code/emacs-master/lisp/org/org-duration
/home/mah/.emacs.d/straight/build/org/org-footnote hides /home/mah/work/code/emacs-master/lisp/org/org-footnote
/home/mah/.emacs.d/straight/build/org/org-macs hides /home/mah/work/code/emacs-master/lisp/org/org-macs
/home/mah/.emacs.d/straight/build/org/org-tempo hides /home/mah/work/code/emacs-master/lisp/org/org-tempo
/home/mah/.emacs.d/straight/build/org/ob-lilypond hides /home/mah/work/code/emacs-master/lisp/org/ob-lilypond
/home/mah/.emacs.d/straight/build/org/ob-exp hides /home/mah/work/code/emacs-master/lisp/org/ob-exp
/home/mah/.emacs.d/straight/build/org/ob-python hides /home/mah/work/code/emacs-master/lisp/org/ob-python
/home/mah/.emacs.d/straight/build/org/ol-info hides /home/mah/work/code/emacs-master/lisp/org/ol-info
/home/mah/.emacs.d/straight/build/org/org-pcomplete hides /home/mah/work/code/emacs-master/lisp/org/org-pcomplete
/home/mah/.emacs.d/straight/build/org/org-attach hides /home/mah/work/code/emacs-master/lisp/org/org-attach
/home/mah/.emacs.d/straight/build/org/org-archive hides /home/mah/work/code/emacs-master/lisp/org/org-archive
/home/mah/.emacs.d/straight/build/org/ol-rmail hides /home/mah/work/code/emacs-master/lisp/org/ol-rmail
/home/mah/.emacs.d/straight/build/org/org-id hides /home/mah/work/code/emacs-master/lisp/org/org-id
/home/mah/.emacs.d/straight/build/org/org-crypt hides /home/mah/work/code/emacs-master/lisp/org/org-crypt
/home/mah/.emacs.d/straight/build/org/ob-java hides /home/mah/work/code/emacs-master/lisp/org/ob-java
/home/mah/.emacs.d/straight/build/org/ob-css hides /home/mah/work/code/emacs-master/lisp/org/ob-css
/home/mah/.emacs.d/straight/build/org/ob-scheme hides /home/mah/work/code/emacs-master/lisp/org/ob-scheme
/home/mah/.emacs.d/straight/build/org/org-faces hides /home/mah/work/code/emacs-master/lisp/org/org-faces
/home/mah/.emacs.d/straight/build/org/ob hides /home/mah/work/code/emacs-master/lisp/org/ob
/home/mah/.emacs.d/straight/build/org/ob-comint hides /home/mah/work/code/emacs-master/lisp/org/ob-comint
/home/mah/.emacs.d/straight/build/org/org-mobile hides /home/mah/work/code/emacs-master/lisp/org/org-mobile
/home/mah/.emacs.d/straight/build/org/ob-forth hides /home/mah/work/code/emacs-master/lisp/org/ob-forth
/home/mah/.emacs.d/straight/build/org/org-clock hides /home/mah/work/code/emacs-master/lisp/org/org-clock
/home/mah/.emacs.d/straight/build/org/ox-icalendar hides /home/mah/work/code/emacs-master/lisp/org/ox-icalendar
/home/mah/.emacs.d/straight/build/org/oc-csl hides /home/mah/work/code/emacs-master/lisp/org/oc-csl
/home/mah/.emacs.d/straight/build/org/org-mouse hides /home/mah/work/code/emacs-master/lisp/org/org-mouse
/home/mah/.emacs.d/straight/build/org/ob-gnuplot hides /home/mah/work/code/emacs-master/lisp/org/ob-gnuplot
/home/mah/.emacs.d/straight/build/let-alist/let-alist hides /home/mah/work/code/emacs-master/lisp/emacs-lisp/let-alist

Features:
(shadow sort mail-extr emacsbug mule-util hideshow emojify tar-mode
arc-mode archive-mode init cal-china lunar solar cal-dst cal-hebrew
cal-julian holidays holiday-loaddefs orderless orderless-autoloads
consult-autoloads kind-icon svg-lib kind-icon-autoloads
svg-lib-autoloads corfu-popupinfo corfu marginalia marginalia-autoloads
vertico icomplete vertico-autoloads terraform-mode hcl-mode
terraform-mode-autoloads hcl-mode-autoloads terraform-doc
terraform-doc-autoloads html-fold html-fold-autoloads danneskjold-theme
danneskjold-theme-autoloads dpkg-dev-el-autoloads dpkg-dev-el
debian-el-autoloads debian-el which-key which-key-autoloads
prettier-js-autoloads impatient-mode htmlize simple-httpd
impatient-mode-autoloads simple-httpd-autoloads web-mode-autoloads
whattf-dt html5-langs whattf-dt-autoloads rustic-autoloads
xterm-color-autoloads spinner-autoloads project-autoloads xref-autoloads
rust-mode-autoloads flymake-rust flymake-easy flymake-proc flymake
flymake-rust-autoloads flymake-easy-autoloads feature-mode cucumber-mode
etags fileloop feature-mode-autoloads markdown-xwidget-autoloads
mustache-autoloads phpcbf phpcbf-autoloads dockerfile-mode-autoloads
nov-autoloads esxml-autoloads kv-autoloads go-errcheck-autoloads
go-mode-autoloads blamer-autoloads git-timemachine vc-git vc-dispatcher
git-timemachine-autoloads treemacs-autoloads cfrs-autoloads
posframe-autoloads pfuture-autoloads ace-window-autoloads lice
lice-autoloads gnus-alias gnus-alias-autoloads lorem-ipsum-autoloads
ox-moderncv org-cv-utils ox-moderncv-autoloads magit-tramp-autoloads
magit-gitflow-autoloads magit-popup-autoloads orgit-forge-autoloads
orgit-autoloads web time-stamp web-autoloads ghub+ apiwrap apropos
ghub+-autoloads apiwrap-autoloads ox-mediawiki-autoloads
org-download-autoloads async-autoloads org-ref org-ref-core
org-ref-glossary org-ref-bibtex avy doi-utils org-ref-utils
org-ref-export citeproc citeproc-itemgetters citeproc-biblatex
citeproc-bibtex ol-bibtex citeproc-cite citeproc-subbibs citeproc-sort
citeproc-name citeproc-formatters citeproc-number rst citeproc-proc
citeproc-disamb citeproc-itemdata citeproc-generic-elements
citeproc-macro citeproc-choose citeproc-date citeproc-context
citeproc-prange citeproc-style citeproc-locale citeproc-term citeproc-rt
citeproc-lib citeproc-s thingatpt queue org-ref-misc-links
org-ref-label-link org-ref-ref-links org-ref-citation-links xref project
org-ref-bibliography-links hydra lv bibtex-completion filenotify biblio
biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp
biblio-crossref biblio-arxiv timezone biblio-doi biblio-core url-queue
hl-line parsebib bibtex org-ref-autoloads citeproc-autoloads
queue-autoloads bibtex-completion-autoloads biblio-autoloads
biblio-core-autoloads parsebib-autoloads avy-autoloads
org2blog-autoloads writegood-mode-autoloads hydra-autoloads lv-autoloads
htmlize-autoloads metaweblog metaweblog-autoloads xml-rpc
xml-rpc-autoloads mediawiki-autoloads json-mode js c-ts-common treesit
imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs json-mode-autoloads json-snatcher
json-snatcher-autoloads password-store auth-source-pass
password-store-autoloads page-break-lines page-break-lines-autoloads
vterm bookmark tramp tramp-loaddefs trampver tramp-integration cus-edit
pp files-x tramp-compat ls-lisp face-remap compile term disp-table ehelp
vterm-module term/xterm xterm vterm-autoloads org-journal-autoloads
deft-autoloads yaml-mode yaml-mode-autoloads emojify-autoloads
spaceline-all-the-icons spaceline-all-the-icons-separators
spaceline-all-the-icons-segments all-the-icons all-the-icons-faces
data-material data-weathericons data-octicons data-fileicons
data-faicons data-alltheicons memoize spaceline-all-the-icons-autoloads
memoize-autoloads all-the-icons-autoloads spaceline powerline
powerline-separators color powerline-themes spaceline-autoloads
powerline-autoloads multiple-cursors-autoloads ivy-autoloads
python-mode-autoloads org-bullets-autoloads direnv diff-mode
direnv-autoloads alert-autoloads log4e-autoloads gntp-autoloads flx-ido
flx flx-ido-autoloads flx-autoloads xmlunicode-autoloads auto-compile
auto-compile-autoloads js2-mode-autoloads string-inflection-autoloads
org-mime org-mime-autoloads bbdb-autoloads loccur loccur-autoloads
phpunit-autoloads yasnippet-snippets-autoloads yasnippet-snippets
yasnippet yasnippet-autoloads company-autoloads php-mode-autoloads
ghub-graphql gsexp ghub url-http url-gw nsm url-auth let-alist graphql
graphql-autoloads treepy with-editor comp comp-cstr warnings transient
edmacro kmacro gcmh gcmh-autoloads forge-autoloads yaml-autoloads
markdown-mode-autoloads ghub-autoloads treepy-autoloads
emacsql-autoloads closql-autoloads magit-autoloads
magit-section-autoloads git-commit-autoloads with-editor-autoloads
transient-autoloads sqlite3 sqlite3-api sqlite3-autoloads firestarter
firestarter-autoloads editorconfig editorconfig-core
editorconfig-core-handle editorconfig-fnmatch pcase
editorconfig-autoloads f f-shortdoc s f-autoloads s-autoloads geben dbgp
tree-widget geben-autoloads envrc inheritenv envrc-autoloads
inheritenv-autoloads flycheck flycheck-autoloads let-alist-autoloads
pkg-info-autoloads epl-autoloads spacemacs-dark-theme spacemacs-common
spacemacs-common-autoloads compat finder-inf ox-pandoc ht dash ox-org
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
ox-html table ox-ascii ox-publish ox ox-pandoc-autoloads ht-autoloads
dash-autoloads org-crypt ob-ditaa ob-shell shell ob-dot bind-key
my-firestarter whiteboard-theme server ido help-at-pt allout cus-load
define org-duration org-clock advice windmove easy-mmode time org-agenda
org-element org-persist xdg org-id avl-tree generator tabify appt
gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob
ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete
comint ansi-osc ansi-color ring org-list org-footnote org-faces
org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol rx org-fold org-fold-core org-keys oc
org-loaddefs find-func org-version org-compat org-macs format-spec
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail
yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg
rfc6068 epg-config mailabbrev mailheader gnus-win gnus nnheader
gnus-util text-property-search time-date mail-utils range wid-edit
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-drums mail-prsvr gmm-utils icalendar diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs use-package-autoloads bind-key-autoloads
straight-autoloads cl-extra help-mode straight corfu-autoloads info
compat-autoloads package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads xwidget-internal dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit xinput2 x multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 752091 989956)
 (symbols 48 51546 293)
 (strings 32 255966 94210)
 (string-bytes 1 8055626)
 (vectors 16 121799)
 (vector-slots 8 4235204 2959890)
 (floats 8 2130 2592)
 (intervals 56 1535 778)
 (buffers 984 14))

-- 
http://hexmode.com/

I cannot remember the books I've read any more than the meals I have eaten;
even so, they have made me.
            -- Ralph Waldo Emerson





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

* bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely
  2023-03-12  5:06 bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-03-12  7:24 ` Eli Zaretskii
  2023-03-13  5:40 ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-05 22:04 ` bug#62136: (no subject) Teika Kazura
  2 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2023-03-12  7:24 UTC (permalink / raw)
  To: Mark A. Hershberger, Andrea Corallo; +Cc: 62136

> Date: Sun, 12 Mar 2023 00:06:07 -0500
> From:  "Mark A. Hershberger" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> 
> For a while now, I've had to re-byte-compile init.el to get it to work
> correctly. Today, I tracked down the problem to an incorrectly compiled
> .eln file.
> 
> My init.el is probably over-large and takes 8s to load normally.  But
> once it loads normally, a native compilation copy is created in
> ~/.emacs.d/eln-cache and subsequent loads take only 3s.  Which would be
> great if it were working, but the loading is incomplete because things
> like the theme are not loaded.  Erasing the init-*.eln file under
> ~/.emacs.d/eln-cache allows emacs to load properly using the
> byte-compiled file.  Example run:
> 
>     $ find ~/.emacs.d/ -mtime -0.002 -ls
>     17171430      4 drwxr-xr-x  26 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/
>     17566126      4 drwx------   2 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/auto-save-list
>     19674336     36 drwxr-xr-x   2 mah      mah         36864 Mar 11 22:21 ~/.emacs.d/eln-cache/30.0.50-29d0097a
>     19693480     68 -rwxr-xr-x   1 mah      mah         66280 Mar 11 22:21 ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
>     17171381    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:22 ~/.emacs.d/ido.last
>     17174597      4 drwxr-xr-x   2 mah      mah          4096 Mar 11 22:21 ~/.emacs.d/transient
>     17174599      4 -rw-r--r--   1 mah      mah          2019 Mar 11 22:21 ~/.emacs.d/transient/history.el
>     17189836    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:21 ~/.emacs.d/ido.last~
>     17171265      4 drwxr-xr-x   4 mah      mah          4096 Mar 11 22:22 ~/.emacs.d/straight
>     17175288    548 -rw-r--r--   1 mah      mah        558574 Mar 11 22:22 ~/.emacs.d/straight/build-cache.el
>     $ rm ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
>     $ # emacs properly started
>     $ # exit emacs
>     $ find ~/.emacs.d/ -mtime -0.002 -ls
>     17171430      4 drwxr-xr-x  26 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/
>     17566126      4 drwx------   2 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/auto-save-list
>     19674336     36 drwxr-xr-x   2 mah      mah         36864 Mar 11 22:23 ~/.emacs.d/eln-cache/30.0.50-29d0097a
>     19692826     68 -rwxr-xr-x   1 mah      mah         66280 Mar 11 22:23 ~/.emacs.d/eln-cache/30.0.50-29d0097a/init-1f8fd1e4-78889c62.eln
>     17189836    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:23 ~/.emacs.d/ido.last
>     17174597      4 drwxr-xr-x   2 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/transient
>     17174599      4 -rw-r--r--   1 mah      mah          2019 Mar 11 22:23 ~/.emacs.d/transient/history.el
>     17171381    168 -rw-r--r--   1 mah      mah        169284 Mar 11 22:22 ~/.emacs.d/ido.last~
>     17171265      4 drwxr-xr-x   4 mah      mah          4096 Mar 11 22:23 ~/.emacs.d/straight
>     17175288    548 -rw-r--r--   1 mah      mah        560242 Mar 11 22:23 ~/.emacs.d/straight/build-cache.el
>     $ # emacs started without proper execution
> 
> FWIW, the theme is loaded using use-package:
> 
>     (use-package spacemacs-common
>       :straight (:host github :repo "nashamri/spacemacs-theme")
>       :init
>       (mah/show-load-time "loading spacemacs")
>       (load-theme 'spacemacs-dark t)
>       (mah/show-load-time "done loading spacemacs")
>       :ensure t)
> 
> The mah/show-load-time messages do not show up in the *Messages* buffer
> when during loads of the .eln file.

Thank you for your report.

However, having read the description, I don't think I understand what
is the problem in your case.  You say some .eln file is compiled
incorrectly, but what are the symptoms of that incorrectness?  You say
"things like the theme are not loaded", but don't tell what exactly is
not loaded and don't show the evidence and symptoms of those parts
which don't load.

IOW, please be more specific about the problems and provide more
details about the actual problems you see.  Bonus points for posting a
recipe to reproduce the problem with the minimal init.el file (and any
other files that are absolutely necessary for reproduction).

It would be also beneficial to take unnecessary 3rd-party packages out
of the equation.  So if you can reproduce the problem without
Spacemacs, without 'straight', and without use-package, it will make
our job of investigating the problem easier.  Long story short: try to
make the scenario as simple and with as few actors as possible, and
then post a complete and detailed description of what goes wrong in
that scenario.

> I saw https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43969 which has some
> similarities, but there is more missing thand just the spacemacs theme.
> This makes me think that it isn't just a matter of missing requires.

Do you see any relevant error messages in *Messages* or any warnings
in *Warnings* buffers?





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

* bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely
  2023-03-12  5:06 bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-03-12  7:24 ` Eli Zaretskii
@ 2023-03-13  5:40 ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-05 22:04 ` bug#62136: (no subject) Teika Kazura
  2 siblings, 0 replies; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-03-13  5:40 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 62136, akrl


Thanks for the reply, Eli.

It is late, so I will try to find more information tomorrow, but right
now I can give you a *Messages* buffer from a complete load (when there
is an init.elc file, but no init.eln file) and a *Messages* buffer from
an improper load (when there is an init.eln file).

To quickly pin-point the missing lines from the improper load, this is
the first set of missing lines:

=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=
loading spacemacs 3s elapsed since emacs started.
Warning: setting attribute ‘:foreground’ of face ‘trailing-whitespace’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-4’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-3’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-2’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-1’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘mode-line-buffer-id’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:foreground’ of face ‘ido-subdir’: nil value is invalid, use ‘unspecified’ instead.
Restarting server
done loading spacemacs 3s elapsed since emacs started.
[yas] Prepared just-in-time loading of snippets successfully.
=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=

There is another section missing as well:

=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=
Loading auto-compile (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘diff-removed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-added’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-changed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-removed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-added’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-changed’: nil value is invalid, use ‘unspecified’ instead.
Waiting for git... [2 times]
Loading page-break-lines (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘blamer-face’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘which-key-separator-face’: nil value is invalid, use ‘unspecified’ instead.
=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=

I'll try to track down the code in my init.el that corresponds with
these lines tomorrow.

Full Messages buffers:


proper load:

=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=
got /home/mah/.emacs.d/straight/repos/straight.el/bootstrap.el
Loading /home/mah/.emacs.d/define.el (source)...done
Loading /home/mah/.emacs.d/my-custom.el (source)...
Loading allout (native compiled elisp)...done
Loading help-at-pt (native compiled elisp)...done
Loading ido (native compiled elisp)...done
Loading server (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘mode-line-buffer-id’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:foreground’ of face ‘ido-subdir’: nil value is invalid, use ‘unspecified’ instead.
Loading /home/mah/.emacs.d/my-custom.el (source)...done
Loading /home/mah/.emacs.d/my-firestarter.el (source)...done
before use-package in default.el 3s elapsed since emacs started.
Restarting server
loading spacemacs 3s elapsed since emacs started.
Warning: setting attribute ‘:foreground’ of face ‘trailing-whitespace’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-4’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-3’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-2’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘org-level-1’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘mode-line-buffer-id’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:foreground’ of face ‘ido-subdir’: nil value is invalid, use ‘unspecified’ instead.
Restarting server
done loading spacemacs 3s elapsed since emacs started.
[yas] Prepared just-in-time loading of snippets successfully.
after org-table in default.el 4s elapsed since emacs started.
Loading auto-compile (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘diff-removed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-added’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-changed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-removed’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-added’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘diff-indicator-changed’: nil value is invalid, use ‘unspecified’ instead.
Waiting for git... [2 times]
Loading page-break-lines (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘blamer-face’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:background’ of face ‘which-key-separator-face’: nil value is invalid, use ‘unspecified’ instead.
Preparing diary...
Followed link to /home/mah/home-files/dotfiles/diary
No diary entries for Monday, March 13, 2023
Appointment reminders enabled
init.el 9s elapsed since emacs started.
Started up! 10s elapsed since emacs started.
=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=

improper load

=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=
got /home/mah/.emacs.d/straight/repos/straight.el/bootstrap.el
Loading /home/mah/.emacs.d/define.el (source)...done
Loading /home/mah/.emacs.d/my-custom.el (source)...
Loading allout (native compiled elisp)...done
Loading help-at-pt (native compiled elisp)...done
Loading ido (native compiled elisp)...done
Loading server (native compiled elisp)...done
Warning: setting attribute ‘:background’ of face ‘mode-line-buffer-id’: nil value is invalid, use ‘unspecified’ instead.
Warning: setting attribute ‘:foreground’ of face ‘ido-subdir’: nil value is invalid, use ‘unspecified’ instead.
Loading /home/mah/.emacs.d/my-custom.el (source)...done
Loading /home/mah/.emacs.d/my-firestarter.el (source)...done
before use-package in default.el 3s elapsed since emacs started.
Restarting server
after org-table in default.el 3s elapsed since emacs started.
Preparing diary...
Followed link to /home/mah/home-files/dotfiles/diary
No diary entries for Monday, March 13, 2023
Appointment reminders enabled
init.el 3s elapsed since emacs started.
Started up! 3s elapsed since emacs started.
=-=-=-=-=-=-=-= snip =-=-=-=-=-=-=-=



-- 
http://hexmode.com/

I cannot remember the books I've read any more than the meals I have eaten;
even so, they have made me.
            -- Ralph Waldo Emerson





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

* bug#62136: (no subject)
  2023-03-12  5:06 bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-03-12  7:24 ` Eli Zaretskii
  2023-03-13  5:40 ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-04-05 22:04 ` Teika Kazura
  2023-04-06 15:21   ` bug#62136: init.el partial execution Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-06 17:25   ` bug#62136: a further update: straight.el & nativecomp interaction? Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2 siblings, 2 replies; 12+ messages in thread
From: Teika Kazura @ 2023-04-05 22:04 UTC (permalink / raw)
  To: 62136; +Cc: mah

@OP:
Do you have something like set-buffer or goto-char inside eval-when/and-compile in your init file? Then perhaps wrapping them in save-excursion might help, as indicated by bug #62317. 

Regards,
Teika





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

* bug#62136: init.el partial execution
  2023-04-05 22:04 ` bug#62136: (no subject) Teika Kazura
@ 2023-04-06 15:21   ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-06 17:25   ` bug#62136: a further update: straight.el & nativecomp interaction? Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-04-06 15:21 UTC (permalink / raw)
  To: Teika Kazura, 62136

Teika,

The eval-when-compile's that I have wrap require or other things to
handle definitions like defvar, etc.

I'm happy to see that your issue looks similar, though, and may end up
helping this one.

Mark.





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-04-05 22:04 ` bug#62136: (no subject) Teika Kazura
  2023-04-06 15:21   ` bug#62136: init.el partial execution Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-04-06 17:25   ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-06 17:33     ` Eli Zaretskii
  1 sibling, 1 reply; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-04-06 17:25 UTC (permalink / raw)
  To: Teika Kazura, 62136

I've gone through my init.el and removed all references to straight
which means that some packages I was installing with use-
package+straight are not available. For now, the problem seems to have
disappeared.

But, assuming one of those packages isn't at fault here, maybe this
inidicates a problem with use-package+straight and native-comp?





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-04-06 17:25   ` bug#62136: a further update: straight.el & nativecomp interaction? Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-04-06 17:33     ` Eli Zaretskii
  2023-04-06 18:07       ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2023-04-06 17:33 UTC (permalink / raw)
  To: Mark A. Hershberger; +Cc: 62136, teika

> Date: Thu, 06 Apr 2023 13:25:52 -0400
> From:  "Mark A. Hershberger" via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> I've gone through my init.el and removed all references to straight
> which means that some packages I was installing with use-
> package+straight are not available. For now, the problem seems to have
> disappeared.
> 
> But, assuming one of those packages isn't at fault here, maybe this
> inidicates a problem with use-package+straight and native-comp?

We need a minimal reproducible recipe to reproduce and investigate
this problem.  Would you be willing to create and post such a recipe,
starting from "emacs -Q" and loading any packages you absolutely need
to show the problem?

Thanks.





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-04-06 17:33     ` Eli Zaretskii
@ 2023-04-06 18:07       ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-04-06 18:24         ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-04-06 18:07 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 62136, teika

On Thu, 2023-04-06 at 20:33 +0300, Eli Zaretskii wrote:
> 
> Would you be willing to create and post such a recipe,
> starting from "emacs -Q" and loading any packages you absolutely need
> to show the problem?

I started on this but now I'm getting 

  Building straight...
  run-hook-with-args: Symbol’s value as variable is void:
     native-comp-deferred-compilation-deny-list

which I wasn't getting before.

A bit of searching showed that I should

  (setq straight-repository-branch "develop")

I removed the repo and build directory for straight, added the setq,
and, at least in my initial attempts, the original bug isn't showing.

I'd like to leave this bug open for now, but I may have run into a
problem that the straight devs were already addressing.

Mark.





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-04-06 18:07       ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-04-06 18:24         ` Eli Zaretskii
  2023-05-05  6:41           ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2023-04-06 18:24 UTC (permalink / raw)
  To: Mark A. Hershberger; +Cc: 62136, teika

> From: "Mark A. Hershberger" <mah@everybody.org>
> Cc: teika@gmx.com, 62136@debbugs.gnu.org
> Date: Thu, 06 Apr 2023 14:07:26 -0400
> 
> I'd like to leave this bug open for now, but I may have run into a
> problem that the straight devs were already addressing.

OK, let's leave it open for a while.





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-04-06 18:24         ` Eli Zaretskii
@ 2023-05-05  6:41           ` Eli Zaretskii
  2023-05-05 12:31             ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 12+ messages in thread
From: Eli Zaretskii @ 2023-05-05  6:41 UTC (permalink / raw)
  To: mah; +Cc: 62136, teika

> Cc: 62136@debbugs.gnu.org, teika@gmx.com
> Date: Thu, 06 Apr 2023 21:24:43 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: "Mark A. Hershberger" <mah@everybody.org>
> > Cc: teika@gmx.com, 62136@debbugs.gnu.org
> > Date: Thu, 06 Apr 2023 14:07:26 -0400
> > 
> > I'd like to leave this bug open for now, but I may have run into a
> > problem that the straight devs were already addressing.
> 
> OK, let's leave it open for a while.

Any updates on this issue?





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-05-05  6:41           ` Eli Zaretskii
@ 2023-05-05 12:31             ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-05-05 13:31               ` Eli Zaretskii
  0 siblings, 1 reply; 12+ messages in thread
From: Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-05-05 12:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 62136, teika

On Fri, 2023-05-05 at 09:41 +0300, Eli Zaretskii wrote:
> > Cc: 62136@debbugs.gnu.org, teika@gmx.com
> > Date: Thu, 06 Apr 2023 21:24:43 +0300
> > From: Eli Zaretskii <eliz@gnu.org>
> > 
> > > From: "Mark A. Hershberger" <mah@everybody.org>
> > > Cc: teika@gmx.com, 62136@debbugs.gnu.org
> > > Date: Thu, 06 Apr 2023 14:07:26 -0400
> > > 
> > > I'd like to leave this bug open for now, but I may have run into
> > > a
> > > problem that the straight devs were already addressing.
> > 
> > OK, let's leave it open for a while.
> 
> Any updates on this issue?

I think the straight devs have this fixed.  This bug can be closed.





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

* bug#62136: a further update: straight.el & nativecomp interaction?
  2023-05-05 12:31             ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-05-05 13:31               ` Eli Zaretskii
  0 siblings, 0 replies; 12+ messages in thread
From: Eli Zaretskii @ 2023-05-05 13:31 UTC (permalink / raw)
  To: Mark A. Hershberger; +Cc: teika, 62136-done

> From: "Mark A. Hershberger" <mah@everybody.org>
> Cc: 62136@debbugs.gnu.org, teika@gmx.com
> Date: Fri, 05 May 2023 08:31:00 -0400
> 
> On Fri, 2023-05-05 at 09:41 +0300, Eli Zaretskii wrote:
> > > Cc: 62136@debbugs.gnu.org, teika@gmx.com
> > > Date: Thu, 06 Apr 2023 21:24:43 +0300
> > > From: Eli Zaretskii <eliz@gnu.org>
> > > 
> > > > From: "Mark A. Hershberger" <mah@everybody.org>
> > > > Cc: teika@gmx.com, 62136@debbugs.gnu.org
> > > > Date: Thu, 06 Apr 2023 14:07:26 -0400
> > > > 
> > > > I'd like to leave this bug open for now, but I may have run into
> > > > a
> > > > problem that the straight devs were already addressing.
> > > 
> > > OK, let's leave it open for a while.
> > 
> > Any updates on this issue?
> 
> I think the straight devs have this fixed.  This bug can be closed.

Thanks, done.





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

end of thread, other threads:[~2023-05-05 13:31 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-12  5:06 bug#62136: 30.0.50; byte-compiled init.el loads correctly, but native compiled init.eln loads incompletely Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-12  7:24 ` Eli Zaretskii
2023-03-13  5:40 ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-05 22:04 ` bug#62136: (no subject) Teika Kazura
2023-04-06 15:21   ` bug#62136: init.el partial execution Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-06 17:25   ` bug#62136: a further update: straight.el & nativecomp interaction? Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-06 17:33     ` Eli Zaretskii
2023-04-06 18:07       ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-04-06 18:24         ` Eli Zaretskii
2023-05-05  6:41           ` Eli Zaretskii
2023-05-05 12:31             ` Mark A. Hershberger via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-05 13:31               ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.