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

#1139706#5
Date:
2026-06-11 15:53:03 UTC
From:
To:
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.

- -- 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
-----BEGIN PGP SIGNATURE-----

iQJCBAEBCgAsFiEETZlw4yMXM0sUHntjEvfoZbXi52EFAmoq2c0OHHJqbXhAcmpt
eC5uZXQACgkQEvfoZbXi52GLCg/9ENyDXQKyXP0pDXTOZGNr8sixbDansz12PCIX
G3x9ue+kUru5eJArIN2m1zq6IIRL/F/6X+6aFPflwkRplc3TvygN06oc45ih+0JD
mMgN7PbvM30AP/LpfOPF/wDlOP6xuOeLi8JxtelM4aab/+nUa/fjvmzpbg8SFw7U
z/vtT3sosmHAnw05TyP48g4HkD8WpLTT9j30U4StPtkqPjZNIk0KL+6XhpT950XF
QTx1uG3qP1xXbeb7xogjR9E2aqiKO1JwLHktJ6ym7cGdjszK3YwIcZzbUiFVkUUg
KmsPHtO2syZ1plLkS+U6iPiwFECPcQP2aQTSQgIlmtgq6nwodr0mgBXMjOXOhMoN
2IG4TgFAGeIkvejTd73my+C72Oq5/8un8bkF2dK0sNG/UmcITgSltXU4ba8P0Fuw
G/gFzs+Q/UnzM0nUmBhOarDlsvJ0k8BEIvJrRMjtD3Wmo1HEtKVAzZqe69B/jzyu
vGnAPQn4ZtOX3N2EILC8WmQfF/XyrN7dStGj5OGI+PL8609yTYtkyfqjVgHLoFMS
8rTHZVU2oOubysuQiuOgP5BB04jFCQm8BAOQVerMXE0nxruzPb5OkCvRU5cKFQJp
xHb8+dU9c8KCgs/J2V0p1ryoCa1NtZgJnRHFrAdG70Tsa0rksEll3Vh0ajBUlQiX
TuI3Ujs=
=vF8e
-----END PGP SIGNATURE-----

#1139706#10
Date:
2026-06-12 01:36:43 UTC
From:
To:
Hi Ron,

Ron Murray <rjmx@rjmx.net> writes:

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?

#1139706#15
Date:
2026-06-12 02:15:52 UTC
From:
To:
Xiyue Deng <manphiz@gmail.com> writes:

Apparently I missed the package part in the path.  This should be:

/usr/share/emacs/site-lisp/elpa/with-editor-3.5.1/Install.log.gz

#1139706#32
Date:
2026-06-12 13:33:09 UTC
From:
To:
There doesn't appear to be a file at
/usr/share/emacs/site-lisp/elpa/Install.log.gz, but there is one at
/usr/share/emacs/site-lisp/elpa/with-editor-3.5.1/Install.log.gz.
Unforunately, it's empty.

The maintainer of emacsen-common (which has a similar problem) suggests
that I try a reinstall and see if that shows any errors. I'll do the
same with this one,

Thanks,

  .....Ron
-- 
Ron Murray<rjmx@rjmx.net>
PGP Fingerprint: 4D99 70E3 2317 334B 141E 7B63 12F7 E865 B5E2 E761