From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Basil Contovounesios via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64404: 30.0.50; condition-case-unless-debug mishandles :success Date: Sat, 01 Jul 2023 20:32:10 +0100 Message-ID: <87sfa7bf7p.fsf@epfl.ch> Reply-To: Basil Contovounesios Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24125"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= To: 64404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 21:33:14 2023 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 1qFgLJ-00060p-9Q for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 21:33:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFgLB-00052H-P3; Sat, 01 Jul 2023 15:33:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFgL8-00050k-8A for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 15:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFgL7-000063-TZ for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 15:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFgL7-0003Rb-PI; Sat, 01 Jul 2023 15:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Basil Contovounesios Original-Sender: "Debbugs-submit" Resent-CC: mattias.engdegard@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 19:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64404 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Received: via spool by submit@debbugs.gnu.org id=B.168823994513191 (code B ref -1); Sat, 01 Jul 2023 19:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Jul 2023 19:32:25 +0000 Original-Received: from localhost ([127.0.0.1]:58727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFgKW-0003Qh-QO for submit@debbugs.gnu.org; Sat, 01 Jul 2023 15:32:25 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:48830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFgKS-0003QX-Qx for submit@debbugs.gnu.org; Sat, 01 Jul 2023 15:32:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qFgKS-0004zR-3a for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 15:32:20 -0400 Original-Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFgKN-0008Q0-Md for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 15:32:19 -0400 Original-Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-635e6f8bf77so22067666d6.0 for ; Sat, 01 Jul 2023 12:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; t=1688239932; x=1690831932; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=Hwlwl8/rkAFdmq5nXjsq7aHwLxQWwRFx5pQvmCJoMT4=; b=A+1ZKh2siQ1sxLbmg1HXm9OZ9zTWWTAuKNs/FYpByy7+7aF/e7T2Of2sKDNKWNtwoW kErcgCt1aMaCf9ex7d9Mx3FE+7SicZ9Z8YSLG4aKBSVIrgV9fGyzGaYrfH8w5xli9mUi OiI1VDQUJIqMipe2BscYhxvthYnEWs351xXIo7DLeiS0IBDcvKooXf1bWCBSMGmAVB0+ rHA0oHobVOTSJXotPmw2PB+eIb5fLFmowBH06Va5SRBSQxVwO8R+VSAf3Rvf6mUCVpge Wv9OEbz8Up3nFrwkNWPfKJgsmsIFeh8EaCP9hsv5XUoTKrSJPu+eeH6g0bBU/ckInSsr vpAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688239932; x=1690831932; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Hwlwl8/rkAFdmq5nXjsq7aHwLxQWwRFx5pQvmCJoMT4=; b=fx3N0sL6i7LTRlenisOhPHoiW/Yf4CufTfCKZmBSihj6kiUg/kdXbKXoN6qYlKhtMu KHG1vC4TgLCAfNh7mWMPzdqsZLWOj/AEHzYvgjkM5+vFiy487MH3Ht09dlnQdoursKzu 01QlW6xh/T+5gjkSHsRcOP4OTUcyR2oF0k6eK7NGuN9JA36M4aF4xVB2i+V94sc6dJFF lQnhAzuZ7mrAS6kAids/Z2E3pnHR3RnDpTn7NWtZGvgjNe2Tu4zKuBrte8l/o2q0c4eI rMf3uxg84GmRDMhPc33TMT6J6gNuBHBexi9FYvgxsV4AV0m+JqSJ3Zfl1B7bM/0TdCUv bUSQ== X-Gm-Message-State: ABy/qLYmiXFBbCPVSCRoprhf7700skhqag7m2TP4+4UTi3GbjxbxLyqs 6rNiGE1K5gpqK/zqjp/TKu8lScSOO/gb1QoqXeY= X-Google-Smtp-Source: APBJJlFr0ElW0hS2R4Twzpw+TCIOAsvSo6huMF3Bxesfm1f8nT5N43e12NOs2fsxiXZ1mF9i6Bbbug== X-Received: by 2002:a05:6214:cc4:b0:635:f036:c31f with SMTP id 4-20020a0562140cc400b00635f036c31fmr8950917qvx.19.1688239932497; Sat, 01 Jul 2023 12:32:12 -0700 (PDT) Original-Received: from localhost ([109.78.219.215]) by smtp.gmail.com with ESMTPSA id e11-20020ad4536b000000b0063211e61875sm9381230qvv.14.2023.07.01.12.32.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jul 2023 12:32:12 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=contovob@tcd.ie; helo=mail-qv1-xf30.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264423 Archived-At: 0. emacs -Q 1. M-: (condition-case nil 1 (:success 2)) RET => 2 2. M-: (condition-case-unless-debug nil 1 (:success 2)) RET => 1 This can easily be fixed in condition-case-unless-debug, and worked around by using explicit 'debug' with condition-case, but I was wondering if we want to do anything differently in internal_lisp_condition_case or the byte-compiler (e.g. new warning) instead? Thanks, -- Basil In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw3d scroll bars) of 2023-07-01 built on blc Repository revision: 6ce957154b701282217191d47764187535754529 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Ubuntu 22.04.2 LTS Configured using: 'configure CC=gcc-12 'CFLAGS=-Og -ggdb3' --prefix=/home/bic/.local --with-file-notification=yes --with-x --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: en_IE.UTF-8 value of $LC_NUMERIC: en_IE.UTF-8 value of $LC_TIME: en_IE.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction 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 puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils 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 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 lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 36866 9072) (symbols 48 5177 0) (strings 32 13978 1460) (string-bytes 1 382244) (vectors 16 9300) (vector-slots 8 148637 8484) (floats 8 23 25) (intervals 56 246 0) (buffers 984 10))