]> git.eshelyaron.com Git - emacs.git/commit
Port more notification senders to non-XDG systems
authorPo Lu <luangruo@yahoo.com>
Wed, 13 Mar 2024 02:59:39 +0000 (10:59 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 15 Mar 2024 08:58:52 +0000 (09:58 +0100)
commit3cad09197fbdea3188d7c819b126417417b8f00c
tree7a2cb905d197503d09eb5740317403551b73b585
parenta674ec92032bb6678169d5462ca645e8e69f6fcf
Port more notification senders to non-XDG systems

* doc/lispref/os.texi (Desktop Notifications): Document that
`:timeout' is now implemented.

* java/org/gnu/emacs/EmacsDesktopNotification.java
(EmacsDesktopNotification): New field delay.
(display1): Set delay on Android 8.0 and up.

* lisp/erc/erc-desktop-notifications.el
(erc-notifications-notify): Call Android or Haiku notification
functions on those systems.

* lisp/gnus/gnus-notifications.el (gnus-notifications-action)
(gnus-notification-close): Remove dismissed notifications from
the notification to message map.
(gnus-notifications-notify): Call android-notifications-notify
if possible.

* src/androidselect.c (android_init_emacs_desktop_notification):
Update accordingly.
(android_notifications_notify_1): New argument TIMEOUT.
(Fandroid_notifications_notify): New argument QCtimeout.
(syms_of_androidselect) <QCtimeout>: New symbol.

(cherry picked from commit 6b40d557c4a9a4152565c1a1b0da49a1aaaec84f)
doc/lispref/os.texi
java/org/gnu/emacs/EmacsDesktopNotification.java
lisp/erc/erc-desktop-notifications.el
lisp/gnus/gnus-notifications.el
src/androidselect.c