From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 May 2021 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48479@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162126233721491 (code B ref -1); Mon, 17 May 2021 14:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2021 14:38:57 +0000 Received: from localhost ([127.0.0.1]:53360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lieOW-0005aY-2D for submit@debbugs.gnu.org; Mon, 17 May 2021 10:38:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:53922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1libfS-0007Qh-L8 for submit@debbugs.gnu.org; Mon, 17 May 2021 07:44:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1libfS-0004ne-D1 for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 07:44:14 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:57271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1libfQ-0003RM-Es for bug-gnu-emacs@gnu.org; Mon, 17 May 2021 07:44:14 -0400 Received: from localhost ([::ffff:197.239.5.4]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000ADF0E.0000000060A256EA.000063A9; Mon, 17 May 2021 04:43:37 -0700 From: Jean Louis Date: Mon, 17 May 2021 14:39:14 +0300 Message-ID: <8635ulvbbx.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=admin@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Mailman-Approved-At: Mon, 17 May 2021 10:38:55 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) This function is not complete, I was just testing things. But when I invoke interactively M-x rcd-hash-edit then Emacs crashes. I did not want to place "nil" down, this comes from testing. It crashes with emacs -Q when you evaluate this function and invoke it interactively. (defun rcd-hash-edit () "Interactively choose a hash to edit." (interactive) (let ((hash (condition-case nil (read--expression "Hash to edit: ") nil))) (if (eq (type-of (symbol-value hash)) 'hash-table) (rcd-hash-edit-hash hash) (message "Symbol is not a hash")))) Fatal error 11: Segmentation fault Backtrace: emacs(+0x14a014)[0x558271bec014] emacs(+0x43835)[0x558271ae5835] emacs(+0x43d0a)[0x558271ae5d0a] emacs(+0x1482dd)[0x558271bea2dd] emacs(+0x148359)[0x558271bea359] /usr/lib/libpthread.so.0(+0x13960)[0x7f8dd29c2960] emacs(+0x1b1f9b)[0x558271c53f9b] emacs(+0x1b0832)[0x558271c52832] emacs(+0x1b1b0b)[0x558271c53b0b] emacs(+0x1b0832)[0x558271c52832] emacs(+0x1b1455)[0x558271c53455] emacs(+0x1adfc7)[0x558271c4ffc7] emacs(+0x1aa701)[0x558271c4c701] emacs(+0x1ae08b)[0x558271c5008b] emacs(+0x1b0249)[0x558271c52249] emacs(+0x1abdfa)[0x558271c4ddfa] emacs(+0x1ae08b)[0x558271c5008b] emacs(+0x1eaaa0)[0x558271c8caa0] emacs(+0x1adfc7)[0x558271c4ffc7] emacs(+0x1eaaa0)[0x558271c8caa0] emacs(+0x1adfc7)[0x558271c4ffc7] emacs(+0x1aa701)[0x558271c4c701] emacs(+0x1ae08b)[0x558271c5008b] emacs(+0x1b0168)[0x558271c52168] emacs(+0x1abdfa)[0x558271c4ddfa] emacs(+0x1ae08b)[0x558271c5008b] emacs(+0x1eaaa0)[0x558271c8caa0] emacs(+0x1adfc7)[0x558271c4ffc7] emacs(+0x1ae14a)[0x558271c5014a] emacs(+0x13f60d)[0x558271be160d] emacs(+0x1acfe7)[0x558271c4efe7] emacs(+0x12ff94)[0x558271bd1f94] emacs(+0x1af713)[0x558271c51713] emacs(+0x12ff3b)[0x558271bd1f3b] emacs(+0x1356e6)[0x558271bd76e6] emacs(+0x135a12)[0x558271bd7a12] emacs(+0x4c03f)[0x558271aee03f] /usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f8dd265bb25] emacs(+0x4c64e)[0x558271aee64e] In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.17.4, Xaw3d scroll bars) of 2021-05-13 built on protected.rcdrun.com Repository revision: ec574a72f7198d9793b466f33382fff397ac4ce1 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Parabola GNU/Linux-libre Configured using: 'configure --prefix=/package/text/emacs --with-x-toolkit=lucid' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: @im=exwm-xim locale-coding-system: utf-8-unix Major mode: Shell Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils shell pcomplete comint ansi-color ring cus-edit cus-start cus-load wid-edit misearch multi-isearch dired-aux cl-loaddefs cl-lib dired dired-loaddefs bookmark seq byte-opt gv bytecomp byte-compile cconv text-property-search pp iso-transl 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 easymenu timer select scroll-bar mouse jit-lock font-lock syntax 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 button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 89766 5983) (symbols 48 9629 3) (strings 32 27590 1395) (string-bytes 1 857514) (vectors 16 17777) (vector-slots 8 224289 8351) (floats 8 37 63) (intervals 56 1292 193) (buffers 992 16)) -- Thanks, Jean Louis Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 May 2021 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jean Louis , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16212644591395 (code B ref 48479); Mon, 17 May 2021 15:15:01 +0000 Received: (at 48479) by debbugs.gnu.org; 17 May 2021 15:14:19 +0000 Received: from localhost ([127.0.0.1]:53525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liewl-0000MQ-Ac for submit@debbugs.gnu.org; Mon, 17 May 2021 11:14:19 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1liewj-0000MD-Px for 48479@debbugs.gnu.org; Mon, 17 May 2021 11:14:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46588) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1liewe-0003ft-J1; Mon, 17 May 2021 11:14:12 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3563 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1liewd-0000K3-6H; Mon, 17 May 2021 11:14:12 -0400 Date: Mon, 17 May 2021 18:14:12 +0300 Message-Id: <835yzhtmt7.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <8635ulvbbx.fsf@protected.rcdrun.com> (message from Jean Louis on Mon, 17 May 2021 14:39:14 +0300) References: <8635ulvbbx.fsf@protected.rcdrun.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Jean Louis > Date: Mon, 17 May 2021 14:39:14 +0300 > > > This function is not complete, I was just testing things. But when I > invoke interactively M-x rcd-hash-edit then Emacs crashes. I did not > want to place "nil" down, this comes from testing. It crashes with emacs > -Q when you evaluate this function and invoke it interactively. > > (defun rcd-hash-edit () > "Interactively choose a hash to edit." > (interactive) > (let ((hash (condition-case nil > (read--expression "Hash to edit: ") > nil))) > (if (eq (type-of (symbol-value hash)) 'hash-table) > (rcd-hash-edit-hash hash) > (message "Symbol is not a hash")))) > > Fatal error 11: Segmentation fault > Backtrace: Thanks, this was caused by a recent addition of the :success handler. I tried to fix that on the master branch now. From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 May 2021 20:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16212817166798 (code B ref 48479); Mon, 17 May 2021 20:02:02 +0000 Received: (at 48479) by debbugs.gnu.org; 17 May 2021 20:01:56 +0000 Received: from localhost ([127.0.0.1]:53856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lijR5-0001la-Of for submit@debbugs.gnu.org; Mon, 17 May 2021 16:01:55 -0400 Received: from mail1460c50.megamailservers.eu ([91.136.14.60]:56540 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lijR2-0001lL-3w for 48479@debbugs.gnu.org; Mon, 17 May 2021 16:01:54 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621281705; bh=FqkNOhEbOZnCxvhwQsA65Fl84EaNXV4I/9fvsAR3pN4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Ni3Q7Y3tZEAcepnojXDKDcplcYRr0TpoI4QIYmua7HPyK7RT7PMAmyNZ6uR4XRCFI viiEZNnjkbsCZMyGic0Fbls1+mlevTk+dxF/C+3AOicdQlsMSagVrjSCpAD1K6/jss 7OZaS+Iwyl1hZTHSaj10OG+GVU78Ve1MRik+sPIQ= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14HK1hlV016531; Mon, 17 May 2021 20:01:44 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <835yzhtmt7.fsf@gnu.org> Date: Mon, 17 May 2021 22:01:10 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F2A.60A2CBA9.0073, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=S9SnP7kP c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=9OsRlu6mskI4nrJ_h6oA:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 17 maj 2021 kl. 17.14 skrev Eli Zaretskii : > Thanks, this was caused by a recent addition of the :success handler. > I tried to fix that on the master branch now. Thank you for fixing that, and sorry about the oversight. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 17 maj 2021 kl. 17.14 skrev Eli Zaretskii : > Thanks, this was caused by a recent addition of the :success handler. > I tried to fix that on the master branch now. Thank you for fixing that, and sorry about the oversight. It prompts the question why we are so permissive in the first place -- a = nil handler is malformed and always a mistake. Raising an error is = probably more helpful. Although someone may be relying on this = undocumented behaviour it sounds unlikely. Given that it has elicited a = byte-compiler warning for a very long time (probably something like 17 = years), we ought to be forgiven for turning it into an error now, = wouldn't we? From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16213373509031 (code B ref 48479); Tue, 18 May 2021 11:30:02 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 11:29:10 +0000 Received: from localhost ([127.0.0.1]:54579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lixuQ-0002Lb-93 for submit@debbugs.gnu.org; Tue, 18 May 2021 07:29:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41090) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lixuM-0002L5-De for 48479@debbugs.gnu.org; Tue, 18 May 2021 07:29:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60230) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lixuG-00057F-5V; Tue, 18 May 2021 07:29:00 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2952 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lixuF-00077v-Ff; Tue, 18 May 2021 07:28:59 -0400 Date: Tue, 18 May 2021 14:29:06 +0300 Message-Id: <83r1i4s2kd.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Mon, 17 May 2021 22:01:10 +0200) References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias EngdegÃ¥rd > Date: Mon, 17 May 2021 22:01:10 +0200 > Cc: 48479@debbugs.gnu.org > > 17 maj 2021 kl. 17.14 skrev Eli Zaretskii : > > > Thanks, this was caused by a recent addition of the :success handler. > > I tried to fix that on the master branch now. > > Thank you for fixing that, and sorry about the oversight. No sweat. > It prompts the question why we are so permissive in the first place -- a nil handler is malformed and always a mistake. Raising an error is probably more helpful. Although someone may be relying on this undocumented behaviour it sounds unlikely. Given that it has elicited a byte-compiler warning for a very long time (probably something like 17 years), we ought to be forgiven for turning it into an error now, wouldn't we? What would be the advantage of making it an error? From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16213500408408 (code B ref 48479); Tue, 18 May 2021 15:01:02 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 15:00:40 +0000 Received: from localhost ([127.0.0.1]:56913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1D6-0002BY-9A for submit@debbugs.gnu.org; Tue, 18 May 2021 11:00:40 -0400 Received: from mail71c50.megamailservers.eu ([91.136.10.81]:58370 helo=mail92c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1D4-0002BP-TG for 48479@debbugs.gnu.org; Tue, 18 May 2021 11:00:39 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621350037; bh=7fu0Vy3hA67d4uzTAEWA3GpWT0sJx+IKXAym39wlMbo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=s78BViemUtlvXz+VRm8weD0W1HaUNOLyd7rMn/hSLoGkKpKt5EG+5e+W5uT1cgoq6 XKnUOyvpyHw1ZlocOLn0c5AJN4NhxCB3ADqkekqUoYw/bRSrHOPwxRNdeAiFN9mPu5 I+jbUCJDmp0xjCK5RsrFuRe/HrJlJoMRdO8d2zsA= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail92c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14IF0Ypv023230; Tue, 18 May 2021 15:00:36 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <83r1i4s2kd.fsf@gnu.org> Date: Tue, 18 May 2021 17:00:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <7D502665-A194-477F-89EF-89E617AA1109@acm.org> References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F28.60A3D694.00C4, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UJ+j4xXy c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=nl-gccGqcs8j1C9MQwIA:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 18 maj 2021 kl. 13.29 skrev Eli Zaretskii : > What would be the advantage of making it an error? Detecting mistakes, early. There are many possible reasons for making ones; misplaced brackets is but one. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 18 maj 2021 kl. 13.29 skrev Eli Zaretskii : > What would be the advantage of making it an error? Detecting mistakes, early. There are many possible reasons for making = ones; misplaced brackets is but one. In the Lisp implementation tradition we do not benefit from a monolithic = parser that verifies all aspects of the grammar in one go, so extra care = has to be taken in each special form. A sloppy parse is unhelpful: it = hides mistakes and impedes backward-compatible language evolution. There = is no advantage to it. Furthermore, reporting syntax errors as warnings but still accepting the = code really makes no sense, other as a temporary measure to avoid = breaking invalid code right away (if that is seen as something = positive). From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 15:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16213505619264 (code B ref 48479); Tue, 18 May 2021 15:10:02 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 15:09:21 +0000 Received: from localhost ([127.0.0.1]:56930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1LV-0002PM-0T for submit@debbugs.gnu.org; Tue, 18 May 2021 11:09:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1LS-0002P8-0x for 48479@debbugs.gnu.org; Tue, 18 May 2021 11:09:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39424) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj1LM-00015q-3v; Tue, 18 May 2021 11:09:12 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1386 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj1LL-0000YK-NS; Tue, 18 May 2021 11:09:12 -0400 Date: Tue, 18 May 2021 18:09:19 +0300 Message-Id: <83y2ccqdsw.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <7D502665-A194-477F-89EF-89E617AA1109@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Tue, 18 May 2021 17:00:33 +0200) References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Feedback-ID:mattiase@acm.or > From: Mattias EngdegÃ¥rd > Date: Tue, 18 May 2021 17:00:33 +0200 > Cc: 48479@debbugs.gnu.org > > 18 maj 2021 kl. 13.29 skrev Eli Zaretskii : > > > What would be the advantage of making it an error? > > Detecting mistakes, early. That doesn't sound to me like a significant advantage, not in Emacs Lisp. From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162135254620894 (code B ref 48479); Tue, 18 May 2021 15:43:01 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 15:42:26 +0000 Received: from localhost ([127.0.0.1]:56979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1rV-0005Qw-S9 for submit@debbugs.gnu.org; Tue, 18 May 2021 11:42:26 -0400 Received: from mail1462c50.megamailservers.eu ([91.136.14.62]:52046 helo=mail267c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj1rS-0005Qg-IL for 48479@debbugs.gnu.org; Tue, 18 May 2021 11:42:24 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621352536; bh=N5NwNamYF8miBWQCpYU8PGHr8SIMTDPjEmhSs7bdxV8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Smvq7E4rgVSB7TMVB/wIct0fV2xg+e5Xm35KCG++hCO+dwW9+XsitLM7BYV8q3uYR 7zdL2vE2gbw1Puj7vMegFh/dplxZG78XojgcG9ZhziOb8v+67WfLbRLEe6vI4b2cRa tev9e4Jy3Ct7oXkQTTrWz1Lge/Hl79YGkwI6p62w= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail267c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14IFg8v7030376; Tue, 18 May 2021 15:42:13 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <83y2ccqdsw.fsf@gnu.org> Date: Tue, 18 May 2021 17:42:08 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F1C.60A3E057.0044, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=S9SnP7kP c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=mDV3o1hIAAAA:8 a=5nM0bk3nJ5mju7ZJcVUA:9 a=CjuIK1q_8ugA:10 a=_FVE-zBwftR9WsbkzFJk:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 18 maj 2021 kl. 17.09 skrev Eli Zaretskii : >> Detecting mistakes, early. > > That doesn't sound to me like a significant advantage, not in Emacs > Lisp. Is there any significant advantage of not detecting syntax errors? Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 18 maj 2021 kl. 17.09 skrev Eli Zaretskii : >> Detecting mistakes, early. >=20 > That doesn't sound to me like a significant advantage, not in Emacs > Lisp. Is there any significant advantage of not detecting syntax errors? Detection of syntax errors is something that people tend to find useful. = Maybe you could tolerate it even though it would not be of value to you = personally? From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Lars Ingebrigtsen , Stefan Monnier , Richard Stallman Cc: 48479@debbugs.gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162135636223467 (code B ref 48479); Tue, 18 May 2021 16:47:02 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 16:46:02 +0000 Received: from localhost ([127.0.0.1]:57142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj2r3-000669-W6 for submit@debbugs.gnu.org; Tue, 18 May 2021 12:46:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj2r1-0005z8-Lx for 48479@debbugs.gnu.org; Tue, 18 May 2021 12:46:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43652) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lj2qq-0003Ct-M9; Tue, 18 May 2021 12:45:50 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3548 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj2qc-0001u0-CY; Tue, 18 May 2021 12:45:34 -0400 Date: Tue, 18 May 2021 19:45:41 +0300 Message-Id: <83tun0q9ca.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Tue, 18 May 2021 17:42:08 +0200) References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Mattias EngdegÃ¥rd > Date: Tue, 18 May 2021 17:42:08 +0200 > Cc: 48479@debbugs.gnu.org > > 18 maj 2021 kl. 17.09 skrev Eli Zaretskii : > > >> Detecting mistakes, early. > > > > That doesn't sound to me like a significant advantage, not in Emacs > > Lisp. > > Is there any significant advantage of not detecting syntax errors? I don't think I agree that this is a syntax error. What do others think about this? Lars? Stefan? Richard? From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Lars Ingebrigtsen , 48479@debbugs.gnu.org, Richard Stallman Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162135794830974 (code B ref 48479); Tue, 18 May 2021 17:13:01 +0000 Received: (at 48479) by debbugs.gnu.org; 18 May 2021 17:12:28 +0000 Received: from localhost ([127.0.0.1]:57184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3Ge-00083W-FW for submit@debbugs.gnu.org; Tue, 18 May 2021 13:12:28 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3Gb-00083J-GN for 48479@debbugs.gnu.org; Tue, 18 May 2021 13:12:27 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3D2118075E; Tue, 18 May 2021 13:12:20 -0400 (EDT) Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D864A80625; Tue, 18 May 2021 13:12:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1621357938; bh=WiOmTKttt7SZI4htNhV/Q1e5ZWOpkb8LIXLslrFJb2Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=CyAw24tget7TdJ5NWwlqojgIE7agOv8AzyIG76cUCoCTN8dvK64spJavQVGmiu6h6 D0cxKo0oDG1nrK52opg4P4CPwZ1kb2nm7lk7JdfOCK9+QQg9eUDz7/OIBqxxx0sJgw siPDallj7/oJ0DNfoPbENwr94UinjOlWyHJj9QeiSgwQ4NXNOJIlMxwYW1r7tfCySf nxGGrosRHS+7R3jvVNa4VyThYQULteihtx7RX44nd6MJ8qxtQf78kld0/BtxUfFOaF 0k9aqabLk+AfdYxVCnR2PJd1rCt3rCpgFuHelTYsf41qR2aYyym5PQUdSZi3BzQnfI Tead217fheRtA== Received: from alfajor (76-10-140-76.dsl.teksavvy.com [76.10.140.76]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5786112017A; Tue, 18 May 2021 13:12:18 -0400 (EDT) From: Stefan Monnier Message-ID: References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> Date: Tue, 18 May 2021 13:12:17 -0400 In-Reply-To: <83tun0q9ca.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 May 2021 19:45:41 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL -0.039 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) >> Is there any significant advantage of not detecting syntax errors? > I don't think I agree that this is a syntax error. > What do others think about this? Lars? Stefan? Richard? I think the condition handler of `condition-case` should be of the form (CONDITIONS . BODY) so I think having nil counts as a syntax error, tho it's arguable since nil =E2=89=83 (nil . nil) I wouldn't bother signaling an error when we interpret the code, but it would be good for the byte-compiler to warn about it. Stefan From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 May 2021 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 48479@debbugs.gnu.org Cc: rms@gnu.org, mattiase@acm.org, monnier@iro.umontreal.ca, larsi@gnus.org, eliz@gnu.org X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Richard Stallman , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 48479@debbugs.gnu.org, Stefan Monnier , Lars Ingebrigtsen , Eli Zaretskii Received: via spool by submit@debbugs.gnu.org id=B.16213600041753 (code B ref -1); Tue, 18 May 2021 17:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2021 17:46:44 +0000 Received: from localhost ([127.0.0.1]:57217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3no-0000SC-09 for submit@debbugs.gnu.org; Tue, 18 May 2021 13:46:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:35178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lj3nm-0000S5-T5 for submit@debbugs.gnu.org; Tue, 18 May 2021 13:46:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3nm-0006sv-Ko for bug-gnu-emacs@gnu.org; Tue, 18 May 2021 13:46:42 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:38585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lj3ng-0003Vi-Ec; Tue, 18 May 2021 13:46:41 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fl3Mp24N5z1qtdB; Tue, 18 May 2021 19:46:30 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fl3Mp19Gvz1qr3j; Tue, 18 May 2021 19:46:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id zgoHpe4FbNqZ; Tue, 18 May 2021 19:46:29 +0200 (CEST) X-Auth-Info: T+bznXqTQaRdcD435Snu/v0S+aYoksjioWyHkwkoypdIV1XqArp5fNt8TecK0s+y Received: from igel.home (ppp-46-244-187-66.dynamic.mnet-online.de [46.244.187.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 18 May 2021 19:46:29 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id CF51F2C3692; Tue, 18 May 2021 19:46:28 +0200 (CEST) From: Andreas Schwab References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> X-Yow: The Osmonds! You are all Osmonds!! Throwing up on a freeway at dawn!!! Date: Tue, 18 May 2021 19:46:28 +0200 In-Reply-To: (Stefan Monnier via's message of "Tue, 18 May 2021 13:12:17 -0400") Message-ID: <87tun0aqa3.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=212.18.0.9; envelope-from=whitebox@nefkom.net; helo=mail-out.m-online.net X-Spam_score_int: -22 X-Spam_score: -2.3 X-Spam_bar: -- X-Spam_report: (-2.3 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) On Mai 18 2021, Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote: >>> Is there any significant advantage of not detecting syntax errors? >> I don't think I agree that this is a syntax error. >> What do others think about this? Lars? Stefan? Richard? > > I think the condition handler of `condition-case` should be of the form > (CONDITIONS . BODY) so I think having nil counts as a syntax error, tho > it's arguable since nil ≃ (nil . nil) For some reason, the loop at the top of internal_lisp_condition_case explicitly allows for a handler to be nil. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , 48479@debbugs.gnu.org, Richard Stallman Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162143603122640 (code B ref 48479); Wed, 19 May 2021 14:54:01 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 14:53:51 +0000 Received: from localhost ([127.0.0.1]:60416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljNa3-0005t6-JU for submit@debbugs.gnu.org; Wed, 19 May 2021 10:53:51 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljNa1-0005sq-J1 for 48479@debbugs.gnu.org; Wed, 19 May 2021 10:53:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Cz8Z59VSHeiuMQ6XZ2EnjYEe/Wf5QnhoU/nG3nxnprA=; b=p7VLn0g2kKdu0ihLVx/Do2tPL1 ia6xt1sUqtMfprTa4KqZHA60XFX/R1uGMwrmMayMADTgpReSG4MhNvaLKFbXSOmfA0IF43ydJX4v7 ItgiYCoY3vSGBhP5uP2y2NKS7dxgjpb60UMSAnKBR913oA0dQlHpEyT+VEDCVY740aPI=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljNZr-0005Y2-8M; Wed, 19 May 2021 16:53:41 +0200 From: Lars Ingebrigtsen References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEULBwpaQEyvi4H/ //9MD9UuAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UFEw4zLbs7Q98AAAFmSURBVCjPrc+9auQwEAfw kYkM2cocdiBbXZEmeQr7YFPrQCNiVzmIA9JTOEW29i7IJFvtQWwy85QZ53PTR4WYHxr9RwI4XJmC KwW6zPLjDrIE7IzrXJdwcqqTFZiz664/g6xaJZcCBJND9kcrLYV9RZIm1Ufb7znA6tLMAZL2oN/Q wU+u/GCH7NtvPitVgvlEUSr8gi2/LrRPeXaI/j1WKbS3HSxKbQEWR2gnAF2/4g5tI2ij5C/4Hs81 6N2MlGv0AqoMnKZUUFOB6tVf26zJcegFbfN8uxsF/0FtqHm+4DEQ7wWhGY9oQxT2kFAIE/LQYVMK /JKIZY4tIB18IOQpusiCNY91SzfOCba4R8SIsR4gjX4iI2x3AyyZmBALxCHChcAXbjfg5SMsI8sJ s/TVEHgS8YiO74H5LjDz1Lowo0/Zs2/dvwgTb34x+zo6jjDw3owjGj9jzU9KRprllivYzpAHr1Cr F6g4kZ6xezbuAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1LTE5VDE0OjUxOjQ0KzAwOjAwzMUs YAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0xOVQxNDo1MTo0NCswMDowML2YlNwAAAAASUVO RK5CYII= X-Now-Playing: Moloko's _Things To Make And Do_: "Sing It Back (Boris Musical Mix)" Date: Wed, 19 May 2021 16:53:38 +0200 In-Reply-To: (Stefan Monnier's message of "Tue, 18 May 2021 13:12:17 -0400") Message-ID: <87cztmdbbh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >>> Is there any significant advantage of not detecting syntax errors? >> I don't think I agree that this is a syntax error. >> What do others think about this? Lars? Stefan? Richard? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >>> Is there any significant advantage of not detecting syntax errors? >> I don't think I agree that this is a syntax error. >> What do others think about this? Lars? Stefan? Richard? [...] > I wouldn't bother signaling an error when we interpret the code, but it > would be good for the byte-compiler to warn about it. I thought we did warn about this, but some testing now seems to indicate that we don't? So then we definitely can't turn this into an error, but I agree with Stefan that we should issue a warning... probably. (Depending on whether there's a lot of code out there on this form or not.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: mattiase@acm.org, 48479@debbugs.gnu.org, monnier@iro.umontreal.ca, rms@gnu.org Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162143725424694 (code B ref 48479); Wed, 19 May 2021 15:15:01 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 15:14:14 +0000 Received: from localhost ([127.0.0.1]:60437 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljNtm-0006QD-J1 for submit@debbugs.gnu.org; Wed, 19 May 2021 11:14:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljNtk-0006Pw-ND for 48479@debbugs.gnu.org; Wed, 19 May 2021 11:14:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52074) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljNtf-0000ep-64; Wed, 19 May 2021 11:14:07 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3462 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljNsW-0002YV-8G; Wed, 19 May 2021 11:12:56 -0400 Date: Wed, 19 May 2021 18:13:05 +0300 Message-Id: <83o8d6pxj2.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87cztmdbbh.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 19 May 2021 16:53:38 +0200) References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , Mattias Engdegård > , > Richard Stallman , 48479@debbugs.gnu.org > Date: Wed, 19 May 2021 16:53:38 +0200 > > I agree with Stefan that we should issue a warning... probably. > (Depending on whether there's a lot of code out there on this form or > not.) I'm also okay with a warning during byte-compilation. From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 16:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16214420281034 (code B ref 48479); Wed, 19 May 2021 16:34:02 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 16:33:48 +0000 Received: from localhost ([127.0.0.1]:60579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljP8m-0000Gb-1K for submit@debbugs.gnu.org; Wed, 19 May 2021 12:33:48 -0400 Received: from mail1445c50.megamailservers.eu ([91.136.14.45]:50730 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljP8j-0000GK-Ls for 48479@debbugs.gnu.org; Wed, 19 May 2021 12:33:46 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621442019; bh=7GqQTTp+7DzgNJTK7INGseY4nZ+PyVh5+cGLH9VTaQs=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=InFr3f6AU9CgCT2Mi4cclc/QjX/y1FfwrBFWQyAc8zE6Zr1jtP8YFSakiDFJakwjE H6FJyZPugghOxYA3uwLl5Gc7Ic9FP8aNSVgnf/ukxskcEtcRjE/shhiowyovz/+7Gt w+7VOtileLdAHEiaDkbEesEDFHuLfoipvhBRSVc4= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14JGXZ4o032404; Wed, 19 May 2021 16:33:37 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <87cztmdbbh.fsf@gnus.org> Date: Wed, 19 May 2021 18:33:34 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F2A.60A53DE3.0010, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=K5pc4BeI c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=V6v5tJzm-u7vBZzDCLUA:9 a=CjuIK1q_8ugA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 19 maj 2021 kl. 16.53 skrev Lars Ingebrigtsen : > I thought we did warn about this, but some testing now seems to indicate > that we don't? (condition-case nil t nil) Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 19 maj 2021 kl. 16.53 skrev Lars Ingebrigtsen : > I thought we did warn about this, but some testing now seems to = indicate > that we don't? (condition-case nil t nil) definitely elicits a warning by the byte-compiler (not about the syntax = per se but about `nil` not being a condition). Or were you thinking = about something else? From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas Schwab Cc: Lars Ingebrigtsen , Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16214422191441 (code B ref 48479); Wed, 19 May 2021 16:37:01 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 16:36:59 +0000 Received: from localhost ([127.0.0.1]:60591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljPBd-0000Ms-4H for submit@debbugs.gnu.org; Wed, 19 May 2021 12:36:59 -0400 Received: from mail1451c50.megamailservers.eu ([91.136.14.51]:35002 helo=mail266c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljPBa-0000MY-Gs for 48479@debbugs.gnu.org; Wed, 19 May 2021 12:36:43 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621442196; bh=ZYNYPgIiWa8B3AT494AR4Tyd/XgOcs4wZimDmsMTTvM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=QQ3/hj30ufUD1TS0iWA16b2rcX2YlGhRPR1QEm6hZc1IdxPoNt0RwX5RUHKqwYW5z UDR8CvR38wO2/r7kG6q85KSBkER8Fp1sl4obfFC0P5T0VI0U5VljhktLP14Ioly6iL XiudVcGOzupOET2492/04+O/O9uS13FmagMdPXeU= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail266c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14JGaXFV025061; Wed, 19 May 2021 16:36:35 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <87tun0aqa3.fsf@igel.home> Date: Wed, 19 May 2021 18:36:33 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87tun0aqa3.fsf@igel.home> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F1E.60A53E94.002E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UeYvt5aN c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=tBb2bbeoAAAA:8 a=I1NOW6tot633PJVW3BAA:9 a=CjuIK1q_8ugA:10 a=A7-nIoEW0p8A:10 a=Oj-tNtZlA1e06AYgeCfH:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 18 maj 2021 kl. 19.46 skrev Andreas Schwab : > For some reason, the loop at the top of internal_lisp_condition_case > explicitly allows for a handler to be nil. Quite right! And a proper syntax check at that point would make the code no slower or more complicated. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 18 maj 2021 kl. 19.46 skrev Andreas Schwab : > For some reason, the loop at the top of internal_lisp_condition_case > explicitly allows for a handler to be nil. Quite right! And a proper syntax check at that point would make the code = no slower or more complicated. From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162145075115738 (code B ref 48479); Wed, 19 May 2021 19:00:02 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 18:59:11 +0000 Received: from localhost ([127.0.0.1]:60756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljRPT-00045k-DN for submit@debbugs.gnu.org; Wed, 19 May 2021 14:59:11 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljRPR-00045W-Kd for 48479@debbugs.gnu.org; Wed, 19 May 2021 14:59:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=N+RJ91AFiWpm9hUfV54EKWCIVW0Jl4unA7gXJwsnYO4=; b=AIWf7dblqi3nAms3m0cmQg7bUV GFiQUyGPHFEOo24x8UifGIXzyyMo+eHmUE2iFo7oCDWlUqeVLgvvEEW59+4tFw4pz/h71YUTtatDm WvnD4scxK1CcXtzX/HiIqYpA9WGrATFubW6XXR/+ZaKhrkrHbcwQUsftuMs4X28o/BTc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljRPI-0007mU-FY; Wed, 19 May 2021 20:59:02 +0200 From: Lars Ingebrigtsen References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEVamWNBjE5qmZ6v x5qKyIxRco+vJyXeECnLvlg0Py7///8VU2tHAAAAAWJLR0QKaND0VgAAAAlwSFlzAAALEgAACxIB 0t1+/AAAAAd0SU1FB+UFExI1KmY5K+4AAAGKSURBVDjLndRBT4MwFAfwMjW6G40nboYFk13Fw3bD pYnzZraUuZteCvsCcF1isnS34eLhfVv7WlgpI5r4lnDoj39f2wGE9JdH/gPh6JGQAWMOUIQwqi9d iLi6cN6TOAfvb4hcoL9D3fwVp/DtVAMNXINHqX8OvgWPniAVWVl8UFU4SE0P1fe6xCqoLUxw/qbH RVkI8W4h4inerX7tlJqKZ2WrFPg1pHY0K4Xc2oQFkUspAzj0wn65Bq/TQ4jPGylvpxhREK3UQs24 jNVUW4Cq3mChocjjicQCgOZ0U9PAjMu9hdVpSROTqChhbNYkhIHNcQgHghC2QNXuOK2BL+7bIGEM FUJCyJ0DqrkGVYkDIjgBy8y+m4BZFdZziX9Sbpq3YY6wOQDkZuu0ATYXgpKhuneHUFnQ9YQ7wCZ9 sIhfVAufOJAAfPNwDPqpc2G0Bjz0LrBljFDpx9SBOI7GmOhCEj9c6EgfQDNXG8jl7Cr40gfSgcSD gPck8OvgBQDnq2L6bTJvW6u182n4ARJpGLChfbD2AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA1 LTE5VDE4OjUzOjQxKzAwOjAwALJqAQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wNS0xOVQxODo1 Mzo0MSswMDowMHHv0r0AAAAASUVORK5CYII= X-Now-Playing: Men's _All The Way Through Remix EP_: "All The Way Thru (Pop Mix by Alex Suarez)" Date: Wed, 19 May 2021 20:58:59 +0200 In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 19 May 2021 18:33:34 +0200") Message-ID: <871ra2czyk.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= writes: > 19 maj 2021 kl. 16.53 skrev Lars Ingebrigtsen : > >> I thought we did warn about this, but some testing now seems to indicate >> that we don't? > > (condition-case nil t nil) > > def [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > 19 maj 2021 kl. 16.53 skrev Lars Ingebrigtsen : > >> I thought we did warn about this, but some testing now seems to indicate >> that we don't? > > (condition-case nil t nil) > > definitely elicits a warning by the byte-compiler (not about the > syntax per se but about `nil` not being a condition). Or were you > thinking about something else? I was thinking of the (condition-case nil (foo) (error)) case... (I.e., with a missing handler body.) I'm not sure whether that's supposed to or not. A handler is defined as (CONDITIONS BODY...) but a BODY in many other circumstances are allowed to be missing. Also note that (condition-case nil (foo)) doesn't give a warning. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 May 2021 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162145551724190 (code B ref 48479); Wed, 19 May 2021 20:19:01 +0000 Received: (at 48479) by debbugs.gnu.org; 19 May 2021 20:18:37 +0000 Received: from localhost ([127.0.0.1]:60804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljSeK-0006I5-UM for submit@debbugs.gnu.org; Wed, 19 May 2021 16:18:37 -0400 Received: from mail1448c50.megamailservers.eu ([91.136.14.48]:47434 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ljSeI-0006Ho-1I for 48479@debbugs.gnu.org; Wed, 19 May 2021 16:18:35 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621455507; bh=E/xknCxRJx0lEr1MYU+Y5ieHMZtW9WdeNfvtCC7iVfQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ftIrGUvNl5pNWsXH8GXJXe6bQ3MXeSiuI/kTTJAzcmRY1Bzlk+pOSRawrP4R9JtNL JAqiTuGcl1OuBfgwIugSmnPAE5A2nSeigYfrzx3jQ6ZP15k6+UjQP6X9xMBoZfp+BH izJ/djrK3Uj1chgCDlUfUJsJUYYr/Ltc2i+TieoE= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14JKIO6u028072; Wed, 19 May 2021 20:18:26 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <871ra2czyk.fsf@gnus.org> Date: Wed, 19 May 2021 22:18:24 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <880B56A7-CCF6-4C04-94F4-D49353E56973@acm.org> References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> <871ra2czyk.fsf@gnus.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A742F28.60A57293.0053, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=K5pc4BeI c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=rp4Xq9VdNWowXM7gM1AA:9 a=CjuIK1q_8ugA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 19 maj 2021 kl. 20.58 skrev Lars Ingebrigtsen : > I was thinking of the > > (condition-case nil > (foo) > (error)) > > case... (I.e., with a missing handler body.) I'm not sure whether > that's supposed to or not. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 19 maj 2021 kl. 20.58 skrev Lars Ingebrigtsen : > I was thinking of the >=20 > (condition-case nil > (foo) > (error)) >=20 > case... (I.e., with a missing handler body.) I'm not sure whether > that's supposed to or not. Thank you, and yes, that is valid; a body can be empty (it's an implicit = progn). I don't think an empty body in an error handler warrants a warning more = than anywhere else. Do you? > (condition-case nil > (foo)) >=20 > doesn't give a warning. Right, but its meaning is also well-defined and could even be useful in = a macro. I'm slightly more inclined to accept a warning here, but we are = drifting away from the original question: for syntactically invalid = handlers, like (), can we signal an error? I think we can. From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' In-Reply-To: <8635ulvbbx.fsf@protected.rcdrun.com> Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 May 2021 05:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.162191916922920 (code B ref 48479); Tue, 25 May 2021 05:07:01 +0000 Received: (at 48479) by debbugs.gnu.org; 25 May 2021 05:06:09 +0000 Received: from localhost ([127.0.0.1]:44407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llPGb-0005xc-0i for submit@debbugs.gnu.org; Tue, 25 May 2021 01:06:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llPGY-0005xA-GS for 48479@debbugs.gnu.org; Tue, 25 May 2021 01:06:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wVqDP8iyhZmZzv5iTMdg6ymB6gEi0zphdqPbsj21fkU=; b=BdQ+YYw6OSVr3B2S34M3ioQ+od We2whXeyhSy+4gH1tHp219y7xgtMV560K3KP5UBJcfJcX+N5drTBou+w0x1ZxsTKx3Lwf4uqtnh2c /0GKJMw9T+Jkzu9KFI8omxoVNz5eb2tUFUpyhctyJ+Gip7AaCRXxlIwlNSzckcgpqhMw=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1llPGP-0003mZ-91; Tue, 25 May 2021 07:05:59 +0200 From: Lars Ingebrigtsen References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> <871ra2czyk.fsf@gnus.org> <880B56A7-CCF6-4C04-94F4-D49353E56973@acm.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAIVBMVEUGCAkbIyFcYl8r MS6QmZU6SkOrr6t1gXzN3dtukYz///8EiMvvAAAAAWJLR0QKaND0VgAAAAlwSFlzAAAOdAAADnQB aySz1gAAAAd0SU1FB+UFGQQ3LiR0stMAAAGdSURBVDjLzZM7c8IwDMelGOgqE2BOgeaOzeE1cwHa jiE8ukIIuX4A+g06ZO7Qu37byrk8DAdTl2pwYv3kv2XJBvhPJu/40VJ3gJiZ03a/iusafuENk14x qRlaluMIN6JczNCqz5oAmzgAoEut+kyw00rm11piD2st4sZ0qYV7qGc7bBKHx7ACB8RAf5WVLAEe Si1xHMkJSrA9Qvdkah0YchhmhyVD6wgoV0heNiGoBQU4cVVRyiyB1trQWgISIyACEVkOjArgayAI bAKXLKc6elYF1D2qzcAEffYSL2IhZhcgN5eTbhhgp1cITwsxCCowzSsQ6bFjdKqTK9JtkO9qgoYO Fac8igyg+KL16SZQrSLLadkmXU5RP8E1GAHVHDqXAuPihyTZalwIUQUAPZLlReT6lsD2qjQAsSwc NPlEU1/lichzCYYK7PZrGgUZkb72ZfehrWAi7bf3NFpx7xngZOHniybhdtsdPKdxD+lJuPFjoRYu Bkkc/3yn6WdP7ooXoVd8hIvui5uyzdF8n6j4Wkl7FC6+4Lbde81/sV84Yjaa7jwOHAAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMS0wNS0yNVQwNDo1NTo0NiswMDowMDsG9AkAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjEtMDUtMjVUMDQ6NTU6NDYrMDA6MDBKW0y1AAAAAElFTkSuQmCC X-Now-Playing: Seefeel's _(Ch-Vox) Redux_: "Hive" Date: Tue, 25 May 2021 07:05:56 +0200 Message-ID: <87r1hvqu6j.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= writes: > 19 maj 2021 kl. 20.58 skrev Lars Ingebrigtsen : > >> I was thinking of the >> >> (condition-case nil >> (foo) >> (error)) >> >> case... (I.e., with a missing handler body.) I'm not s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mattias Engdeg=C3=A5rd writes: > 19 maj 2021 kl. 20.58 skrev Lars Ingebrigtsen : > >> I was thinking of the >>=20 >> (condition-case nil >> (foo) >> (error)) >>=20 >> case... (I.e., with a missing handler body.) I'm not sure whether >> that's supposed to or not. > > Thank you, and yes, that is valid; a body can be empty (it's an > implicit progn). > I don't think an empty body in an error handler warrants a warning > more than anywhere else. Do you? Not really -- it's just not explicitly stated that the empty version is allowed, but I guess it can be reasonably inferred (and that the return value of emptiness is nil). >> (condition-case nil >> (foo)) >>=20 >> doesn't give a warning. > > Right, but its meaning is also well-defined and could even be useful > in a macro. I'm slightly more inclined to accept a warning here, but > we are drifting away from the original question: for syntactically > invalid handlers, like (), can we signal an error? I think we can. On (condition-case nil (foo) ()) ? A warning is nice, but I think signalling an error would be excessive. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Thu Sep 11 10:04:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#48479: 28.0.50; Crash on `read--expression' Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 May 2021 08:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48479 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Eli Zaretskii , 48479@debbugs.gnu.org, Stefan Monnier Received: via spool by 48479-submit@debbugs.gnu.org id=B48479.16219313719851 (code B ref 48479); Tue, 25 May 2021 08:30:02 +0000 Received: (at 48479) by debbugs.gnu.org; 25 May 2021 08:29:31 +0000 Received: from localhost ([127.0.0.1]:44626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSRO-0002Yp-UA for submit@debbugs.gnu.org; Tue, 25 May 2021 04:29:31 -0400 Received: from mail1455c50.megamailservers.eu ([91.136.14.55]:48958 helo=mail266c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llSRM-0002YZ-Kf for 48479@debbugs.gnu.org; Tue, 25 May 2021 04:29:30 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1621931362; bh=nZJV/hEY+N/HTDIJKEbyXPRuK9KsMhhL+m9ioUgSilU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=mzYwscz8ifKcBgIf/zDFo1O7BGtt+VB9WawKKo34Wm/3UDaXeoeBnm+tiSlmbMEdW rj4j+9jOXdEBjWNExG2MfZkSa8X0f64l//lQ3mB3wZSq63YyOZvOcTX67l1a2MfzzQ NtYhVyWPOXLg48MZfhTrHSX3BgqbZycgFOh6aqrc= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail266c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 14P8TIFe004492; Tue, 25 May 2021 08:29:20 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <87r1hvqu6j.fsf@gnus.org> Date: Tue, 25 May 2021 10:29:18 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8635ulvbbx.fsf@protected.rcdrun.com> <835yzhtmt7.fsf@gnu.org> <266671C9-C9F1-4CF1-AA2C-F8D6FD64C470@acm.org> <83r1i4s2kd.fsf@gnu.org> <7D502665-A194-477F-89EF-89E617AA1109@acm.org> <83y2ccqdsw.fsf@gnu.org> <57374764-3AF7-4BC0-8376-671A067329EE@acm.org> <83tun0q9ca.fsf@gnu.org> <87cztmdbbh.fsf@gnus.org> <871ra2czyk.fsf@gnus.org> <880B56A7-CCF6-4C04-94F4-D49353E56973@acm.org> <87r1hvqu6j.fsf@gnus.org> X-Mailer: Apple Mail (2.3445.104.20) X-CTCH-RefID: str=0001.0A702F28.60ACB561.001E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UeYvt5aN c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=OocQHUDgAAAA:8 a=N-P_fsBBCbi7V_SPRswA:9 a=CjuIK1q_8ugA:10 a=xUZTl98r3Qw_uB5NK3jt:22 X-Origin-Country: SE X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello Lars, 25 maj 2021 kl. 07.05 skrev Lars Ingebrigtsen : > (condition-case nil > (foo) > ()) > > ? A warning is nice, but I think signalling an error would be > excessive. Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.4 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hello Lars, 25 maj 2021 kl. 07.05 skrev Lars Ingebrigtsen : > (condition-case nil > (foo) > ()) >=20 > ? A warning is nice, but I think signalling an error would be > excessive. Why is an error excessive for that syntax mistake, when we signal an = error for (condition-case (do-something) (error "failure")) and (condition-case nil (do-something) error "failure") ? Wouldn't the user be best served with an error in all cases? From debbugs-submit-bounces@debbugs.gnu.org Tue May 25 16:32:32 2021 Received: (at control) by debbugs.gnu.org; 25 May 2021 20:32:32 +0000 Received: from localhost ([127.0.0.1]:47094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldj5-0007uf-W3 for submit@debbugs.gnu.org; Tue, 25 May 2021 16:32:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lldj3-0007p6-Ph for control@debbugs.gnu.org; Tue, 25 May 2021 16:32:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fS3exPHol6PcJEiW3uC0i7hYJPa+UGbPyWT1vbgMyFM=; b=oDxsuIqKQ34TEObiaaKRUTjlHl v27ZlteTjsTb/A5ksGPyj7RjGdi1/tLWHbhbM63xEmIQjqbze6QUDiSGb98Y2ZRzL3eVMxTXREqFK esoFvJPJAQmWjjb0nBWwsQfJGE7AaoRFgEOgopNrr2Ur8Hm5CZVvI1+wHK7Oh+7d7zw8=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lldiw-0004yu-9C for control@debbugs.gnu.org; Tue, 25 May 2021 22:32:24 +0200 Date: Tue, 25 May 2021 22:32:21 +0200 Message-Id: <877djmd06i.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #48479 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 48479 fixed close 48479 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 48479 fixed close 48479 28.1 quit