bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46355: 27.1; custom.el `widget-apply: Symbol’s function definition i


From: zdm
Subject: bug#46355: 27.1; custom.el `widget-apply: Symbol’s function definition is void: nil'
Date: Sat, 06 Feb 2021 15:46:24 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

On Emacs 27.1 using the ‘Apply and Save’ button in a ‘M-x customize-face’ (or 
‘M-x
customize-apropos-faces’) buffer with more than one face to customize causes an 
error
complaining of:

| widget-apply: Symbol’s function definition is void: nil

Due to the nature of it being related to custom.el, I cannot use ‘emacs -Q’ in 
order to
provide you with a clean Emacs state to start from for reproducing/testing 
(even with
trying to set ‘custom-file’), but I did ask in #emacs for people on the same 
version if
they were able to reproduce it with the following steps and several confirmed 
they could:

Step 1:
| M-x customize-apropos-faces RET vc RET
Step 2:
| Press the ‘Apply and Save’ button and ‘yes’ to the dialog box

The error will occur in the echo area. Note that this happens via 
‘customize-face’ as
well, but there has to be more than one face in the customize buffer. Example, 
in ERC
there are some areas in a buffer you can place your mark/cursor, hit 
‘customize-face’ and
be presented with two or more faces if detected when prompted for a face name. 
If you
simply hit RET, the listed faces will be in the customize buffer. Pressing 
‘Apply and
Save’ there causes the same error. It matters not what packages the faces are 
coming
from, so ‘vc’ is just for testing, rather this is something wrong with 
custom.el I
believe.

Below is information gathered from ‘M-x report-emacs-bug’ immediately following 
the steps
above.

----------------------------------------

In GNU Emacs 27.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.22, 
cairo version 1.16.0)
 of 2020-08-20 built on buildhw-x86-03.iad2.fedoraproject.org
Windowing system distributor 'Fedora Project', version 11.0.12010000
System Description: Fedora 33 (Workstation Edition)

Recent messages:
Loading /home/zdm/.emacs.d/others-utils/emacsredux.el (source)...done
Loading /home/zdm/.emacs.d/others-utils/fuco1.el (source)...done
Starting new Ispell process /usr/bin/hunspell with default dictionary...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Creating customization items...
Creating customization items ...done
Creating customization setup...done
Save all settings in this buffer? y
Saving file /home/zdm/.emacs.d/auto-package-configuration/custom.el...
Wrote /home/zdm/.emacs.d/auto-package-configuration/custom.el
widget-apply: Symbol’s function definition is void: nil
Configured using:
 'configure --build=x86_64-redhat-linux-gnu
 --host=x86_64-redhat-linux-gnu --program-prefix=
 --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr
 --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
 --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64
 --libexecdir=/usr/libexec --localstatedir=/var
 --sharedstatedir=/var/lib --mandir=/usr/share/man
 --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png
 --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3
 --with-gpm=no --with-xwidgets --with-modules --with-harfbuzz
 --with-cairo --with-json build_alias=x86_64-redhat-linux-gnu
 host_alias=x86_64-redhat-linux-gnu CC=gcc 'CFLAGS=-DMAIL_USE_LOCKF -O2
 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches
 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
 -Wp,-D_GLIBCXX_ASSERTIONS
 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong
 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
 LDFLAGS=-Wl,-z,relro
 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND DBUS GSETTINGS GLIB NOTIFY
INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF
ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD JSON PDUMPER GMP

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

Major mode: Custom

Minor modes in effect:
  electric-pair-mode: t
  ivy-mode: t
  doom-modeline-mode: t
  minibuffer-depth-indicate-mode: t
  delete-selection-mode: t
  show-paren-mode: t
  shell-dirtrack-mode: t
  winner-mode: t
  override-global-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/zdm/.emacs.d/elpa/lispy-20210121.926/elpa hides 
/home/zdm/.emacs.d/elpa/ivy-20210202.1423/elpa

Features:
(shadow sort form-feed mail-extr emacsbug message rmc puny rfc822 mml
mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs
text-property-search time-date mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils pp vc-git diff-mode vc-bzr
vc-src vc-sccs vc-svn vc-cvs vc-rcs vc vc-dispatcher apropos cus-edit
cus-start cus-load wid-edit counsel xdg compile lispy hydra lv pcase
swiper lispy-inline noutline outline etags fileloop generator xref
project edebug backtrace help-fns radix-tree lispy-tags mode-local
find-func elec-pair aggressive-indent flyspell ispell emacs-upload
inf-elixir ivy-avy ivy ivy-faces ivy-overlay colir doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
f s all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons dash
link-hint rx ffap goto-addr thingatpt url-util avy derived advice dired+
image-dired image-mode exif format-spec image-file dired-x dired-aux
dired dired-loaddefs color-theme-sanityinc-tomorrow color doom-themes
doom-themes-base mb-depth delsel paren shell pcomplete comint ansi-color
winner ring edmacro kmacro keychain-environment exec-path-from-shell
no-littering cl-extra help-mode use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core finder-inf erlang-start slime-autoloads info
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
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 elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify dynamic-setting system-font-setting font-render-setting
xwidget-internal cairo move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 385010 15030)
 (symbols 48 27826 2)
 (strings 32 118735 4924)
 (string-bytes 1 3219780)
 (vectors 16 35891)
 (vector-slots 8 524012 15802)
 (floats 8 807 394)
 (intervals 56 518 86)
 (buffers 1000 13))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]