From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Boruch Baum Newsgroups: gmane.emacs.bugs Subject: bug#47784: 27.2: ses-header-row [PATCH INCLUDED] Date: Mon, 19 Apr 2021 09:27:52 -0400 Message-ID: <20210419132752.2enm3o3zlbyify6p@E15-2016.optimum.net> References: <20210415033147.a3hoclq24colpjf7@E15-2016.optimum.net> <83eef8vhdr.fsf@gnu.org> <20210419092430.zv5gorzsvn5g2cdc@E15-2016.optimum.net> <83y2des9yn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20426"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: NeoMutt/20180716 Cc: 47784@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 19 15:29:10 2021 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 1lYTxd-0005Bc-G8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 15:29:09 +0200 Original-Received: from localhost ([::1]:40222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYTxc-0002Js-Id for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 09:29:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYTxW-0002Jl-H7 for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37279) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYTxW-0004K6-9U for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYTxW-0007nu-2C for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Boruch Baum Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Apr 2021 13:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47784 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 47784-submit@debbugs.gnu.org id=B47784.161883888529926 (code B ref 47784); Mon, 19 Apr 2021 13:29:01 +0000 Original-Received: (at 47784) by debbugs.gnu.org; 19 Apr 2021 13:28:05 +0000 Original-Received: from localhost ([127.0.0.1]:48823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTwa-0007mb-JT for submit@debbugs.gnu.org; Mon, 19 Apr 2021 09:28:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54179) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTwX-0007m2-KK for 47784@debbugs.gnu.org; Mon, 19 Apr 2021 09:28:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1618838875; bh=8abtfDjRt00Z/58McoGLPhCFr9ToCjg/OZEpAX8guVQ=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:References:In-Reply-To; b=ZaAFP8EuMRDYq4caqErOXyARXesVY4IKU7bcg1w2+bYNZenvv2jpfFzweHRF2TLpK PFIdCm0Zw+3EYVZHBSfIr+PIdrBNwbExdQKiH5W05eHQ4AFFG/PnoCNaqHTpUaYhgN TLlq9A7f50oikbdsHkK7hNyAMogxA2Pvx3Bk4Fzc= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from E15-2016.optimum.net ([70.19.86.82]) by mail.gmx.net (mrgmx004 [212.227.17.184]) with ESMTPSA (Nemesis) id 1MulqD-1lqHwP4C2t-00rmGh; Mon, 19 Apr 2021 15:27:55 +0200 Content-Disposition: inline In-Reply-To: <83y2des9yn.fsf@gnu.org> X-Provags-ID: V03:K1:+PMmN5prvyqZNqowNcTulj/igQi88CkrurZacJbD3nBUVSMYfOT sDk18YrjFKDeoB5jRyzjU7wvRupsGV5T8l70hLpyre6iViaq24ktdLim2yW8q7gSAZdAhjn WcaD+KmxhDNaY08Npv4blr+DlMa+MLymwNKOppXvugQuPbwanEwZTHxteWknlfMirEtvrBv 6XiOJQ7jpu5idU2vLBl8w== X-UI-Out-Filterresults: notjunk:1;V03:K0:p6jF6z439iA=:Aeigo2LNTe7D3t7a+QbeFA unEMNx99Cu+FCcz28lv5Nai3ahEGEyR0PRObGl4DvbG6VK31SiPnp/edG0VLsooCs/rw+Mzr2 r+bs592umRbSDeUirf/2EMwvKcZ37Z+ROaGT/KxURT6gy/CMkbY0Sr8qkPFAYMYu6kMH2WERI aBmjDKMMRdBYt6KRgrgS06xG2l4cWoWW7zCq4An4raLYu/WrcCdzdZ/XmgotyvxpPu/MAcOKp fjB4aneM082Slq6pDlziopc5vhu/LvP+BRf9Q7Ec6kakT7F2PuPfPWCAI9SZtsLQSdTxWuyP5 2DMuXKXUQgq0gV9O/XmZ/qItPPHRRZedqIMbfQD19/j+EQVF6tWz+jfMPuCEUNf6dhP/C20fx KZp7j+mEXEZhUV8KPYeEhAN6Q/jL/HXLR4PTeKBdxtj95BDLYkiGXrTinjxhGA3uURYYL6fWe FsQYAvJ+lTJVYum8t2J4tQCDLgrgmbxoips+vv4N09NUq6AkdwQfto+X1No0Gekf2MIJtdV0L DiSKeJNAovCgspbt6GnVZUL8kMks+nbinuU3MdcuJcteGy4MIS0QBHzn2v4Rbpdm1VwnzrTs7 mh4S2RXpnPmkbA4LevVV2ZHmb6tc6mbb7GvnDtfWHT9eOYTG1twmyk4Ifu4ikUaLzP9ptvYZr nNcKa4gtCaMKF0xwrXp9Y9T9knj3o7Tdvmm1Csa/CArFVadxdVl+CJPI0YZMUF0iyad+A/G/D 5vp5Rn1hPbUttuWC3NYFXjeKlGm76SjzqFN3MJjxdVpCSlvlHfdZWTzQv+As23gcajyliqH8 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204451 Archived-At: On 2021-04-19 16:03, Eli Zaretskii wrote: > > Date: Mon, 19 Apr 2021 05:24:30 -0400 > > From: Boruch Baum > > Cc: 47784@debbugs.gnu.org > > > > > Thanks, but I don't think I understand the rationale for the second > > > patch. What is the problem with signaling an error in those two > > > places? > > > > They avoid spawning a backtrace buffer when toggle-debug-on-error is s= et > > and the error is a user input error caught by a validation test within > > an `interactive' function call. > > I understand that, but the same is true for every call to 'error' > whenever debug-on-error is set. Not at all. The specific metrics are: 1) validation of user-input 2) interactive call Decide what your opinion is the purpose of function `user-error' separate from `error' and act accordingly. Whatever metric you use, you're bound to find cases of `error' being misused when `user-error' should be used. =2D- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0