GNU bug report logs - #40137
25.1; ERC ignore function should allow specifying a limited duration

Previous Next

Package: emacs;

Reported by: Phil Hagelberg <phil <at> hagelb.org>

Date: Thu, 19 Mar 2020 19:00:02 UTC

Severity: wishlist

Tags: fixed

Found in version 25.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 40137 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Amin Bandali <bandali <at> gnu.org>
Cc: 40137 <at> debbugs.gnu.org, Phil Hagelberg <phil <at> hagelb.org>
Subject: Re: bug#40137: 25.1; ERC ignore function should allow specifying a
 limited duration
Date: Wed, 05 Aug 2020 10:31:41 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> 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




This bug report was last modified 5 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.