From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#55885: 29.0.50; missed error message Date: Fri, 10 Jun 2022 09:26:46 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------fqmsSxlt8SRJWx3JimMZo0qY" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30815"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 To: 55885@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 10 09:28:00 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nzZ3o-0007me-Lw for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 09:28:00 +0200 Original-Received: from localhost ([::1]:41970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzZ3n-0000lM-9Z for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Jun 2022 03:27:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58682) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzZ2v-0000i1-Ak for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 03:27:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54662) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nzZ2u-0001bw-KP for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 03:27:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nzZ2s-0007tR-EL for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 03:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Jun 2022 07:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55885 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165484601930327 (code B ref -1); Fri, 10 Jun 2022 07:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Jun 2022 07:26:59 +0000 Original-Received: from localhost ([127.0.0.1]:48559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZ2p-0007t4-0N for submit@debbugs.gnu.org; Fri, 10 Jun 2022 03:26:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nzZ2k-0007su-Px for submit@debbugs.gnu.org; Fri, 10 Jun 2022 03:26:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzZ2j-0000ci-U5 for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 03:26:54 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:39317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzZ2g-0001Xq-Ay for bug-gnu-emacs@gnu.org; Fri, 10 Jun 2022 03:26:53 -0400 Original-Received: from [192.168.178.54] ([89.247.171.227]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N9doJ-1negl8003x-015aLg for ; Fri, 10 Jun 2022 09:26:47 +0200 Content-Language: en-US X-Provags-ID: V03:K1:+JcGgMhA5uJo2pfhHJ0DdWkd57DmI1vpv/dvLkFdfKmvb18QtKC BOQMGptpMMKZw99/mER3MOCD7019qI47J/bJWrXrn96np/KGiKaBnESKmYlHUcPReUR1DKH JcsxHlfMwVkoNBUBwQQNIEnM5ow/f5py3J/LdTy7wRz3iWYYXW+tKQKYN6t8t+8S7DxNf0s mBTbOiH7OIJmfn9HXM87w== X-UI-Out-Filterresults: notjunk:1;V03:K0:Gr+Qv18tEfI=:od5cgugvT6pu9PV4MdG6+p VM90Lw9ANtOSi1dGEe6PH/SkwlPGDWO4XS/ECkQxOpdekGeCoy6U7kvca56k2d3cs3wBUgPsn fgooMbV49ZlSlO6Q95o/7X3C2mPxTONQnBmUQEQJR08QR9ysOj88Vn5fDgcnazTdcKt7om1O5 0guT5Iyz/Qf0ek2vI0JpacD5lEb+iX939813gkE8isQGdGbkJ2+7pQ51QIA7wZ9bmqqYug1tK UCGgKav2yBdF7g3Iy1zh+Ze0lDujxVtvUBqyLQTTG7QsLOOup35CNihPDDQSgGrW1vmI9tUYM eidlIkyUCsyPvzLjTQ9nqMlW6IRkpbCwKU3x64C2nwwGlaNuJQW2wzcwT2vZIQJhKWsJLVAvK m4J9r49LKfr/GAnWqllvIUWNHXN56RX3qzMvzq+uWG3ngJZtSMb9MhTBdWd6Lf4bIGMxYeXGM VfUyiUN/Lwy9WQDvO0FkGwFMF91Pd/H+ruLGls3GS8RCtajlSKbRqG2j7qdkRmcoqqsTNdseZ PYmtYlArCL7qhL2GIM5qOn46mZeYnbNkz9+fz9xTDODx+4dC+KcbQ87DXlf+qkZdguIB65GrW X5/oUYkYs1n8xdRTHXD2HuvdABwnK9jE6960GTqyE+pyHxC8T/PD8L7zApKM+UznQaNyX7yXA eKhX6k+x8VRQzIUu8Tq156Bfi043whjOBuSfH6fPadUQAPmQ+NGczYqcYqbr40exw2O8JHe9+ uAnUT0u6zNhmH3CZ9pLke6+jZiNsskvX7IgF+DF+FHYM+Pyujn81/VG3Pys= Received-SPF: none client-ip=212.227.17.24; envelope-from=andreas.roehler@easy-emacs.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:234190 Archived-At: This is a multi-part message in MIME format. --------------fqmsSxlt8SRJWx3JimMZo0qY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit The code below evaluates to nil, but should send an error: (defvar foo-bar-baz   (cond       (t ()       (when foo-bar-baz nil)))) Emacs 28.1 tells as expected: Debugger entered--Lisp error: (void-variable foo-bar-baz)   (if foo-bar-baz (progn nil))   (cond (t nil (if foo-bar-baz (progn nil))))   (defvar foo-bar-baz (cond (t nil (if foo-bar-baz (progn nil)))))   eval((defvar foo-bar-baz (cond (t nil (if foo-bar-baz (progn nil))))) nil)   elisp--eval-last-sexp(nil)   eval-last-sexp(nil)   funcall-interactively(eval-last-sexp nil)   call-interactively(eval-last-sexp nil nil)   command-execute(eval-last-sexp) ------ In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)  of 2022-06-04 Repository revision: fe6f1dfeb4ad4aaf517d1ac34435f3750f7f4569 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Ubuntu 20.04.4 LTS Configured using:  'configure --with-modules -with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XINPUT2 XPM GTK2 ZLIB Important settings:   value of $LANG: de_DE.UTF-8   locale-coding-system: utf-8-unix Major mode: ELisp/d Minor modes in effect:   tooltip-mode: t   global-eldoc-mode: t   eldoc-mode: t   show-paren-mode: t   electric-indent-mode: t   mouse-wheel-mode: t   tool-bar-mode: t   menu-bar-mode: t   file-name-shadow-mode: t   global-font-lock-mode: t   font-lock-mode: t   blink-cursor-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: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util 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 help-fns radix-tree cl-print debug backtrace help-mode find-func cl-loaddefs cl-lib seq gv subr-x byte-opt bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode 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 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 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 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 move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 141917 6454)  (symbols 48 29644 0)  (strings 32 64292 1986)  (string-bytes 1 1009077)  (vectors 16 12076)  (vector-slots 8 173860 12616)  (floats 8 23 35)  (intervals 56 253 5)  (buffers 992 13)) --------------fqmsSxlt8SRJWx3JimMZo0qY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

The code below evaluates to nil, but should send an error:

(defvar foo-bar-baz
  (cond
      (t ()
      (when foo-bar-baz nil))))

Emacs 28.1 tells as expected:

Debugger entered--Lisp error: (void-variable foo-bar-baz)
  (if foo-bar-baz (progn nil))
  (cond (t nil (if foo-bar-baz (progn nil))))
  (defvar foo-bar-baz (cond (t nil (if foo-bar-baz (progn nil)))))
  eval((defvar foo-bar-baz (cond (t nil (if foo-bar-baz (progn nil))))) nil)
  elisp--eval-last-sexp(nil)
  eval-last-sexp(nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)
  command-execute(eval-last-sexp)


------

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0)
 of 2022-06-04
Repository revision: fe6f1dfeb4ad4aaf517d1ac34435f3750f7f4569
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.4 LTS

Configured using:
 'configure --with-modules -with-mailutils'

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

Important settings:
  value of $LANG: de_DE.UTF-8
  locale-coding-system: utf-8-unix

Major mode: ELisp/d

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-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:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media rmc puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util 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
help-fns radix-tree cl-print debug backtrace help-mode find-func
cl-loaddefs cl-lib seq gv subr-x byte-opt bytecomp byte-compile cconv
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode 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 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
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 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
move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process
emacs)

Memory information:
((conses 16 141917 6454)
 (symbols 48 29644 0)
 (strings 32 64292 1986)
 (string-bytes 1 1009077)
 (vectors 16 12076)
 (vector-slots 8 173860 12616)
 (floats 8 23 35)
 (intervals 56 253 5)
 (buffers 992 13))

--------------fqmsSxlt8SRJWx3JimMZo0qY--