From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Amin Bandali Newsgroups: gmane.emacs.bugs Subject: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration Date: Sun, 02 Aug 2020 10:43:23 -0400 Organization: GNU Message-ID: <874kpl152s.fsf@gnu.org> References: <87mu8cb281.fsf@hagelb.org> <87k0yhmrvf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8028"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 40137@debbugs.gnu.org, Phil Hagelberg To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 02 16:44:25 2020 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 1k2FDt-0001zg-65 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 16:44:25 +0200 Original-Received: from localhost ([::1]:52766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2FDs-0004OS-8j for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 10:44:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2FDW-00044t-DG for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2FDW-0006ot-3u for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2FDW-000896-19 for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Amin Bandali Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40137 X-GNU-PR-Package: emacs Original-Received: via spool by 40137-submit@debbugs.gnu.org id=B40137.159637941531265 (code B ref 40137); Sun, 02 Aug 2020 14:44:01 +0000 Original-Received: (at 40137) by debbugs.gnu.org; 2 Aug 2020 14:43:35 +0000 Original-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 Original-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 Original-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 Original-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 In-Reply-To: <87k0yhmrvf.fsf@gnus.org> 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:183854 Archived-At: --=-=-= 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----- --=-=-=--