From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Jul 2016 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23975@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: rswgnu@gmail.com Received: via spool by submit@debbugs.gnu.org id=B.146844025518205 (code B ref -1); Wed, 13 Jul 2016 20:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2016 20:04:15 +0000 Received: from localhost ([127.0.0.1]:50169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNQOF-0004jZ-5E for submit@debbugs.gnu.org; Wed, 13 Jul 2016 16:04:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNQOD-0004jM-Jl for submit@debbugs.gnu.org; Wed, 13 Jul 2016 16:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNQO7-0007Bu-P9 for submit@debbugs.gnu.org; Wed, 13 Jul 2016 16:04:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNQO7-0007Bn-Lk for submit@debbugs.gnu.org; Wed, 13 Jul 2016 16:04:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNQO5-0007yM-G3 for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 16:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNQNz-0007Au-Fr for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 16:04:03 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNQNz-0007Ap-CL for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 16:03:59 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:33160) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bNQNy-0006NA-KR for bug-gnu-emacs@gnu.org; Wed, 13 Jul 2016 16:03:58 -0400 Received: by mail-oi0-f52.google.com with SMTP id j185so80465982oih.0 for ; Wed, 13 Jul 2016 13:03:58 -0700 (PDT) X-Gm-Message-State: ALyK8tJ0nW1Ihjqzqyzk8qruutCvQ+FppedwPgFHZU+j0thQoe1w/TrvWIemmX/YWvKM4ZoP0R1rH//zN6KirQ== X-Received: by 10.157.21.1 with SMTP id u1mr5852319otf.143.1468440237596; Wed, 13 Jul 2016 13:03:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.199.143 with HTTP; Wed, 13 Jul 2016 13:03:28 -0700 (PDT) From: Robert Weiner Date: Wed, 13 Jul 2016 16:03:28 -0400 X-Gmail-Original-Message-ID: Message-ID: Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) 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: -6.3 (------) Given a defcustom like: (defcustom bounded-num 999 "Positive, bounded number" :type '(integer :match (lambda (widget value) (and (integerp value) (> value 0) (< value 1000))))) When this variable is customized and a value of -5 is entered, the match function fails and the error signaled is: (error "This field should contain an integer") which is wrong and not helpful. Instead the error should display what the match function is and that the value failed to match. Secondarily, it would be nice if the type were checked before the match function were applied so that one did not need to add the (integerp value) test into the match function. Bob In GNU Emacs 25.0.94.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1603)) of 2016-05-17 built on builder10-9.local Windowing system distributor 'Apple', version 10.3.1404 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp'' Configured features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Custom From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Robert Weiner Cc: rswgnu@gmail.com, 23975@debbugs.gnu.org Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.156431235311246 (code B ref 23975); Sun, 28 Jul 2019 11:13:02 +0000 Received: (at 23975) by debbugs.gnu.org; 28 Jul 2019 11:12:33 +0000 Received: from localhost ([127.0.0.1]:45830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrh6O-0002vH-JM for submit@debbugs.gnu.org; Sun, 28 Jul 2019 07:12:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrh6M-0002v7-9x for 23975@debbugs.gnu.org; Sun, 28 Jul 2019 07:12:30 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hrh6H-0003Pg-PI; Sun, 28 Jul 2019 13:12:28 +0200 From: Lars Ingebrigtsen References: Date: Sun, 28 Jul 2019 13:12:25 +0200 In-Reply-To: (Robert Weiner's message of "Wed, 13 Jul 2016 16:03:28 -0400") Message-ID: <87a7cyct0m.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Robert Weiner writes: > Given a defcustom like: > > (defcustom bounded-num 999 > "Positive, bounded number" > :type '(integer :match (lambda (widget value) (and (integerp value) > (> value 0) > (< value 1000))))) > > When [...] 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 (-) Robert Weiner writes: > Given a defcustom like: > > (defcustom bounded-num 999 > "Positive, bounded number" > :type '(integer :match (lambda (widget value) (and (integerp value) > (> value 0) > (< value 1000))))) > > When this variable is customized and a value of -5 is entered, the > match function fails > and the error signaled is: > > (error "This field should contain an integer") > > which is wrong and not helpful. Instead the error should display what > the match function is and that the value failed to match. > > Secondarily, it would be nice if the type were checked before the match > function were applied so that one did not need to add the (integerp > value) test into the match function. (I'm going through old Emacs bug reports that haven't received any response.) Both sound like good ideas, but the code here is rather convoluted. So, for your defcustom (or "widget" at this point): (widget-get w :match) => (lambda (widget value) (and (integerp value) (> value 0) (< value 1000))) If that fails, then we get the error with (widget-get w :type-error) => "This field should contain an integer" So far so bad -- this means that custom doesn't actually call the integerp check at all for defcustoms with an explicit :match. Here's another defcustom without a custom :match: (widget-get w2 :match) => widget-restricted-sexp-match and that function does (widget-get w2 :match-alternatives) => (integerp) and then calls `integerp'. Your defcustom also has this, but it's never called: (widget-get w :match-alternatives) => (integerp) So this is all rather a mess. It seems obvious that (widget-get widget :match-alternatives) should always be called, but it's not if you have an explicit :match, and my guess that doing so might well break a lot of stuff. As for the error message, we can't really fix that trivially either, because you may have said :match widget-restricted-sexp-match or the like, and then the error message is correct. It sounds unlikely, though, and we could add a hack that says that if :match is widget-restricted-sexp-match, then we don't output the standard error message but instead what's actually in :match, but that's... hacky? But possible. Anybody have an opinion? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jul 2019 11:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: rswgnu@gmail.com, 23975@debbugs.gnu.org, Robert Weiner Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.156431457922893 (code B ref 23975); Sun, 28 Jul 2019 11:50:01 +0000 Received: (at 23975) by debbugs.gnu.org; 28 Jul 2019 11:49:39 +0000 Received: from localhost ([127.0.0.1]:45847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrhgI-0005xB-My for submit@debbugs.gnu.org; Sun, 28 Jul 2019 07:49:38 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:38443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hrhgG-0005x1-LU for 23975@debbugs.gnu.org; Sun, 28 Jul 2019 07:49:37 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45xLhb3x5yz1rGhT; Sun, 28 Jul 2019 13:49:35 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45xLhb2HhZz1qqkD; Sun, 28 Jul 2019 13:49:35 +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 3Kp5GfS8rPrI; Sun, 28 Jul 2019 13:49:34 +0200 (CEST) X-Auth-Info: jTsOKf+iY7JxTRCXO2C3ahREci11Sfr6ZLbu2KyFuNV4aeoS/hlYKp9JEnE0ZVZk Received: from igel.home (ppp-46-244-178-236.dynamic.mnet-online.de [46.244.178.236]) (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; Sun, 28 Jul 2019 13:49:34 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 7FFCA2C0D8B; Sun, 28 Jul 2019 13:49:32 +0200 (CEST) From: Andreas Schwab References: <87a7cyct0m.fsf@mouse.gnus.org> X-Yow: I'm ZIPPY the PINHEAD and I'm totally committed to the festive mode. Date: Sun, 28 Jul 2019 13:49:32 +0200 In-Reply-To: <87a7cyct0m.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 28 Jul 2019 13:12:25 +0200") Message-ID: <87mugyxttf.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) 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.4 (-) On Jul 28 2019, Lars Ingebrigtsen wrote: > So, for your defcustom (or "widget" at this point): > > (widget-get w :match) > => (lambda (widget value) (and (integerp value) (> value 0) (< value 1000))) > > If that fails, then we get the error with > > (widget-get w :type-error) > => "This field should contain an integer" > > So far so bad -- this means that custom doesn't actually call the > integerp check at all for defcustoms with an explicit :match. That's because the :match overrides the parent :match (defined by restricted-sexp). That's how OOP is working in general, I suppose. > Here's another defcustom without a custom :match: > > (widget-get w2 :match) > => widget-restricted-sexp-match > > and that function does > > (widget-get w2 :match-alternatives) > => (integerp) > > and then calls `integerp'. Your defcustom also has this, but it's never > called: > > (widget-get w :match-alternatives) > => (integerp) :match-alternatives is only used by widget-restricted-sexp-match, which is overridden by the custom :match. 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 Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute References: In-Reply-To: Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 11:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: rswgnu@gmail.com, 23975@debbugs.gnu.org, Robert Weiner Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.159921890316251 (code B ref 23975); Fri, 04 Sep 2020 11:29:01 +0000 Received: (at 23975) by debbugs.gnu.org; 4 Sep 2020 11:28:23 +0000 Received: from localhost ([127.0.0.1]:37611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9tH-0004E0-H9 for submit@debbugs.gnu.org; Fri, 04 Sep 2020 07:28:23 -0400 Received: from mail-wm1-f50.google.com ([209.85.128.50]:52600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kE9tF-0004Dn-Ds for 23975@debbugs.gnu.org; Fri, 04 Sep 2020 07:28:21 -0400 Received: by mail-wm1-f50.google.com with SMTP id q9so5747778wmj.2 for <23975@debbugs.gnu.org>; Fri, 04 Sep 2020 04:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=1c2xtjj4sZE4SqVjeUOsC9DBkv8enz0WdJ8LJAO4A1E=; b=OTtj0QjgK5OKSWRd4Q8PmBiml9gLHENnKjAFOgFJfs/ljH4zDlrhrDZ9/DxRHD1IDv zQwF59Yz4OEjipduV2gUiYkA33vdlvi0/3MFZKJ/lqZ10xD1mQQoxSJou3GirrJamr6L eEmXrxAea015QOn6TlAEWSH6+IP4o2AY2WpuMcfsbvfmp5/y+K89Tv0aTysiEY1weAH2 jEKZhP1IiYXsDkikWVNR8SEDbxn1vRi2wLCZHEHVPBbFjiRTuu0LFQV6DCOjIWrb2/D8 Jodt1gCQby9kV0cCg51btOzsmhQxvpQfE2EBq9SGj04A/x62dn1bGm5+NoQmrMOhsIzh WGjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=1c2xtjj4sZE4SqVjeUOsC9DBkv8enz0WdJ8LJAO4A1E=; b=d2ZwXKdWnNhPUidM6L0aQ3FFvyCwy6zOC3VnfDeuNQ8ttTVC5s/5PbNVIo5ATxaSRh WO1WrzroMixZ28Dk6kHPjCrGbijpr5bjQT/DLET6Js/vAnPCWc5rqAavctNs7mRveYIg a8gB+eFywetCPpTPx60ESIZkFhYEhvEb4zlWyu0Lg+mahBhhLrKq4+R1MeMx52n602v8 yfX9pClCv9BqxsxpPuolbdZyluk1Dev9hd8kc5RnV2q/IukSG1AUTzCe/mb5LXXHuWgN V5t2ws+637PK9woEYBitqvohNynnzQqOSHnw6gUU6YdZ0hEnbxNcs792HjW6Oj47Z/38 fiuQ== X-Gm-Message-State: AOAM532sTlCtl7l1wJa579e4n0Gnyb1D/G7Ko6mp7EtG+jS8Nx5VII/C VUqICd5OdhdJJY2VcqkVWGV8ZDJCgeDeQ2Kwjv8= X-Google-Smtp-Source: ABdhPJwt5E0c6x5AMWWuKUP80E097qbzHJyuEYE4SAoSxoQo37k1t/oSL/Gwef4zcVQByfF/nWY9vuDeAlOu0i/rWjY= X-Received: by 2002:a1c:a9c2:: with SMTP id s185mr7365004wme.100.1599218895499; Fri, 04 Sep 2020 04:28:15 -0700 (PDT) MIME-Version: 1.0 From: Mauro Aranda Date: Fri, 4 Sep 2020 08:28:03 -0300 Message-ID: Content-Type: multipart/alternative; boundary="0000000000002f359705ae7b2ac9" 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 (-) --0000000000002f359705ae7b2ac9 Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: > As for the error message, we can't really fix that trivially either, > because you may have said :match widget-restricted-sexp-match or the > like, and then the error message is correct. It sounds unlikely, > though, and we could add a hack that says that if :match is > widget-restricted-sexp-match, then we don't output the standard error > message but instead what's actually in :match, but that's... hacky? > > But possible. Anybody have an opinion? I wonder if we could just document the :type-error property. So anybody that uses a custom :match function with additional checks can put there the information they like to show the user when something goes wrong. So the defcustom posted would be something like: (defcustom bounded-num 999 "Positive, bounded number" :type '(integer :match (lambda (widget value) (and (integerp value) (> value 0) (< value 1000))) :type-error "Value should be an integer between 0 and 1000")) That's easy, and would solve the main problem here. WDYT? --0000000000002f359705ae7b2ac9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Lars Ingebrigtsen <la= rsi@gnus.org> writes:

> As for the error message, we can&#= 39;t really fix that trivially either,
> because you may have said :m= atch widget-restricted-sexp-match or the
> like, and then the error m= essage is correct.=C2=A0 It sounds unlikely,
> though, and we could a= dd a hack that says that if :match is
> widget-restricted-sexp-match,= then we don't output the standard error
> message but instead wh= at's actually in :match, but that's... =C2=A0hacky?
>
>= But possible.=C2=A0 Anybody have an opinion?

I wonder if we could j= ust document the :type-error property.=C2=A0 So
anybody that uses a cust= om :match function with additional checks can
put there the information = they like to show the user when something goes
wrong.=C2=A0 So the = defcustom posted would be something like:

(defcust= om bounded-num 999
=C2=A0 "Positive, bounded number"
=C2=A0= :type '(integer :match (lambda (widget value) (and (integerp value)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (> value 0)=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 (&= lt; value 1000)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :type-error "Value should be an intege= r between 0 and 1000"))

That's easy, and w= ould solve the main problem here.=C2=A0 WDYT?
--0000000000002f359705ae7b2ac9-- From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 12:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mauro Aranda Cc: rswgnu@gmail.com, 23975@debbugs.gnu.org, Robert Weiner Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.159922157729067 (code B ref 23975); Fri, 04 Sep 2020 12:13:02 +0000 Received: (at 23975) by debbugs.gnu.org; 4 Sep 2020 12:12:57 +0000 Received: from localhost ([127.0.0.1]:37717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAaO-0007Yl-Qt for submit@debbugs.gnu.org; Fri, 04 Sep 2020 08:12:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEAaN-0007YW-Ig for 23975@debbugs.gnu.org; Fri, 04 Sep 2020 08:12:56 -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=c905iznK7MNrL9XP0Aq9JluvHeC5L3OgQ4fShUkxHRE=; b=gaJDHp2RZqQabhQOh/p2vQSN6L DJQq0ZFcbnrMfRzjRLIJKbNvipbrYcvimzngJ4hoYjX89FtRBOoijGeuyko5QMQBK1fq8Rp8Wo5wX TN5gQ5k2mdFMRsXzWqR2cdI3Ww84w0rITPwSK+0PJxZ9MfiPcFjfe7SxdyHMH0JABi6k=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEAaE-0007IP-LV; Fri, 04 Sep 2020 14:12:49 +0200 From: Lars Ingebrigtsen References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUEBQIpLyBXZFGS mnBASzi5v5j////6jDnzAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+QJBAsWF1Bt2eMAAAGWSURBVDjL 5ZNRcusgDEVFmwVA6v43gvzXqP43hLeAN1T730olKC5pu4NqPGN8TyTEFQH4E+GsA/OLbnw4X/Ju nISxEzhFzJhtA24GBksuSwPLoZvSIpdgZbloTgcPNGJ/IN8WGBARnob+Bnks48YE10q0scRqmrjV rRJHBB6x/uNKsWcQTsBtklm5Ad2DmFul9zOTviXLoxAQ6FX5f+2J+uvW1ahUxkKawQnU5wGkMAkF ppzCjXetVDlSzNKxZEFRR8WGW3Tlslj1w6RkHJTUzDaegojTUNQ0sfpWqcbk7se3oDXigxwsp1n2 4t+jNFPJx1COeaAaLlZydxyPcvqZDFPtuhz7E6nR9on7HuKHjrPNXb/h2t0W+zqJtoE302eq/nWS Q1LwcsJJx9Buh4BozwL8AXo1ARfInvAr5O4FBXGHjHECQXRpmdDKFOeMToACfAdY5AFaTz9BwQD8 oheC5010c5m5WwE933el7dbHV4O+flXHEgQkePe7OfYoZZw8wUrWzFZ8RpK/2QDlLuCMYEL5nlDK B/IFmZCH6NapAAAAEGVYSWZJSSoACAAAAAAAAAAAAAAAnDy5KAAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMC0wOS0wNFQxMToyMjoyMiswMDowMM9U8PMAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDkt MDRUMTE6MjI6MjIrMDA6MDC+CUhPAAAAAElFTkSuQmCC X-Now-Playing: Tuxedomoon's _Live in Los Angeles (2005)_: "Loneliness" Date: Fri, 04 Sep 2020 14:12:44 +0200 In-Reply-To: (Mauro Aranda's message of "Fri, 4 Sep 2020 08:28:03 -0300") Message-ID: <87v9gtbv0j.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: Mauro Aranda writes: > I wonder if we could just document the :type-error property. So > anybody that uses a custom :match function with additional checks can > put there the information they like to show the user when so [...] 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 (-) Mauro Aranda writes: > I wonder if we could just document the :type-error property. So > anybody that uses a custom :match function with additional checks can > put there the information they like to show the user when something goes > wrong. So the defcustom posted would be something like: > > (defcustom bounded-num 999 > "Positive, bounded number" > :type '(integer :match (lambda (widget value) (and (integerp value) > (> value 0) > (< value 1000))) > :type-error "Value should be an integer between 0 and 1000")) > > That's easy, and would solve the main problem here. WDYT? I think that's a very good idea. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute References: In-Reply-To: Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 12:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Lars Ingebrigtsen Cc: Robert Weiner , rswgnu@gmail.com, Mauro Aranda , 23975@debbugs.gnu.org Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.1599223701478 (code B ref 23975); Fri, 04 Sep 2020 12:49:02 +0000 Received: (at 23975) by debbugs.gnu.org; 4 Sep 2020 12:48:21 +0000 Received: from localhost ([127.0.0.1]:37915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEB8f-00007e-9U for submit@debbugs.gnu.org; Fri, 04 Sep 2020 08:48:21 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:50632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEB8d-00007R-Ha for 23975@debbugs.gnu.org; Fri, 04 Sep 2020 08:48:19 -0400 Received: by mail-wm1-f48.google.com with SMTP id e17so5987209wme.0 for <23975@debbugs.gnu.org>; Fri, 04 Sep 2020 05:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=GmLO7m1h0V4M7XyYzv/AHqAfK3M8haDETJBeH+iNTO8=; b=TJCYpzZuBBw4z9MtG9NC1ozhVGwRdyAkiKyAbJKqabnKj2LSSZR1Kuq6glv58PHBul k49j4lo5M8WTm7Ots9y4WbTa81nhIsjwv4H3KFy8mX5WZ14HJld7Pvt8C5gL5e6O1gux 1hK3ZM0nWjvpWN9DmfTbQYurc+qGKczUJlAaR7vqOpSh6QOFrti1RHYODEBo3M/ka0ef CXAgLCJg6jn0Db4vdGFGprrzI04/QkomwmVJNUK1sIB9tHHSz3xQGDoWuQYPvZucnzl0 T0HVQJN+6RXYOGMbZUlB5nPdee9CtN8oVjYgHlIIMUiMb/sHFL3PuDqpgZUR4btFVzCE Bayw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=GmLO7m1h0V4M7XyYzv/AHqAfK3M8haDETJBeH+iNTO8=; b=S9iiRq+ECU/J055v9T6tJsMnRgwUxGJg5ZRvQVc46BDT1csZYOisCOK2w2iq9gfVeN DvUWYwinqmMTFiV7ph3MFkZobxkjowjFsIwvoM5A4Hf/MMaeip1r47DHkx2E5z7NeqeH dEDEvB1jnahmhskqrPslKfmEkeHISzsdqabJife4wXUBZ6/ifyJmbp2cvDFtYmmz5TV+ zwHfWnBfahnriZfgmF9cNbtmDXpDg27j//7vf7+GcAPPmPbJFSgxFZs92p8fKg532cel psV6JKxtw/hfHzQw9XufOQa2WPg4+RzgWR0S9V0f22w8vEBVAJRIAyyV+9oJ1Hc0/IJm 3CjQ== X-Gm-Message-State: AOAM531ZwvNvEkHGKj/rK7omTzqbUC+UnzDxXF7ASSwaEci51SvkgrB9 uwX/dJMyWZbgijT6UJL5DQCiqF3bV8IFLxurR90= X-Google-Smtp-Source: ABdhPJx6f5ZtAb4XqXoHuEIwnQ3RkjTfaGfYQE8aCET2g/yczXU2Z5OgWpk40E6OG8PHxLWs5HCm1nyKwjBcp/N2urI= X-Received: by 2002:a1c:a9c2:: with SMTP id s185mr7689989wme.100.1599223693605; Fri, 04 Sep 2020 05:48:13 -0700 (PDT) MIME-Version: 1.0 From: Mauro Aranda Date: Fri, 4 Sep 2020 09:48:01 -0300 Message-ID: Content-Type: multipart/mixed; boundary="0000000000002c986705ae7c48b0" 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 (-) --0000000000002c986705ae7c48b0 Content-Type: multipart/alternative; boundary="0000000000002c986505ae7c48ae" --0000000000002c986505ae7c48ae Content-Type: text/plain; charset="UTF-8" Lars Ingebrigtsen writes: > Mauro Aranda writes: > >> I wonder if we could just document the :type-error property. So >> anybody that uses a custom :match function with additional checks can >> put there the information they like to show the user when something goes >> wrong. So the defcustom posted would be something like: >> >> (defcustom bounded-num 999 >> "Positive, bounded number" >> :type '(integer :match (lambda (widget value) (and (integerp value) >> (> value 0) >> (< value 1000))) >> :type-error "Value should be an integer between 0 and 1000")) >> >> That's easy, and would solve the main problem here. WDYT? > > I think that's a very good idea. Great! Here's my attempt: --0000000000002c986505ae7c48ae Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Lars Ingebrigtsen <la= rsi@gnus.org> writes:

> Mauro Aranda <maurooaranda@gmail.com> writes:
>
= >> I wonder if we could just document the :type-error property.=C2=A0= So
>> anybody that uses a custom :match function with additional = checks can
>> put there the information they like to show the user= when something goes
>> wrong.=C2=A0 So the defcustom posted would= be something like:
>>
>> (defcustom bounded-num 999
&= gt;> =C2=A0 "Positive, bounded number"
>> =C2=A0 :typ= e '(integer :match (lambda (widget value) (and (integerp value)
>= > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (>= value 0)
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 (< value 1000)))
>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :type-error "V= alue should be an integer between 0 and 1000"))
>>
>>= ; That's easy, and would solve the main problem here.=C2=A0 WDYT?
&g= t;
> I think that's a very good idea.

Great! Here's my= attempt:


--0000000000002c986505ae7c48ae-- --0000000000002c986705ae7c48b0 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Document-type-error-property-for-customization-types.patch" Content-Disposition: attachment; filename="0001-Document-type-error-property-for-customization-types.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_keo8fz1f0 RnJvbSA4NGVlMTg2OGZlYmIyMmVlOGU0Mzc5MmRiYjA0MmRlZjZlMjAyM2M3IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBNYXVybyBBcmFuZGEgPG1hdXJvb2FyYW5kYUBnbWFpbC5jb20+ CkRhdGU6IFdlZCwgMiBTZXAgMjAyMCAwODo0NDowMSAtMDMwMApTdWJqZWN0OiBbUEFUQ0hdIERv Y3VtZW50IDp0eXBlLWVycm9yIHByb3BlcnR5IGZvciBjdXN0b21pemF0aW9uIHR5cGVzCgoqIGRv Yy9saXNwcmVmL2N1c3RvbWl6ZS50ZXhpIChUeXBlIEtleXdvcmRzKTogRG9jdW1lbnQgOnR5cGUt ZXJyb3IsIHNvCkxpc3AgcHJvZ3JhbXMgY2FuIGRpc3BsYXkgYSBtb3JlIGNvcnJlY3QgbWVzc2Fn ZSB3aGVuIHRoZSB2YWx1ZSBvZiBhCnVzZXIgb3B0aW9uIGRvZXNuJ3QgbWF0Y2ggaXRzIHR5cGUu ICAoQnVnIzIzOTc1KQotLS0KIGRvYy9saXNwcmVmL2N1c3RvbWl6ZS50ZXhpIHwgNyArKysrKysr CiAxIGZpbGUgY2hhbmdlZCwgNyBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvZG9jL2xpc3By ZWYvY3VzdG9taXplLnRleGkgYi9kb2MvbGlzcHJlZi9jdXN0b21pemUudGV4aQppbmRleCBiOWM5 MTMwYTkyLi5jMzU0NDRmNTgxIDEwMDY0NAotLS0gYS9kb2MvbGlzcHJlZi9jdXN0b21pemUudGV4 aQorKysgYi9kb2MvbGlzcHJlZi9jdXN0b21pemUudGV4aQpAQCAtMTE5Nyw2ICsxMTk3LDEzIEBA IFR5cGUgS2V5d29yZHMKIHRoZSB3aWRnZXQgY29udGFpbmluZyB0aGUgaW52YWxpZCBkYXRhLCBh bmQgc2V0IHRoYXQgd2lkZ2V0J3MKIEBjb2RlezplcnJvcn0gcHJvcGVydHkgdG8gYSBzdHJpbmcg ZXhwbGFpbmluZyB0aGUgZXJyb3IuCiAKK0BpdGVtIDp0eXBlLWVycm9yIEB2YXJ7c3RyaW5nfQor QGtpbmRleCB0eXBlLWVycm9yQHJ7LCBjdXN0b21pemF0aW9uIGtleXdvcmR9CitAdmFye3N0cmlu Z30gc2hvdWxkIGJlIGEgc3RyaW5nIHRoYXQgZGVzY3JpYmVzIHdoeSBhIHZhbHVlIGRvZXNuJ3QK K21hdGNoIHRoZSB0eXBlLCBhcyBkZXRlcm1pbmVkIGJ5IHRoZSBAY29kZXs6bWF0Y2h9IGZ1bmN0 aW9uLiAgV2hlbiB0aGUKK0Bjb2RlezptYXRjaH0gZnVuY3Rpb24gcmV0dXJucyBAY29kZXtuaWx9 LCB0aGUgd2lkZ2V0J3MgQGNvZGV7OmVycm9yfQorcHJvcGVydHkgd2lsbCBiZSBzZXQgdG8gQHZh cntzdHJpbmd9LgorCiBAaWdub3JlCiBAaXRlbSA6aW5kZW50IEB2YXJ7Y29sdW1uc30KIEluZGVu dCB0aGlzIGl0ZW0gYnkgQHZhcntjb2x1bW5zfSBjb2x1bW5zLiAgVGhlIGluZGVudGF0aW9uIGlz IHVzZWQgZm9yCi0tIAoyLjI4LjAKCg== --0000000000002c986705ae7c48b0-- From unknown Sat Sep 06 02:03:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23975: 25.0.94: defcustom error message is wrong when :type field has a :match attribute Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Sep 2020 12:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23975 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mauro Aranda Cc: rswgnu@gmail.com, 23975@debbugs.gnu.org, Robert Weiner Received: via spool by 23975-submit@debbugs.gnu.org id=B23975.1599223907808 (code B ref 23975); Fri, 04 Sep 2020 12:52:02 +0000 Received: (at 23975) by debbugs.gnu.org; 4 Sep 2020 12:51:47 +0000 Received: from localhost ([127.0.0.1]:37921 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEBBy-0000Cy-SK for submit@debbugs.gnu.org; Fri, 04 Sep 2020 08:51:47 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEBBw-0000Ch-Li for 23975@debbugs.gnu.org; Fri, 04 Sep 2020 08:51:45 -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=E6v7Ra57HIpgPdatjQyiguKlqnvS9X9J49BdOA9ixio=; b=UoR0IkIYf7vkiax5cyJkrMUI1R yAZytQUKA1OuWLW0iX8ewYyE3r/kPYZkr+7rT3iVGH5/sFHmy2EPZjzJobQCb1QRArPTuu6bP2IKt fXUljpKywGUfGZxeKk4tbS/2tS1nvXrJ/ohO78iaYl1gXr+XBrO/VpyQi7nvkeBCUFj4=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEBBo-0007i6-5j; Fri, 04 Sep 2020 14:51:38 +0200 From: Lars Ingebrigtsen References: X-Now-Playing: Meg Baird & Mary Lattimore's _Ghost Forests_: "Blue Burning" Date: Fri, 04 Sep 2020 14:51:34 +0200 In-Reply-To: (Mauro Aranda's message of "Fri, 4 Sep 2020 09:48:01 -0300") Message-ID: <87eenhbt7t.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: Mauro Aranda writes: > Great! Here's my attempt: Thanks; applied to Emacs 28. 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 (-) Mauro Aranda writes: > Great! Here's my attempt: Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 04 08:52:08 2020 Received: (at control) by debbugs.gnu.org; 4 Sep 2020 12:52:08 +0000 Received: from localhost ([127.0.0.1]:37925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEBCK-0000Dw-3C for submit@debbugs.gnu.org; Fri, 04 Sep 2020 08:52:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEBC3-0000Cx-J8 for control@debbugs.gnu.org; Fri, 04 Sep 2020 08:52:06 -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=/23p6YERbEzgbFOHpo4mw2/rAfeorUbRcI1+MR1/AQA=; b=kEAHgvWnUXgts2MjdFHK6bpuFh TanS6ct8Flx8ido2Rhj3fzYyupPrCfFZeXAxoRtls2j6PAZ4JWqL0OboS+EpSMGkXwzh6okklYOjW 24/a2WeFbEWZ83x7XrixWYk+xYlzYTKkJhivJTkfpMDjhU7ynCfpGwglnMUfj8dZ7W40=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEBBv-0007iH-Rl for control@debbugs.gnu.org; Fri, 04 Sep 2020 14:51:46 +0200 Date: Fri, 04 Sep 2020 14:51:42 +0200 Message-Id: <87d031bt7l.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #23975 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 23975 fixed close 23975 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 23975 fixed close 23975 28.1 quit