aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPo Lu2023-08-17 08:34:32 +0000
committerPo Lu2023-08-17 08:34:32 +0000
commit5856ea5e4e897f4cb5cd1c3c28d14b335fe5cf54 (patch)
treee426f160e0f5480d93abad7844198eb8fb8fc79a /etc
parentc1a45041d66fc479f9b7b94475236d1c2d5001fe (diff)
downloademacs-5856ea5e4e897f4cb5cd1c3c28d14b335fe5cf54.tar.gz
emacs-5856ea5e4e897f4cb5cd1c3c28d14b335fe5cf54.zip
Introduce support for Desktop Notifications on Haiku
* doc/lispref/os.texi (Desktop Notifications): Document Haiku desktop notifications. * etc/NEWS: Announce this change. * lisp/org/org-clock.el (haiku-notifications-notify): New declaration. (org-show-notification): Employ that function. * src/haiku_io.c (haiku_len) <NOTIFICATION_CLICK_EVENT>: Return the length for this type of event. * src/haiku_select.cc (my_team_id, be_display_notification): New functions. * src/haiku_support.cc (my_team_id, ArgvReceived): New functions. * src/haiku_support.h (enum haiku_event_type): New event type NOTIFICATION_CLICK_EVENT. (struct haiku_notification_click_event): New structure. * src/haikuselect.c (haiku_notifications_notify_1) (Fhaiku_notifications_notify): New functions. (syms_of_haikuselect): Register new defsubr. * src/haikuterm.c (haiku_read_socket): * src/haikuselect.h: * src/termhooks.h: Add new events for notification clicks on Haiku.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 808b5996729..966d1f8c292 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -784,6 +784,12 @@ See the "(elisp) Porting Old Advice" node for help converting them
784to use 'advice-add' or 'define-advice' instead. 784to use 'advice-add' or 'define-advice' instead.
785 785
786+++ 786+++
787** Desktop notifications are now supported on the Haiku operating system.
788The new function 'haiku-notifications-notify' provides a subset of the
789capabilities of the 'notifications-notify' function in a manner
790analogous to 'w32-notification-notify'.
791
792+++
787** New value 'if-regular' for the REPLACE argument to 'insert-file-contents'. 793** New value 'if-regular' for the REPLACE argument to 'insert-file-contents'.
788It results in 'insert-file-contents' erasing the buffer instead of 794It results in 'insert-file-contents' erasing the buffer instead of
789preserving markers if the file being inserted is not a regular file, 795preserving markers if the file being inserted is not a regular file,