From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 19 14:59:25 2020 Received: (at submit) by debbugs.gnu.org; 19 Mar 2020 18:59:25 +0000 Received: from localhost ([127.0.0.1]:43630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jF0O5-0000Za-D8 for submit@debbugs.gnu.org; Thu, 19 Mar 2020 14:59:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:54343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jF0O3-0000ZS-78 for submit@debbugs.gnu.org; Thu, 19 Mar 2020 14:59:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51789) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jF0O1-0004xs-Ri for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 14:59:22 -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.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jF0O0-0002SW-Ob for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 14:59:21 -0400 Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:33448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jF0O0-0002MY-Cr for bug-gnu-emacs@gnu.org; Thu, 19 Mar 2020 14:59:20 -0400 Received: by mail-pl1-x629.google.com with SMTP id g18so1457162plq.0 for ; Thu, 19 Mar 2020 11:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagelb-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version; bh=x6UpfdoGP5pmk0Otq/F8Mgoy1vpxmObbgYsqNoWl4DM=; b=ScVzQVuuB+YjN+LU59zd34g/cK1nYK5DrCtsj+SQQQU0V1eGHvuC620t/4SEk1MNIw VDscW7Tv6kLVELVtP7x7vKxUDU2fezE2GZ9EI0hot841F3UrHuWo1snwF1zvC9a1+aDp Xj3RMRFHJg0bcnELF0VPuPMxEnONkNImdAwJK4qzgP1ekIGZNUudQjReDvjCoBedkpHd 6DLiX2QRZP5fjg7gteVakwFW9+TlNC/yIibEcbg1zbnj6dQtg2ae7zgSJHhJ72ShTVFs an6EbfqqMHEXPNCNLn3H+rH+Vofl6rFKeaaCQ28U+KlqOmmhmQwELOWwB9NRyjtfN18h g0+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=x6UpfdoGP5pmk0Otq/F8Mgoy1vpxmObbgYsqNoWl4DM=; b=iuCKxTKbXsizg0rUC3KFOE4aUenQCPBEPT/cgGr1fFYVmuBtuOqoKCDlDo+2d0bsvZ NUESd0bBSbI7BZwfmqdLsVBDA2M/qIWzo6rt+M9v1/dW5GHmk5At1h+XkLVfTOG1clF6 A4DvSlaA7JFoWvm5dM07IGLf7pjq/FTjD7VXCsqtvp3bfes8/dHdtgXnOzOsVSjYJaK3 T5xW/U8CcK9UOl/AdClUpZuDjc2BVwA+nyGtthVjrMBN5ttTEFyLUFkhBXl9nHLGivv/ WEguiUJD5J57Cnr7VbpUkrTdQfN/2iPNDBgltk1OsXFbg+BdNFpvcsXYVlFbcUZhDLiN iRzg== X-Gm-Message-State: ANhLgQ2A00AP9R4bWJovGU8AicSZtRXqWob77ae2bO5xYrbpqsU4s1oW 1+qdsEawyvhLfcGthKB0INRQrg== X-Google-Smtp-Source: ADFU+vuz+F5hXou0MD+0R8Fd+L70MTagAH2Tkvzm97eyAnt08+COZ5SeciuPsaQe//wFvsIRmP37pA== X-Received: by 2002:a17:902:9a8a:: with SMTP id w10mr1010734plp.218.1584644357233; Thu, 19 Mar 2020 11:59:17 -0700 (PDT) Received: from whirlwind (174-21-158-90.tukw.qwest.net. [174.21.158.90]) by smtp.gmail.com with ESMTPSA id f6sm3399323pfk.99.2020.03.19.11.59.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Mar 2020 11:59:16 -0700 (PDT) From: Phil Hagelberg To: bug-gnu-emacs@gnu.org Subject: 25.1; ERC ignore function should allow specifying a limited duration Date: Thu, 19 Mar 2020 11:59:10 -0700 Message-ID: <87mu8cb281.fsf@hagelb.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::629 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit Cc: bandali@gnu.org 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.8 (/) When using ERC, sometimes you need to /ignore users who are annoying you. Rather than having all ignores persist until you manually un-ignore them, it would be useful to be able to specify an amount of time after which the ignore would expire on its own. (bandali on the #emacs channel requested that I file this as a bug) From debbugs-submit-bounces@debbugs.gnu.org Sat May 02 22:27:00 2020 Received: (at 40137) by debbugs.gnu.org; 3 May 2020 02:27:00 +0000 Received: from localhost ([127.0.0.1]:54393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV4LL-0004Yb-PB for submit@debbugs.gnu.org; Sat, 02 May 2020 22:27:00 -0400 Received: from mail4.protonmail.ch ([185.70.40.27]:41867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jV2zs-000523-Oy for 40137@debbugs.gnu.org; Sat, 02 May 2020 21:00:45 -0400 Date: Sun, 03 May 2020 01:00:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1588467638; bh=DT8SoPNiqy/HiYHmGuAA9NnycO1zWT2myf/cubSSjDM=; h=Date:To:From:Reply-To:Subject:From; b=O3vIXIb0FnjWwjHy4TUZ//NuCnzXf9esWPHmrFa2MOdzxJ444IhoBqMHEZs+O9C3z bHVpyA3c2GfIAO5RSa7M0ZSDfqCU20TCRUsCqiM7YAu5pv/khy2uLpYr4wfWynYTTf WKvWgl4KtLJ2W6aoYG9BRVAwpmj0/yKbeLqI5DZk= To: "40137@debbugs.gnu.org" <40137@debbugs.gnu.org> From: Thovthe Subject: Re: documentation for application developers? Message-ID: <5HK7z2P_xciw0oLfyZTdHJvU9kc83X8O_Z2vgRvY9Xc6E5TjHyqygV6Iehszjt8JbjcOUgN8wjS9NJNVVn6MuR7VfSkHmHSKp_7hpj_EJBE=@protonmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_6ffb9e29501ad61e2b86d7807ef3c5ba" X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40137 X-Mailman-Approved-At: Sat, 02 May 2020 22:26:57 -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: , Reply-To: Thovthe Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --b1_6ffb9e29501ad61e2b86d7807ef3c5ba Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 SGkgQnJ1bm8sCgpIYXZlIHlvdSBsb29rZWQgYXQgdGhlIHBhY2thZ2luZyBkb2N1bWVudGF0aW9u IGluIHNlY3Rpb24gNi4xIGFuZAo2LjI/ICBJIGp1c3QgcGFja2FnZWQgUURpclN0YXQgYW5kIGFs bCBJIGhhZCB0byBkbyB3YXMKd3JpdGUvbW9kaWZ5IGEgcGFja2FnZSBkZWZpbml0aW9uIGZvciBp dCB0aGVuIGJ1aWxkIHRoYXQgd2l0aApgZ3VpeCBidWlsZGAuICBJZiB5b3UncmUgbG9va2luZyBm b3IgbW9yZSBzeW5jaHJvbm91cyBoZWxwIHlvdQpjb3VsZCBqb2luIHRoZSBJUkMgb3IgbWF0cml4 IHJvb21zLg== --b1_6ffb9e29501ad61e2b86d7807ef3c5ba Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 PGRpdj5IaSBCcnVubyw8YnI+PC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5IYXZlIHlvdSBsb29r ZWQgYXQgdGhlIHBhY2thZ2luZyBkb2N1bWVudGF0aW9uIGluIHNlY3Rpb24gNi4xIGFuZDxicj48 L2Rpdj48ZGl2PjYuMj8mbmJzcDsgSSBqdXN0IHBhY2thZ2VkIFFEaXJTdGF0IGFuZCBhbGwgSSBo YWQgdG8gZG8gd2FzPGJyPjwvZGl2PjxkaXY+d3JpdGUvbW9kaWZ5IGEgcGFja2FnZSBkZWZpbml0 aW9uIGZvciBpdCB0aGVuIGJ1aWxkIHRoYXQgd2l0aDxicj48L2Rpdj48ZGl2PmBndWl4IGJ1aWxk YC4mbmJzcDsgSWYgeW91J3JlIGxvb2tpbmcgZm9yIG1vcmUgc3luY2hyb25vdXMgaGVscCB5b3U8 YnI+PC9kaXY+PGRpdj5jb3VsZCBqb2luIHRoZSBJUkMgb3IgbWF0cml4IHJvb21zLjxicj48L2Rp dj48ZGl2Pjxicj48L2Rpdj48ZGl2IGNsYXNzPSJwcm90b25tYWlsX3NpZ25hdHVyZV9ibG9jayI+ PGRpdiBjbGFzcz0icHJvdG9ubWFpbF9zaWduYXR1cmVfYmxvY2stdXNlciBwcm90b25tYWlsX3Np Z25hdHVyZV9ibG9jay1lbXB0eSI+PGJyPjwvZGl2PjxkaXYgY2xhc3M9InByb3Rvbm1haWxfc2ln bmF0dXJlX2Jsb2NrLXByb3RvbiI+PGJyPjwvZGl2PjwvZGl2PjxkaXY+PGJyPjwvZGl2Pg== --b1_6ffb9e29501ad61e2b86d7807ef3c5ba-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 03:25:40 2020 Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 07:25:40 +0000 Received: from localhost ([127.0.0.1]:41577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k28NH-0004ls-QR for submit@debbugs.gnu.org; Sun, 02 Aug 2020 03:25:40 -0400 Received: from quimby.gnus.org ([95.216.78.240]:58650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k28NG-0004la-0b for 40137@debbugs.gnu.org; Sun, 02 Aug 2020 03:25:38 -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=w/T89T7dyJboN9r7iR0GAsYxfxPAb3/zLLFCsLal2Ls=; b=jUI6jf89F1h94bBtJ5E5MGt34W lafrPfTyU0NXIjDWcRHeA3AzVsDjcWxyfa51ONJzGHUD3/iHarMltpze75W/rOhqBZvx9C5YS0nDD C1NhhzK6NW16R89yQctbOrszNrYkNnUm2h1lNshk7UwGQ09kcyicgMzxpr/pMwGJt3BM=; 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 1k28N3-0006QD-GJ; Sun, 02 Aug 2020 09:25:30 +0200 From: Lars Ingebrigtsen To: Phil Hagelberg Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration References: <87mu8cb281.fsf@hagelb.org> Date: Sun, 02 Aug 2020 09:25:24 +0200 In-Reply-To: <87mu8cb281.fsf@hagelb.org> (Phil Hagelberg's message of "Thu, 19 Mar 2020 11:59:10 -0700") Message-ID: <87k0yhmrvf.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: Phil Hagelberg writes: > When using ERC, sometimes you need to /ignore users who are annoying > you. Rather than having all ignores persist until you manually un-ignore > them, it would be useful to be able to specify an am [...] 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: 40137 Cc: bandali@gnu.org, 40137@debbugs.gnu.org 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 (-) Phil Hagelberg writes: > When using ERC, sometimes you need to /ignore users who are annoying > you. Rather than having all ignores persist until you manually un-ignore > them, it would be useful to be able to specify an amount of time after > which the ignore would expire on its own. The timeout itself doesn't seem like it'd be too difficult to implement, but I'm not quite sure whether this would actually be useful. What's the use-case? I mean, if a user is annoying, then the user will still be annoying forever? Hm... Anyway, if this were to be implemented, in what format would the timeout be queried for? Perhaps hours? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 10:43:35 2020 Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 14:43:35 +0000 Received: from localhost ([127.0.0.1]:43127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2FD4-00088D-Sq for submit@debbugs.gnu.org; Sun, 02 Aug 2020 10:43:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2FD1-00087y-Dn for 40137@debbugs.gnu.org; Sun, 02 Aug 2020 10:43:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51099) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2FCv-0006nT-80; Sun, 02 Aug 2020 10:43:25 -0400 Received: from [2607:fea8:3fdf:f688::2] (port=60566 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2FCu-0005LK-Uy; Sun, 02 Aug 2020 10:43:25 -0400 From: Amin Bandali To: Lars Ingebrigtsen Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration Organization: GNU References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> Date: Sun, 02 Aug 2020 10:43:23 -0400 In-Reply-To: <87k0yhmrvf.fsf@gnus.org> Message-ID: <874kpl152s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40137 Cc: 40137@debbugs.gnu.org, Phil Hagelberg 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 (---) --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > Phil Hagelberg writes: > >> When using ERC, sometimes you need to /ignore users who are annoying >> you. Rather than having all ignores persist until you manually un-ignore >> them, it would be useful to be able to specify an amount of time after >> which the ignore would expire on its own. > > The timeout itself doesn't seem like it'd be too difficult to implement, > but I'm not quite sure whether this would actually be useful. What's > the use-case? I mean, if a user is annoying, then the user will still > be annoying forever? Hm... > I'd personally use this feature if it were available. Some people are not /always/ annoying, just /sometimes/. :-) > > Anyway, if this were to be implemented, in what format would the > timeout be queried for? Perhaps hours? Irssi seems to use seconds [0]. But I think minutes would be a nice compromise between seconds and hours. Though, ideally, we'd be able to parse relative time strings like "+1h", "+3d", "+2w", and so on. [0]: Do you know if Emacs has functions for parsing such time formats outside Org? This seems like one of many situations they would come in handy. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl8m0QsQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8vmeD/9e75czxuKpYIpDe9RRgj7vjHe0CyeYF+gL 9g2EinE+3TmuJVz/4+hLeGmgBJXYRFQmSF5cNsFsGI+JMB0351KszG/MeKY4/S2E bv+7xuUpM/VsBY/Z27Tsy8+s/PN9QI9dbs1eva6Chf1nueG7A0Dt7Wtj7xzffopj 8TPCr4CbMloVZ44e47QOFXOfYIrEvOe4d3W4SszrX/M4zOC+vFsOiVMgARpxiWYd ZbOfbsM92+S+t/qWppg6K5A7DgJmfuSroDR3C23t0DcwbO9Ll4MkcGOUBFIOtkqh 7rHBj+eec8WicltSnsatc0T/HOKhSh1MqfpGjODjtKpnIApW6F7er5+hyu3qJyYO bwprmkwnLl+ChmXmaiJGMJlyd0qEMCsREMFfWBFXHlvE1mAFrfsKlANuuxPsV4xQ P1ZR2xIY4UHUeSDCZk/cWcrhLbb6XgQdMhktWg5RL8v/wgiZaW49gQ2ZrFyM/r6H eP2yyMsiGLfcbVTtc/sgoFJQicrjgCEkjxculaGmCruABVfkBSvQOXOdv0qV9t5v UoiXyj80lj/ZQ5s8xEIqjhp72jqhLFXTampQz0ANzegmkmUYAzBpKcyVPcxuN0lh GL608K9GRlbKg7IMOCfCjUKPjzdEWOBouLBf/eS/dOCb0rEP5+sdmvbiiHcsi8x6 ZftC2CyPQw== =REa+ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 13:07:37 2020 Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 17:07:37 +0000 Received: from localhost ([127.0.0.1]:43295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2HST-0005Ib-Iy for submit@debbugs.gnu.org; Sun, 02 Aug 2020 13:07:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:35396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2HSR-0005IM-3O for 40137@debbugs.gnu.org; Sun, 02 Aug 2020 13:07:36 -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=4bHIjvjwJv0g/hiO9N4ueDrdcHI/SNmH9xbQcirSJxg=; b=A+9kt3t7kxQyvr3Pa2pOYIPrU+ t+ze4F7hPvVz7bFnBY7zzdiaJcATkBnBeOHfFVji9mHfSVA3RN8ui0YKeOu64RxGXNfliQXlIjaGn HZVsoNwc8KDwau1sp7Jjhe9mBIRFZw+hc549PSIgHJLCRlk742qp1agHMdiKflmmxE4U=; 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 1k2HSD-00045E-NB; Sun, 02 Aug 2020 19:07:28 +0200 From: Lars Ingebrigtsen To: Amin Bandali Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> <874kpl152s.fsf@gnu.org> Date: Sun, 02 Aug 2020 19:07:20 +0200 In-Reply-To: <874kpl152s.fsf@gnu.org> (Amin Bandali's message of "Sun, 02 Aug 2020 10:43:23 -0400") Message-ID: <87k0yhgenr.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: Amin Bandali writes: >> Anyway, if this were to be implemented, in what format would the >> timeout be queried for? Perhaps hours? > > Irssi seems to use seconds [0]. But I think minutes would be a nice > compromise betwe [...] 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: 40137 Cc: 40137@debbugs.gnu.org, Phil Hagelberg 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 (-) Amin Bandali writes: >> Anyway, if this were to be implemented, in what format would the >> timeout be queried for? Perhaps hours? > > Irssi seems to use seconds [0]. But I think minutes would be a nice > compromise between seconds and hours. Though, ideally, we'd be able to > parse relative time strings like "+1h", "+3d", "+2w", and so on. > > [0]: > > Do you know if Emacs has functions for parsing such time formats outside > Org? This seems like one of many situations they would come in handy. Yeah, that would be handy... I think. Or perhaps not -- asking people to learn a new "language" to just set a timeout is perhaps not ideal... Anyway, I think hours would make sense -- it's a human-scale unit. If people want a quarter hour, they can just say 0.15. Inputting seconds sounds kinda ... excessively precise. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 14:16:15 2020 Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 18:16:15 +0000 Received: from localhost ([127.0.0.1]:43384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2IWs-0005XI-VV for submit@debbugs.gnu.org; Sun, 02 Aug 2020 14:16:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2IWq-0005X1-D8 for 40137@debbugs.gnu.org; Sun, 02 Aug 2020 14:16:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53953) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2IWl-0001wi-16; Sun, 02 Aug 2020 14:16:07 -0400 Received: from [2607:fea8:3fdf:f688::2] (port=33306 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k2IWk-0004oI-Ii; Sun, 02 Aug 2020 14:16:06 -0400 From: Amin Bandali To: Lars Ingebrigtsen Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration Organization: GNU References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> <874kpl152s.fsf@gnu.org> <87k0yhgenr.fsf@gnus.org> Date: Sun, 02 Aug 2020 14:16:04 -0400 In-Reply-To: <87k0yhgenr.fsf@gnus.org> Message-ID: <87a6zczzff.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 40137 Cc: 40137@debbugs.gnu.org, Phil Hagelberg 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 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Amin Bandali writes: > >>> Anyway, if this were to be implemented, in what format would the >>> timeout be queried for? Perhaps hours? >> >> Irssi seems to use seconds [0]. But I think minutes would be a nice >> compromise between seconds and hours. Though, ideally, we'd be able to >> parse relative time strings like "+1h", "+3d", "+2w", and so on. >> >> [0]: >> >> Do you know if Emacs has functions for parsing such time formats outside >> Org? This seems like one of many situations they would come in handy. > > Yeah, that would be handy... I think. Or perhaps not -- asking people > to learn a new "language" to just set a timeout is perhaps not ideal... > Would it really be that big of a burden? I'd imagine 10m, 2h, ... to be familiar/intuitive enough for most users, especially those with an Org background. Further, to alleviate this, we would set a default unit for when none is provided (e.g. take 10 to mean 10m). > > Anyway, I think hours would make sense -- it's a human-scale unit. If > people want a quarter hour, they can just say 0.15. Inputting seconds > sounds kinda ... excessively precise.=20 Agreed on seconds being excessive, but I would probably prefer minutes over hours. Anyhow, if anyone knows functions for parsing relative dates/times, I'd appreciate it if you could point them out to me. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEEObM8jZRIDS3cwqSYi0Sgzce5VvIFAl8nAuQQHGJhbmRhbGlA Z251Lm9yZwAKCRCLRKDNx7lW8llGD/wMM20Hoef3BYngs7WOZN+segax2GNn52JG soM5hX7U3v+4y4SOKQn5qCHcs4ahMrb5poyC6YJS5H5keByUIpGtesjJhhiB3WPE yC++w1k9na7VnfAdbSMsyHoh/pnJiDVj2fSS+xHdiQpfiEJd2+aOO33dwvjepHQh RvyHoafRxEZpfzbq2N9tlrBciEyBszHcyqsVNG6IbAkn6YdHjLUPnZBZj0YqEb+W 76zHfYAl0QuKR10FLdCsC1nkiL0glzdHCiGF2ftA8qy7+gwE0nsURSOiAJtyjkkw cGOvXRAr21YG+Mrro9E455YAVGbEmOSblXuSJ5cXJ8p8JqJkJcN9AFTqP8cGpUa5 u9AVAWvt49IDP4Oo0kLdBmraQpsNKjhnmOFTYKNJgPh1BFACDuF5lj9km8VSCome eTpWKRuZobWO+tHsseKHMdQYuFQO5bVVoxyHCcPXxRJvt/7/rFXWtcVmVplc95Pu GAmfajFQ35R6tRDYDv0iTdkMsHIyxIW8Y8CR0+6BH4GBuslaXBO2a6OIJuF3k/eg kEKdCyI8c6mErIbUqydHpPjEo1VfwxF08d0OYe0NMbpe0TBkR1bXlBm6YWX4ZPYR EOJDF9KwXxfuOn0KcolOK+56/vhLHeku2f2748nN3DJu6sFDncBnRn/yPFOFOjTc RVI0ceGPWA== =YN/B -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 14:31:23 2020 Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 18:31:23 +0000 Received: from localhost ([127.0.0.1]:43405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2IlX-000798-1P for submit@debbugs.gnu.org; Sun, 02 Aug 2020 14:31:23 -0400 Received: from quimby.gnus.org ([95.216.78.240]:36096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2IlV-00074B-Pc for 40137@debbugs.gnu.org; Sun, 02 Aug 2020 14:31:22 -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=muP3OBWkCc6x05KKGKsYHC0i5tGrsovvsiBV3TUGwVY=; b=gjLIsATGupmZ2LlTYKpK2hIrq9 rkwZFxYcCnog+jvmGK/wpftibIXj/fL0pFATF1WmfIYhfG5gqQf6Lp58XfTHIrExJBNnbVPTXgPny b8MCJRwkt2ry6ddAb2jYbl0F3oPSZyUks7KMi7sc//Nee0BUGmVcEvPnDsR80sJcNF2U=; 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 1k2IlL-0004mQ-NQ; Sun, 02 Aug 2020 20:31:15 +0200 From: Lars Ingebrigtsen To: Amin Bandali Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> <874kpl152s.fsf@gnu.org> <87k0yhgenr.fsf@gnus.org> <87a6zczzff.fsf@gnu.org> Date: Sun, 02 Aug 2020 20:31:10 +0200 In-Reply-To: <87a6zczzff.fsf@gnu.org> (Amin Bandali's message of "Sun, 02 Aug 2020 14:16:04 -0400") Message-ID: <878sewgas1.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: Amin Bandali writes: > Anyhow, if anyone knows functions for parsing relative dates/times, I'd > appreciate it if you could point them out to me. Looks like org-element-timestamp-parser is the org time parser... probably a bit excessive. :-) 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: 40137 Cc: 40137@debbugs.gnu.org, Phil Hagelberg 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 (-) Amin Bandali writes: > Anyhow, if anyone knows functions for parsing relative dates/times, I'd > appreciate it if you could point them out to me. Looks like org-element-timestamp-parser is the org time parser... probably a bit excessive. :-) We'd want to parse stuff like 1m3d, right? Which is awfully like what iso8601-parse-duration accepts: (iso8601-parse-duration "P3Y6M4DT12H30M5S") => (5 30 12 4 6 3 nil -1 nil) (iso8601-parse-duration "P3W") => (nil nil nil 21 nil nil nil -1 nil) So just upcase and add a P to the start and we're there. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 04:31:57 2020 Received: (at 40137) by debbugs.gnu.org; 5 Aug 2020 08:31:57 +0000 Received: from localhost ([127.0.0.1]:49665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Eq4-0001R8-Sc for submit@debbugs.gnu.org; Wed, 05 Aug 2020 04:31:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Eq1-0001Qq-Q6 for 40137@debbugs.gnu.org; Wed, 05 Aug 2020 04:31:55 -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=CrgtlZ5+oeIb4nwFgbSYUJEpCp5xF/FyO7P8nYq1gZc=; b=aKOsoyaVrYEQiv+CqZ7rKgBF4A 64jwJe6mKSX26QK9WSEK+FakDAognlwxn/hXjXkJ1SjXvr9uY9WIIUqcaIvabZbFzcV//IBmUfJ+E l6Gz2XQtgnf/gQQPFToMQP1apN93TFKJ2XQY+b50xe0HAYUmSC0yC57UopuGYPRXAu2A=; 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 1k3Epq-0002Tk-Sd; Wed, 05 Aug 2020 10:31:46 +0200 From: Lars Ingebrigtsen To: Amin Bandali Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> <874kpl152s.fsf@gnu.org> <87k0yhgenr.fsf@gnus.org> <87a6zczzff.fsf@gnu.org> <878sewgas1.fsf@gnus.org> Date: Wed, 05 Aug 2020 10:31:41 +0200 In-Reply-To: <878sewgas1.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 02 Aug 2020 20:31:10 +0200") Message-ID: <87a6z9fq8i.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: Lars Ingebrigtsen writes: > So just upcase and add a P to the start and we're there. :-) It was a bit more work, and time specs are ambiguous (1m means a month or a minute?), but I've now implemented this. 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: 40137 Cc: 40137@debbugs.gnu.org, Phil Hagelberg 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 (-) Lars Ingebrigtsen writes: > So just upcase and add a P to the start and we're there. :-) It was a bit more work, and time specs are ambiguous (1m means a month or a minute?), but I've now implemented this. The ambiguousness means that this could probably be tweaked a bit, but I made the prompting thing into its own function, and we can more it to a more central location if something else wants to use it. And then tweak further, if necessary. For instance, one may do a DWIM check on the string: 1m4m clearly means 1 month and four minutes and 2d4m means two days and four minutes, while 1y1m is terminally ambiguous. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 04:32:03 2020 Received: (at control) by debbugs.gnu.org; 5 Aug 2020 08:32:03 +0000 Received: from localhost ([127.0.0.1]:49669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3EqB-0001Rp-2q for submit@debbugs.gnu.org; Wed, 05 Aug 2020 04:32:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:37660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Eq9-0001R7-Mt for control@debbugs.gnu.org; Wed, 05 Aug 2020 04:32:02 -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=FinVkNgsOUHMwEL6w8M7bd6Y70KIdJ5dnwA4+QIxvX0=; b=d4QUUFo8wE7L00aI1jWuoUAj59 WCvmHHqm8PcGvz+VR23Kj2HxHX2gkwUpt/soTu8KOykZVp7nTuaNb+Z3NxPypoFUlgGcm8BvIGFIt +CQlaX5F3iDbLjGVpjSXnUp9nXgtM0UtO3bLeFIrsBr1pe4Fa2YMQrW3C5RTH20GuyDI=; 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 1k3Eq1-0002Tu-Kg for control@debbugs.gnu.org; Wed, 05 Aug 2020 10:31:55 +0200 Date: Wed, 05 Aug 2020 10:31:52 +0200 Message-Id: <878setfq87.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40137 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 40137 fixed close 40137 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 40137 fixed close 40137 28.1 quit From unknown Wed Sep 10 09:37:46 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 02 Sep 2020 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator