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


View this message in rfc822 format

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: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration
Date: Sun, 02 Aug 2020 19:07:20 +0200
Amin Bandali <bandali <at> gnu.org> 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]: <https://irssi.org/documentation/help/ignore/>
>
> 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




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.