Skip to content

Stop repeating unsupported extension UI warnings#202

Merged
dnouri merged 1 commit into
masterfrom
dedupe-extension-ui-warnings
May 6, 2026
Merged

Stop repeating unsupported extension UI warnings#202
dnouri merged 1 commit into
masterfrom
dedupe-extension-ui-warnings

Conversation

@dnouri
Copy link
Copy Markdown
Owner

@dnouri dnouri commented May 5, 2026

A pi extension may send the same widget update many times while it is doing ordinary work. Emacs still cannot render that widget, and the user should still be told that once; telling them on every update only makes the minibuffer unusable.

Remember which unsupported extension UI methods have already been reported for the current pi session, and forget that record when the session changes. Fire-and-forget UI requests such as setWidget and setTitle are not answered with fake cancellations; unknown or dialog-like requests still get cancellation responses so extensions do not hang.

A pi extension may send the same widget update many times while it is doing ordinary work. Emacs still cannot render that widget, and the user should still be told that once; telling them on every update only makes the minibuffer unusable.

Remember which unsupported extension UI methods have already been reported for the current pi session, and forget that record when the session changes. Fire-and-forget UI requests such as setWidget and setTitle are not answered with fake cancellations; unknown or dialog-like requests still get cancellation responses so extensions do not hang.
@dnouri dnouri merged commit 6380ddd into master May 6, 2026
11 checks passed
@dnouri dnouri deleted the dedupe-extension-ui-warnings branch May 6, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant