Bug#1139706: elpa-with-editor: Using emacs as $EDITOR brings up "definition is void" error

Xiyue Deng <[email protected]> Thu, 11 Jun 2026 18:36:43 -0700
Newsgroups gmane.linux.debian.devel.emacsen
Message-ID <87pl1wbkus.fsf__35068.256773387$1781228366$gmane$org@debian-hx90.lan>
Hi Ron,

Ron Murray <[email protected]> writes:

> Package: elpa-with-editor
> Version: 3.5.1-1
> Severity: important
>
> Dear Maintainer,
>
> I use emacs as $EDITOR, and ran tripwire on my system this
> morning. When tripwire finished, emacs came up with a "definition is
> void" error.
>
> I'd had a similar problem yesterday (see bug #1139671), so I knew
> what to look for. I found an empty "with-editor.elc" file in
> /usr/share/emacs/site-lisp/elpa/with-editor-3.5.1, so I renamed it to
> ".bad", and that fixed the problem.
>

Thanks for reporting the issue and finding the cause. An empty .elc can
mean that the byte compilation of the file failed. I don't see this on
my system though. Can you show the content of the install log
(/usr/share/emacs/site-lisp/elpa/Install.log.gz) which may have some
clue of what could have gone wrong?

> -- System Information:
> Debian Release: forky/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 7.0.12.khufu (SMP w/8 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_OOT_MODULE
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages elpa-with-editor depends on:
> ii  dh-elpa-helper              2.1.9
> ii  elpa-compat                 31.0.0.1+dfsg-1
> ii  elpa-cond-let               1.1.2-1
> ii  emacs-common [elpa-compat]  1:30.2+1-3
> ii  emacsen-common              3.0.8
>
> elpa-with-editor recommends no packages.
>
> Versions of packages elpa-with-editor suggests:
> pn  elpa-vterm  <none>
>
> -- no debconf information
>

-- 
Regards,
Xiyue Deng
signature.asc (application/pgp-signature, 857 B)
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmorYqsSHG1hbnBoaXpA
Z21haWwuY29tAAoJEC3pZe1jglyTovIQAJmcZOx0be9diz5tush0enMX6KBbmhma
A8ADBgne/ejYgdQkQWjY0cwdFAQ1c3vMpuKEBGb0EpfKXsfazRuJodiieHCfEM3o
FXaBsOkzO4wMlgI18XjECOa47s4pJOuUcFQ6myuh3SuHx23kz+gMuMP0A4CFw7HD
NZxnGff0wR3xZmMKFx/kFejclVB8aUH5FemzL42oHB3wzaLpBD+qoT1FD/uJnfqu
RLhFW9IO5e/cd7Xp+7ly0ytKUgHeg3o2sCFla6dO7KE6hqODCCF86RgKn4Y8+hEs
zWjCseYlVAZTm6/qjiCEZ4VLqUXK6bpaHLA2KPOQaGTSztkHQTpx3JCRz742I2VL
XxUhjfK4ghuwPlSNJuOwNMk6iSAQnyHCUGKZWhqVnr6JPfO4JoTOhd6QAC2ste7i
SI52EDX8N8BXdG0IVk5suntIKpHFeKv87Ky7l50DFrKNULSK2Hn43bpFR9BHqKqE
MnCAMF3a0xGL234XveW3yi1O1SZ0lcE+JVyKh44M7KDkhLaTOu/z5QWNNSC/ZQfi
CHDmoe7ymKaGwvTAUn9nfkTE9XgFiRM8QhgHN1bDwnERneSLC6SPCP8GmV5JWC4i
vT8aroSspNqqBLYWzmD9zjVJ29zbiGZYZpMBhvJdSNi9LbSG7dwhvDoF8oAjUfVG
8jAUlCjMEPIN
=nLrm
-----END PGP SIGNATURE-----