GNU bug report logs - #71566
30.0.50; test-custom-opts shows errors

Previous Next

Package: emacs;

Reported by: Michael Albinus <michael.albinus <at> gmx.de>

Date: Sat, 15 Jun 2024 08:32:01 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71566 in the body.
You can then email your comments to 71566 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 08:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 15 Jun 2024 08:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 10:31:26 +0200
--8<---------------cut here---------------start------------->8---
# make -C test test-custom-opts
...
Test check-for-wrong-custom-opts condition:
    (ert-test-failed
     ((should (null (cus-test-opts t))) :form
      (null
       ((php-ts-mode-ws-workers :type-error nil ...)
	(org-src-lang-modes :type-error ... ...)
	(php-ts-mode-php-config :type-error nil ...)
	(php-ts-mode-ws-document-root :type-error nil ...)
	(php-ts-mode-ws-port :type-error nil ...)))
      :value nil))
   FAILED  1/1  check-for-wrong-custom-opts (134.958959 sec) at misc/test-custom-opts.el:33
--8<---------------cut here---------------end--------------->8---



In GNU Emacs 30.0.50 (build 40, x86_64-pc-linux-gnu, GTK+ Version
 3.24.42, cairo version 1.18.0) of 2024-06-15 built on gandalf
Repository revision: 8d67bdae59425fbc7dccd35b89c019c7757c1acd
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12401000
System Description: Fedora Linux 40 (Workstation Edition)

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LIBOTF LIBSELINUX 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 GTK3 ZLIB

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

Major mode: Group

Minor modes in effect:
  gnus-undo-mode: t
  display-time-mode: t
  delete-selection-mode: t
  icomplete-mode: t
  global-goto-address-mode: t
  goto-address-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/albinus/src/elpa/packages/debbugs/debbugs hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs
/home/albinus/src/elpa/packages/debbugs/debbugs-org hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-org
/home/albinus/src/elpa/packages/debbugs/debbugs-gnu hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-gnu
/home/albinus/src/elpa/packages/debbugs/debbugs-guix hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-guix
/home/albinus/src/elpa/packages/debbugs/debbugs-browse hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-browse
/home/albinus/src/elpa/packages/debbugs/debbugs-pkg hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-pkg
/home/albinus/src/elpa/packages/debbugs/debbugs-autoloads hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-autoloads
/home/albinus/src/elpa/packages/debbugs/debbugs-compat hides /home/albinus/.emacs.d/elpa/debbugs-0.40/debbugs-compat
/home/albinus/.emacs.d/elpa/helm-3.9.8/helm-packages hides /home/albinus/.emacs.d/elpa/helm-core-3.9.8/helm-packages
~/lisp/telepathy hides /home/albinus/.emacs.d/elpa/telepathy-20131209.1258/telepathy
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme-autoloads hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-autoloads
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme
/home/albinus/src/elpa/packages/tramp-theme/tramp-theme-pkg hides /home/albinus/.emacs.d/elpa/tramp-theme-0.2/tramp-theme-pkg
/home/albinus/.emacs.d/elpa/hydra-0.15.0/lv hides /home/albinus/.emacs.d/elpa/lv-0.15.0/lv
/home/albinus/.emacs.d/elpa/transient-20240509.1849/transient hides /home/albinus/src/emacs/lisp/transient
/home/albinus/src/tramp/lisp/tramp-sh hides /home/albinus/src/emacs/lisp/net/tramp-sh
/home/albinus/src/tramp/lisp/tramp-rclone hides /home/albinus/src/emacs/lisp/net/tramp-rclone
/home/albinus/src/tramp/lisp/tramp-message hides /home/albinus/src/emacs/lisp/net/tramp-message
/home/albinus/src/tramp/lisp/tramp-loaddefs hides /home/albinus/src/emacs/lisp/net/tramp-loaddefs
/home/albinus/src/tramp/lisp/tramp-gvfs hides /home/albinus/src/emacs/lisp/net/tramp-gvfs
/home/albinus/src/tramp/lisp/tramp-cmds hides /home/albinus/src/emacs/lisp/net/tramp-cmds
/home/albinus/src/tramp/lisp/tramp-sudoedit hides /home/albinus/src/emacs/lisp/net/tramp-sudoedit
/home/albinus/src/tramp/lisp/tramp-container hides /home/albinus/src/emacs/lisp/net/tramp-container
/home/albinus/src/tramp/lisp/tramp-cache hides /home/albinus/src/emacs/lisp/net/tramp-cache
/home/albinus/src/tramp/lisp/tramp-compat hides /home/albinus/src/emacs/lisp/net/tramp-compat
/home/albinus/src/tramp/lisp/tramp-ftp hides /home/albinus/src/emacs/lisp/net/tramp-ftp
/home/albinus/src/tramp/lisp/tramp-archive hides /home/albinus/src/emacs/lisp/net/tramp-archive
/home/albinus/src/tramp/lisp/tramp-smb hides /home/albinus/src/emacs/lisp/net/tramp-smb
/home/albinus/src/tramp/lisp/tramp-uu hides /home/albinus/src/emacs/lisp/net/tramp-uu
/home/albinus/src/tramp/lisp/tramp-fuse hides /home/albinus/src/emacs/lisp/net/tramp-fuse
~/lisp/dbus hides /home/albinus/src/emacs/lisp/net/dbus
/home/albinus/src/tramp/lisp/trampver hides /home/albinus/src/emacs/lisp/net/trampver
/home/albinus/src/tramp/lisp/tramp-sshfs hides /home/albinus/src/emacs/lisp/net/tramp-sshfs
/home/albinus/src/tramp/lisp/tramp-integration hides /home/albinus/src/emacs/lisp/net/tramp-integration
/home/albinus/src/tramp/lisp/tramp hides /home/albinus/src/emacs/lisp/net/tramp
/home/albinus/src/tramp/lisp/tramp-androidsu hides /home/albinus/src/emacs/lisp/net/tramp-androidsu
/home/albinus/src/tramp/lisp/tramp-crypt hides /home/albinus/src/emacs/lisp/net/tramp-crypt
/home/albinus/src/tramp/lisp/tramp-adb hides /home/albinus/src/emacs/lisp/net/tramp-adb
/home/albinus/.emacs.d/elpa/faceup-20170925.1946/faceup hides /home/albinus/src/emacs/lisp/emacs-lisp/faceup

Features:
(shadow sort mail-extr warnings emacsbug nndraft nnmh network-stream nsm
nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-cache
gnus-sum shr pixel-fill kinsoku url-file svg dom nnnil nntp gnus-group
gnus-undo smtpmail gnus-start gnus-dbus dbus xml gnus-cloud nnimap
nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message
sendmail yank-media puny rfc822 mml mml-sec epa derived epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047
rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus
nnheader gnus-util mail-utils range mm-util mail-prsvr compile
text-property-search comp-run comp-common face-remap ob-shell ob
ob-tangle ol org-src sh-script smie treesit executable ob-ref ob-lob
ob-table ob-exp ob-comint ob-core org-cycle org-fold org-fold-core
ob-eval org-keys oc org-compat org-version org-macs vc vc-dispatcher
time tramp-sh lxc-tramp lxd-tramp tramp trampver tramp-integration
files-x tramp-message help-mode tramp-compat xdg shell pcomplete comint
ansi-osc ring parse-time iso8601 time-date format-spec ansi-color
tramp-loaddefs rx delsel ido jka-compr icomplete cus-edit pp cus-load
wid-edit dired dired-loaddefs goto-addr thingatpt alert-autoloads
android-mode-autoloads auth-source-gopass-autoloads
auth-source-keytar-autoloads auth-source-kwallet-autoloads
auth-source-xoauth2-autoloads auto-sudoedit-autoloads
auto-virtualenv-autoloads auto-virtualenvwrapper-autoloads
boxquote-autoloads clang-format-autoloads company-shell-autoloads
company-autoloads counsel-toki-autoloads counsel-tramp-autoloads
counsel-autoloads dbus-codegen-autoloads debbugs-autoloads
dired-du-autoloads dired-rsync-autoloads dired-toggle-sudo-autoloads
direnv-autoloads disk-usage-autoloads dockerfile-mode-autoloads
drepl-autoloads comint-mime-autoloads
editorconfig-charset-extras-autoloads
editorconfig-custom-majormode-autoloads
editorconfig-domain-specific-autoloads editorconfig-autoloads
editorconfig-generate-autoloads ednc-autoloads el-get-autoloads
envrc-autoloads etc-sudoers-mode-autoloads
exec-path-from-shell-autoloads faceup-autoloads fontaine-autoloads
forge-autoloads closql-autoloads emacsql-autoloads
friendly-tramp-path-autoloads fzf-autoloads ggtags-autoloads
ghub-autoloads gited-autoloads gitlab-ci-mode-flycheck-autoloads
gitlab-ci-mode-autoloads flycheck-autoloads gntp-autoloads
helm-gitlab-autoloads helm-projectile-autoloads helm-autoloads
helm-core-autoloads async-autoloads ibuffer-tramp-autoloads
inheritenv-autoloads ivy-gitlab-autoloads gitlab-autoloads
journalctl-mode-autoloads keepass-mode-autoloads keytar-autoloads
kubernetes-autoloads log4e-autoloads lsp-java-autoloads
dap-mode-autoloads lsp-docker-autoloads bui-autoloads
lsp-latex-autoloads consult-autoloads lsp-treemacs-autoloads
lsp-mode-autoloads f-autoloads lxc-tramp-autoloads lxd-tramp-autoloads
magit-filenotify-autoloads magit-autoloads pcase git-commit-autoloads
magit-popup-autoloads magit-section-autoloads marcopolo-autoloads
mastodon-autoloads nexus-autoloads oauth2-autoloads
ob-restclient-autoloads orderless-autoloads password-menu-autoloads
persist-autoloads pkg-info-autoloads epl-autoloads popup-autoloads
projectile-autoloads promise-autoloads pylint-autoloads
python-environment-autoloads deferred-autoloads pyvenv-autoloads
recentf-remove-sudo-tramp-prefix-autoloads request-autoloads
restclient-test-autoloads restclient-autoloads s3ed-autoloads
shell-maker-autoloads finder-inf slime-autoloads macrostep-autoloads
spinner-autoloads ssh-deploy-autoloads su-autoloads sudo-edit-autoloads
sudo-ext-autoloads sudo-utils-autoloads swiper-autoloads ivy-autoloads
sx-autoloads markdown-mode-autoloads telepathy-autoloads totp-autoloads
totp-auth-autoloads base32-autoloads tramp-nspawn-autoloads
tramp-theme-autoloads transient-dwim-autoloads transient-autoloads
treemacs-autoloads cfrs-autoloads posframe-autoloads ht-autoloads
pfuture-autoloads ace-window-autoloads avy-autoloads treepy-autoloads
uuid-autoloads vdiff-autoloads hydra-autoloads lv-autoloads
vertico-autoloads virtualenv-autoloads virtualenvwrapper-autoloads
s-autoloads dash-autoloads web-server-autoloads wfnames-autoloads info
with-editor-autoloads yaml-autoloads yaml-mode-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 icons
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 touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting cairo gtk
x-toolkit xinput2 x multi-tty move-toolbar make-network-process
native-compile emacs)

Memory information:
((conses 16 357189 24983)
 (symbols 48 23421 1)
 (strings 32 97928 6387)
 (string-bytes 1 3276400)
 (vectors 16 49245)
 (vector-slots 8 545763 14866)
 (floats 8 501 488)
 (intervals 56 609 0)
 (buffers 992 17))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 12:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 15:24:52 +0300
> Date: Sat, 15 Jun 2024 10:31:26 +0200
> From:  Michael Albinus via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 
> --8<---------------cut here---------------start------------->8---
> # make -C test test-custom-opts
> ...
> Test check-for-wrong-custom-opts condition:
>     (ert-test-failed
>      ((should (null (cus-test-opts t))) :form
>       (null
>        ((php-ts-mode-ws-workers :type-error nil ...)
> 	(org-src-lang-modes :type-error ... ...)
> 	(php-ts-mode-php-config :type-error nil ...)
> 	(php-ts-mode-ws-document-root :type-error nil ...)
> 	(php-ts-mode-ws-port :type-error nil ...)))
>       :value nil))
>    FAILED  1/1  check-for-wrong-custom-opts (134.958959 sec) at misc/test-custom-opts.el:33
> --8<---------------cut here---------------end--------------->8---

How does one get a human-readable description of the problems with
each of the above defcustoms?  Without a way of getting such a
description, this test is utterly useless, and should never be run!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 13:01:02 GMT) Full text and rfc822 format available.

Message #11 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Vincenzo Pupillo <v.pupillo <at> gmail.com>,
 Michael Albinus <michael.albinus <at> gmx.de>, Ihor Radchenko <yantar92 <at> gmail.com>,
 71566 <at> debbugs.gnu.org
Subject: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 14:59:05 +0200
> How does one get a human-readable description of the problems with each of the above defcustoms?

By reading the part of the test log that tells us this:

> The following options might have problems:
> variable: php-ts-mode-ws-workers
>    value: nil
>     type: (integer)
> variable: org-src-lang-modes
>    value: (("lilypond" . "LilyPond") ("C" . c) ("C++" . c++) ("asymptote" . asy) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("desktop" . conf-desktop) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("sqlite" . sql) ("toml" . conf-toml) ("shell" . sh) ("ash" . sh) ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . sh) ("dash" . sh) ("dtksh" . sh) ("ksh" . sh) ("es" . sh) ("rc" . sh) ("itcsh" . sh) ("tcsh" . sh) ("jcsh" . sh) ("csh" . sh) ("ksh88" . sh) ("oash" . sh) ("pdksh" . sh) ("mksh" . sh) ("posix" . sh) ("wksh" . sh) ("wsh" . sh) ("zsh" . sh) ("rpm" . sh))
>     type: (repeat (cons (string "Language name") (symbol "Major mode")))
> variable: php-ts-mode-php-config
>    value: nil
>     type: (file)
> variable: php-ts-mode-ws-document-root
>    value: nil
>     type: (directory)
> variable: php-ts-mode-ws-port
>    value: nil
>     type: (integer)
> variable: ob-clojure-cli-command
>    value: nil
>     type: (string)

Thus these are problems recently introduced in Org and php-ts-mode.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 13:22:01 GMT) Full text and rfc822 format available.

Message #14 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: v.pupillo <at> gmail.com, michael.albinus <at> gmx.de, yantar92 <at> gmail.com,
 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 16:21:19 +0300
> From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
> Date: Sat, 15 Jun 2024 14:59:05 +0200
> Cc: Michael Albinus <michael.albinus <at> gmx.de>,
>  71566 <at> debbugs.gnu.org,
>  Ihor Radchenko <yantar92 <at> gmail.com>,
>  Vincenzo Pupillo <v.pupillo <at> gmail.com>
> 
> > How does one get a human-readable description of the problems with each of the above defcustoms?
> 
> By reading the part of the test log that tells us this:
> 
> > The following options might have problems:
> > variable: php-ts-mode-ws-workers
> >    value: nil
> >     type: (integer)
> > variable: org-src-lang-modes
> >    value: (("lilypond" . "LilyPond") ("C" . c) ("C++" . c++) ("asymptote" . asy) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("desktop" . conf-desktop) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("sqlite" . sql) ("toml" . conf-toml) ("shell" . sh) ("ash" . sh) ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . sh) ("dash" . sh) ("dtksh" . sh) ("ksh" . sh) ("es" . sh) ("rc" . sh) ("itcsh" . sh) ("tcsh" . sh) ("jcsh" . sh) ("csh" . sh) ("ksh88" . sh) ("oash" . sh) ("pdksh" . sh) ("mksh" . sh) ("posix" . sh) ("wksh" . sh) ("wsh" . sh) ("zsh" . sh) ("rpm" . sh))
> >     type: (repeat (cons (string "Language name") (symbol "Major mode")))
> > variable: php-ts-mode-php-config
> >    value: nil
> >     type: (file)
> > variable: php-ts-mode-ws-document-root
> >    value: nil
> >     type: (directory)
> > variable: php-ts-mode-ws-port
> >    value: nil
> >     type: (integer)
> > variable: ob-clojure-cli-command
> >    value: nil
> >     type: (string)
> 
> Thus these are problems recently introduced in Org and php-ts-mode.

Thanks, I fixed the PHP mode.

Ihor, please fix the problem in Org.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:02:02 GMT) Full text and rfc822 format available.

Message #17 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 v.pupillo <at> gmail.com, yantar92 <at> gmail.com, 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 16:01:30 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

>> Thus these are problems recently introduced in Org and php-ts-mode.
>
> Thanks, I fixed the PHP mode.

Confirmed.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:25:02 GMT) Full text and rfc822 format available.

Message #20 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 71566 <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 16:24:09 +0200
Ihor Radchenko <yantar92 <at> posteo.net> writes:

>> Ihor, please fix the problem in Org.
>
> Fixed, on bugfix.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=a9a05dab81eb4e7d6c74bb9755d50c08973f00d1

--8<---------------cut here---------------start------------->8---
diff --git a/lisp/org-src.el b/lisp/org-src.el
 index d152fbf..262bd46 100644
 --- a/lisp/org-src.el
 +++ b/lisp/org-src.el
 @@ -241,8 +241,8 @@ but the mode to use is `tuareg-mode'."
 :package-version '(Org . "9.7")
 :type '(repeat
 (cons
 - (string "Language name")
 - (symbol "Major mode"))))
 + (string :tag "Language name")
 + (symbol :tag "Major mode"))))
 (defcustom org-src-block-faces nil
 "Alist of faces to be used for source-block.
--8<---------------cut here---------------end--------------->8---

I don't believe this fixes it. The error shows

--8<---------------cut here---------------start------------->8---
variable: org-src-lang-modes
   value: (("lilypond" . "LilyPond") ("C" . c) ("C++" . c++) ("asymptote" . asy) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("desktop" . conf-desktop) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("sqlite" . sql) ("toml" . conf-toml) ("shell" . sh) ("ash" . sh) ("sh" . sh) ("bash" . sh) ("jsh" . sh) ("bash2" . sh) ("dash" . sh) ("dtksh" . sh) ("ksh" . sh) ("es" . sh) ("rc" . sh) ("itcsh" . sh) ("tcsh" . sh) ("jcsh" . sh) ("csh" . sh) ("ksh88" . sh) ("oash" . sh) ("pdksh" . sh) ("mksh" . sh) ("posix" . sh) ("wksh" . sh) ("wsh" . sh) ("zsh" . sh) ("rpm" . sh))
    type: (repeat (cons (string "Language name") (symbol "Major mode")))
--8<---------------cut here---------------end--------------->8---

I suppose, the cdr in ("lilypond" . "LilyPond") must be a symbol, not a
string.

Best regards, Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:26:01 GMT) Full text and rfc822 format available.

Message #23 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 v.pupillo <at> gmail.com, michael.albinus <at> gmx.de, yantar92 <at> gmail.com,
 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 14:18:04 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

> Ihor, please fix the problem in Org.

Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=a9a05dab81eb4e7d6c74bb9755d50c08973f00d1

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:35:02 GMT) Full text and rfc822 format available.

Message #26 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 71566 <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 14:36:23 +0000
Michael Albinus <michael.albinus <at> gmx.de> writes:

>  - (string "Language name")
>  - (symbol "Major mode"))))
>  + (string :tag "Language name")
>  + (symbol :tag "Major mode"))))
>  (defcustom org-src-block-faces nil
> ...
> I don't believe this fixes it. The error shows
>
> --8<---------------cut here---------------start------------->8---
> variable: org-src-lang-modes
>    value: (("lilypond" . "LilyPond")...
>     type: (repeat (cons (string "Language name") (symbol "Major mode")))
> --8<---------------cut here---------------end--------------->8---
>
> I suppose, the cdr in ("lilypond" . "LilyPond") must be a symbol, not a
> string.

Ok. It was not obvious from the report which part is problematic, and I
spotted the problem in type declaration instead of the value.

I fixed this one as well now, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=12243b9910b2a44c0584cc95492446a34cf7c2bd

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:42:03 GMT) Full text and rfc822 format available.

Message #29 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Michael Albinus <michael.albinus <at> gmx.de>, yantar92 <at> gmail.com,
 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 16:40:50 +0200
15 juni 2024 kl. 16.36 skrev Ihor Radchenko <yantar92 <at> posteo.net>:

> Ok. It was not obvious from the report which part is problematic, and I
> spotted the problem in type declaration instead of the value.

While you're at it, there's also the `ob-clojure-cli-command` failure.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:47:02 GMT) Full text and rfc822 format available.

Message #32 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Ihor Radchenko <yantar92 <at> posteo.net>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Michael Albinus <michael.albinus <at> gmx.de>, yantar92 <at> gmail.com,
 71566 <at> debbugs.gnu.org
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 14:48:23 +0000
Mattias Engdegård <mattias.engdegard <at> gmail.com> writes:

> 15 juni 2024 kl. 16.36 skrev Ihor Radchenko <yantar92 <at> posteo.net>:
>
>> Ok. It was not obvious from the report which part is problematic, and I
>> spotted the problem in type declaration instead of the value.
>
> While you're at it, there's also the `ob-clojure-cli-command` failure.

Done
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=008c28426d8973ce2ba0734488669cc2d3261e47

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#71566; Package emacs. (Sat, 15 Jun 2024 14:50:02 GMT) Full text and rfc822 format available.

Message #35 received at 71566 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 71566 <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sat, 15 Jun 2024 16:49:31 +0200
Ihor Radchenko <yantar92 <at> posteo.net> writes:

Hi Ihor,

> Ok. It was not obvious from the report which part is problematic, and I
> spotted the problem in type declaration instead of the value.
>
> I fixed this one as well now, on bugfix.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=12243b9910b2a44c0584cc95492446a34cf7c2bd

Thanks. I'll wait until it arrives the Emacs git repo. Then I'll close
the bug.

Best regards, Michael.




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Sun, 16 Jun 2024 08:04:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Albinus <michael.albinus <at> gmx.de>:
bug acknowledged by developer. (Sun, 16 Jun 2024 08:04:02 GMT) Full text and rfc822 format available.

Message #40 received at 71566-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, v.pupillo <at> gmail.com,
 Mattias Engdegård <mattias.engdegard <at> gmail.com>,
 71566-done <at> debbugs.gnu.org, yantar92 <at> gmail.com
Subject: Re: bug#71566: 30.0.50; test-custom-opts shows errors
Date: Sun, 16 Jun 2024 10:03:24 +0200
Version: 30.1

Michael Albinus <michael.albinus <at> gmx.de> writes:

>> Ok. It was not obvious from the report which part is problematic, and I
>> spotted the problem in type declaration instead of the value.
>>
>> I fixed this one as well now, on bugfix.
>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=12243b9910b2a44c0584cc95492446a34cf7c2bd
>
> Thanks. I'll wait until it arrives the Emacs git repo. Then I'll close
> the bug.

Fixed in the Emacs git repo, closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 14 Jul 2024 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.