all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amin Bandali <bandali@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 40137@debbugs.gnu.org, Phil Hagelberg <phil@hagelb.org>
Subject: bug#40137: 25.1; ERC ignore function should allow specifying a limited duration
Date: Sun, 02 Aug 2020 10:43:23 -0400	[thread overview]
Message-ID: <874kpl152s.fsf@gnu.org> (raw)
In-Reply-To: <87k0yhmrvf.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Phil Hagelberg <phil@hagelb.org> 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]: <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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 857 bytes --]

  reply	other threads:[~2020-08-02 14:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-19 18:59 bug#40137: 25.1; ERC ignore function should allow specifying a limited duration Phil Hagelberg
2020-05-03  1:00 ` bug#40137: documentation for application developers? Thovthe via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-08-02  7:25 ` bug#40137: 25.1; ERC ignore function should allow specifying a limited duration Lars Ingebrigtsen
2020-08-02 14:43   ` Amin Bandali [this message]
2020-08-02 17:07     ` Lars Ingebrigtsen
2020-08-02 18:16       ` Amin Bandali
2020-08-02 18:31         ` Lars Ingebrigtsen
2020-08-05  8:31           ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kpl152s.fsf@gnu.org \
    --to=bandali@gnu.org \
    --cc=40137@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=phil@hagelb.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.