GNU bug report logs -
#79642
30.2; cus-start: Wrong type argument: listp, t
Previous Next
To reply to this bug, email your comments to 79642 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79642; Package
emacs.
(Fri, 17 Oct 2025 01:55:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Lambda Coder <sjlambda <at> gmail.com>:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org.
(Fri, 17 Oct 2025 01:55:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
ERRORS DURING LOADING:
• cus-start: Wrong type argument: listp, t
Somewhere early in the emacs loading process, I trapped the above error
through an advice macro I built to time require calls. I wrote the macro
to profile my use-package macros to fix long-standing errors. I fixed
them all in my init.el, except the one above. I do not know how/where
this call originates. I myself do not use or call cus-start directly. I
get this error with both master and unstable sources. Would appreciate
any help/advice.
=========================
In GNU Emacs 30.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49,
cairo version 1.18.2)
Repository revision: emacs-30.2
Repository branch: master
System Description: NixOS 25.05 (Warbler)
Configured using:
'configure
--prefix=/nix/store/74dry715s4lrx394w10lwqpv6g944lxa-emacs-unstable-pgtk-30.2
--disable-build-details --with-modules --with-pgtk
--with-compress-install --with-toolkit-scroll-bars
--with-native-compilation --without-imagemagick --with-mailutils
--without-small-ja-dic --with-tree-sitter --without-xinput2
--without-xwidgets --with-dbus --with-selinux'
Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM GTK3 ZLIB
Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
Major mode: Fundamental
Minor modes in effect:
<snip/>
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79642; Package
emacs.
(Fri, 17 Oct 2025 07:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 79642 <at> debbugs.gnu.org (full text, mbox):
> From: Lambda Coder <sjlambda <at> gmail.com>
> Date: Thu, 16 Oct 2025 18:53:43 -0700
>
> ERRORS DURING LOADING:
> • cus-start: Wrong type argument: listp, t
>
> Somewhere early in the emacs loading process, I trapped the above error
> through an advice macro I built to time require calls. I wrote the macro
> to profile my use-package macros to fix long-standing errors. I fixed
> them all in my init.el, except the one above. I do not know how/where
> this call originates. I myself do not use or call cus-start directly. I
> get this error with both master and unstable sources. Would appreciate
> any help/advice.
You must tell more about the problem, like show the minimal init file
which could be used to reproduce the problem.
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79642; Package
emacs.
(Sun, 19 Oct 2025 13:32:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 79642 <at> debbugs.gnu.org (full text, mbox):
[Please use Reply All to reply, to keep the bug-tracker CC'ed.]
> From: Lambda Coder <sjlambda <at> gmail.com>
> Date: Sun, 19 Oct 2025 05:39:06 -0700
>
> I may have caused the error by overloading early-init.el with timing
> macros. I discovered this only while preparing a minimal init.el file.
> Instead of a (setq ...), an inadvertent (setopt ...) was triggering a
> whole bunch of requires as shown below.
>
> (require 'cus-load)
> (require 'cus-start.el)
> (require 'wid-edit.el)
> (require 'facemenu)
>
> Somewhere in that chain was the "cus-start: Wrong type argument:
> listp, t" error. Once I replaced all setopts with setq and moved all
> my macros out of early-init.el to init.el, I don't see the error
> anymore.
In general, early-init.el is not supposed to be used for too much
initialization stuff that can be done in init.el.
Anyway, I guess the problem is solved and we can close this bug?
Information forwarded
to
bug-gnu-emacs <at> gnu.org:
bug#79642; Package
emacs.
(Mon, 20 Oct 2025 21:07:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 79642 <at> debbugs.gnu.org (full text, mbox):
Yes please, close it.
On Sun, Oct 19, 2025 at 6:31 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> [Please use Reply All to reply, to keep the bug-tracker CC'ed.]
>
> > From: Lambda Coder <sjlambda <at> gmail.com>
> > Date: Sun, 19 Oct 2025 05:39:06 -0700
> >
> > I may have caused the error by overloading early-init.el with timing
> > macros. I discovered this only while preparing a minimal init.el file.
> > Instead of a (setq ...), an inadvertent (setopt ...) was triggering a
> > whole bunch of requires as shown below.
> >
> > (require 'cus-load)
> > (require 'cus-start.el)
> > (require 'wid-edit.el)
> > (require 'facemenu)
> >
> > Somewhere in that chain was the "cus-start: Wrong type argument:
> > listp, t" error. Once I replaced all setopts with setq and moved all
> > my macros out of early-init.el to init.el, I don't see the error
> > anymore.
>
> In general, early-init.el is not supposed to be used for too much
> initialization stuff that can be done in init.el.
>
> Anyway, I guess the problem is solved and we can close this bug?
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility.
(Tue, 21 Oct 2025 02:32:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Lambda Coder <sjlambda <at> gmail.com>:
bug acknowledged by developer.
(Tue, 21 Oct 2025 02:32:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 79642-done <at> debbugs.gnu.org (full text, mbox):
> From: Lambda Coder <sjlambda <at> gmail.com>
> Date: Mon, 20 Oct 2025 14:06:01 -0700
> Cc: 79642 <at> debbugs.gnu.org
>
> Yes please, close it.
Done.
> On Sun, Oct 19, 2025 at 6:31 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > [Please use Reply All to reply, to keep the bug-tracker CC'ed.]
> >
> > > From: Lambda Coder <sjlambda <at> gmail.com>
> > > Date: Sun, 19 Oct 2025 05:39:06 -0700
> > >
> > > I may have caused the error by overloading early-init.el with timing
> > > macros. I discovered this only while preparing a minimal init.el file.
> > > Instead of a (setq ...), an inadvertent (setopt ...) was triggering a
> > > whole bunch of requires as shown below.
> > >
> > > (require 'cus-load)
> > > (require 'cus-start.el)
> > > (require 'wid-edit.el)
> > > (require 'facemenu)
> > >
> > > Somewhere in that chain was the "cus-start: Wrong type argument:
> > > listp, t" error. Once I replaced all setopts with setq and moved all
> > > my macros out of early-init.el to init.el, I don't see the error
> > > anymore.
> >
> > In general, early-init.el is not supposed to be used for too much
> > initialization stuff that can be done in init.el.
> >
> > Anyway, I guess the problem is solved and we can close this bug?
>
This bug report was last modified 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.