diff options
| author | Po Lu | 2023-08-17 08:34:32 +0000 |
|---|---|---|
| committer | Po Lu | 2023-08-17 08:34:32 +0000 |
| commit | 5856ea5e4e897f4cb5cd1c3c28d14b335fe5cf54 (patch) | |
| tree | e426f160e0f5480d93abad7844198eb8fb8fc79a /etc | |
| parent | c1a45041d66fc479f9b7b94475236d1c2d5001fe (diff) | |
| download | emacs-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/NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -784,6 +784,12 @@ See the "(elisp) Porting Old Advice" node for help converting them | |||
| 784 | to use 'advice-add' or 'define-advice' instead. | 784 | to use 'advice-add' or 'define-advice' instead. |
| 785 | 785 | ||
| 786 | +++ | 786 | +++ |
| 787 | ** Desktop notifications are now supported on the Haiku operating system. | ||
| 788 | The new function 'haiku-notifications-notify' provides a subset of the | ||
| 789 | capabilities of the 'notifications-notify' function in a manner | ||
| 790 | analogous 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'. |
| 788 | It results in 'insert-file-contents' erasing the buffer instead of | 794 | It results in 'insert-file-contents' erasing the buffer instead of |
| 789 | preserving markers if the file being inserted is not a regular file, | 795 | preserving markers if the file being inserted is not a regular file, |