diff options
| author | Stéphane Marks | 2025-11-20 12:54:40 -0500 |
|---|---|---|
| committer | Michael Albinus | 2025-12-21 12:55:10 +0100 |
| commit | f5f2306fc1d4370730fdcdd91c8acdf0d7930487 (patch) | |
| tree | 01f1ed23cf987c424dc3eb54948a19deef7ee81b /admin/notes | |
| parent | 28a2a7d811a9d99de7103a3be4e1dd3e3a59c813 (diff) | |
| download | emacs-f5f2306fc1d4370730fdcdd91c8acdf0d7930487.tar.gz emacs-f5f2306fc1d4370730fdcdd91c8acdf0d7930487.zip | |
System GUI taskbar and progress reporter hooks (bug#79859)
Implement system GUI taskbar/dock/launcher icon badge, icon
progress indicator, icon attention alert features for D-Bus
platforms (tested on KDE and GNOME), NS (macOS/GNUstep),
MS-Windows.
Add 'progress-reporter-update-functions' abnormal hook to facilitate
taskbar progress display, and other custom progress reporters.
The default function list is 'progress-reporter-echo-area' which
is backward compatible.
* lisp/subr.el (progress-reporter-update-functions):
New defvar.
(progress-reporter-echo-area): New defun.
(progress-reporter-do-update): Run
progress-reporter-update-functions for both numerical and
pulsing reporters.
(progress-reporter-done): Run progress-reporter-done-functions.
* lisp/system-taskbar.el: New file.
* src/nsfns.m (Fns_badge, Fns_progress_indicator)
(Fns_request_user_attention): New function.
(syms_of_nsfns): Add defsubr Sns_badge,
Sns_request_user_attention, Sns_progress_indicator. Add DEFSYM
Qinformational, Qcritical.
* src/w32fns.c (rgb_list_to_colorref, Fw32_badge)
(Fw32_request_user_attention, Fw32_progress_indicator): New
function.
(syms_of_w32fns): Add defsubr Sw32_badge,
Sw32_progress_indicator, Sw32_request_user_attention. Add DEFSYM
Qinformational, Qcritical.
* doc/emacs/frames.texi: User documentation.
* doc/lispref/os.texi: Programmer documentation.
* etc/NEWS: Announce system-taskbar-mode. Announce progress
reporter callback enhancements.
Diffstat (limited to 'admin/notes')
0 files changed, 0 insertions, 0 deletions