[Emacs] Polling script timing issue in macOS 26

Subject: [Emacs] Polling script timing issue in macOS 26

Date: Fri, 21 Nov 2025 15:48:39 +0100

To: notmuch@notmuchmail.org

Cc:

From: Alexander Adolf


Hello,

I have recently upgraded to macOS 26. This has caused the "Polling
mail..." message to no longer be displayed. Only the "Polling
mail...done" appears in the minibuffer.

I have tried Emacs commits as far as about a year back, and they all
show this behaviour. Hence, I think that the most likely cause is some
under-the-hood change in macOS 26.

When I insert a call that causes Emacs to do dispatching immediately
after the poll start message, then things work as excepted again:

---------------------------- Begin Quote -----------------------------
(defun notmuch-poll ()
  ...
  (message "Polling mail...")
  (sit-for 0.01)
  ...
----------------------------- End Quote ------------------------------

It's a kludge, and I do _NOT_ suggest this to be included into
notmuch-lib.el.

I thought I'd share my observations about a likely cause still, though,
as the same observation may be made and reported by others, too.


Hoping to have helped,

  --alexander
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: