bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#73538: [PATCH] Add notifications support to 'mpc'


From: john muhl
Subject: bug#73538: [PATCH] Add notifications support to 'mpc'
Date: Sun, 13 Oct 2024 23:04:22 -0500
User-agent: mu4e 1.12.1; emacs 31.0.50

Michael Albinus <michael.albinus@gmx.de> writes:

> john muhl <jm@pub.pink> writes:
>
> Hi John,
>
>> Well there are erc-notifications-notify, gnus-notifications-notify
>> and org-show-notifications but none of those seemed appropriate
>> for reuse by mpc.
>
> There is alert.el in MELPA, and some other packages which use
> it. Perhaps it could help?
>
> --8<---------------cut here---------------start------------->8---
> /home/albinus/.emacs.d/elpa/archives/melpa/elpa-packages.eld
>   96:  (alert :url "https://github.com/jwiegley/alert.git";)
>   97:  (alert-termux :url 
> "https://github.com/gergelypolonkai/alert-termux.git";)
>   99:  (alert-toast :url "https://github.com/gkowzan/alert-toast.git";)
> 3294:  (mu4e-alert :url "https://github.com/xzz53/mu4e-alert.git";)
> 3600:  (org-alert :url "https://github.com/spegoraro/org-alert.git";)
> 4312:  (rcirc-alert :url "https://github.com/csantosb/rcirc-alert.git";)
> 4314:  (rcirc-alertify :url "https://github.com/fgallina/rcirc-alertify.git";)
> 4954:  (term-alert :url "https://github.com/calliecameron/term-alert.git";)
> 5310:  (weechat-alert :url "https://github.com/Kungi/weechat-alert.git";)
> --8<---------------cut here---------------end--------------->8---
>
> Yes, I would like to see alert.el in GNU ELPA.

It looks like it was proposed for inclusion a few times over the
years but never got past the copyright assignment stage. Maybe a
dedicated bug report for that would get more attention than this
one.

>> Rather than add a fourth implementation I removed support for
>> everything except DBus. I’ll try to work up a patch for
>> notifications.el that could be used in erc, gnus, org and mpc then
>> we can revisit support for the rest. Does that sound OK or do you
>> have another idea?
>
> Perhaps they could be changed to use alert.el instead?

I didn’t look closely (at alert or what erc, &c. are doing) but I
guess it could be made to work for all these cases. It’ll need
some patches to support Android, Haiku and Windows but that should
be fairly trivial I think.

Should we table this patch until alert is integrated with Emacs?

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]