Eli Zaretskii writes: [...] > Yes, that's what I meant. > > So we can install your change with the above assertion added, and then > wait for the assertion to trigger and investigate the case(s) where it > triggers to see whether we are missing something. Ok. So, as Po suggested, I did a "make check" with and without the new attached patch and get the same following summary result: SUMMARY OF TEST RESULTS ----------------------- Files examined: 450 Ran 6454 tests, 6340 results as expected, 18 unexpected, 96 skipped 1 files did not contain any tests: src/emacs-module-tests.log 10 files contained unexpected results: src/process-tests.log lisp/wdired-tests.log lisp/vc/vc-tests.log lisp/play/fortune-tests.log lisp/net/nsm-tests.log lisp/gnus/gnus-icalendar-tests.log lisp/epg-tests.log lisp/calendar/icalendar-tests.log lisp/bookmark-tests.log lisp/net/tramp-tests.log Thanks.